응 넥제로 갈아타면 그만이야~ #1

Merged
imnyang merged 2 commits from nextjs into main 2024-11-24 23:59:10 +09:00
34 changed files with 478 additions and 9725 deletions

View file

@ -1,18 +0,0 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}

3
.eslintrc.json Normal file
View file

@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}

54
.gitignore vendored
View file

@ -1,24 +1,40 @@
# Logs
logs
*.log
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# env files (can opt-in for committing if needed)
.env*
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts

View file

@ -1,3 +1,36 @@
# imnyang
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
HelloWorld("print");
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.

BIN
bun.lockb

Binary file not shown.

5
declarations.d.ts vendored
View file

@ -1,5 +0,0 @@
// declarations.d.ts
declare module '*.md' {
const content: string;
export default content;
}

View file

@ -1,13 +0,0 @@
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>imnyang with 💕</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

7
next.config.ts Normal file
View file

@ -0,0 +1,7 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
};
export default nextConfig;

View file

@ -1,53 +1,28 @@
{
"name": "imnyang-new",
"name": "imnyang",
"version": "0.1.0",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build --outDir /var/static/imnyang --emptyOutDir",
"build-test": "tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@fontsource/roboto": "^5.0.14",
"@mui/icons-material": "^5.16.7",
"@mui/lab": "^5.0.0-alpha.173",
"@mui/material": "^5.16.7",
"@mui/styled-engine-sc": "^6.0.0-alpha.18",
"@nextui-org/kbd": "^2.0.33",
"@nextui-org/react": "^2.4.6",
"@tippyjs/react": "^4.2.6",
"framer-motion": "^11.3.21",
"highlight.js": "^11.10.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-draggable": "^4.4.6",
"react-markdown": "^9.0.1",
"react-router-dom": "^6.26.0",
"rehype-highlight": "^7.0.0",
"styled-components": "^6.1.12",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"tippy.js": "^6.3.7"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.2.2",
"vite": "^5.3.4"
},
"trustedDependencies": [
"core-js"
]
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"eslint": "^8",
"eslint-config-next": "15.0.3"
}
}

9126
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +0,0 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
}
}

8
postcss.config.mjs Normal file
View file

@ -0,0 +1,8 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
},
};
export default config;

View file

@ -1,47 +0,0 @@
import Root from './pages/Root';
import Timeline_Page from './pages/Timeline_Page';
import { Route, Routes } from 'react-router-dom';
import { useEffect } from 'react';
function App() {
useEffect(() => {
const keySequence: string[] = [];
const targetSequence = 'furry';
const handleKeyDown = (event: KeyboardEvent) => {
// 단일 키 입력 감지
console.log(`Key: ${event.key} with keycode ${event.keyCode} has been pressed`);
console.log(`KeySquare: ${keySequence.join('')}`);
// 특정 문자열 시퀀스 감지
keySequence.push(event.key);
if (keySequence.length > targetSequence.length) {
keySequence.shift();
}
if (keySequence.join('') === targetSequence) {
console.log('Furry sequence detected!');
const random = Math.random();
if (random < 0.1) {
document.location.href = `https://wh64.net?from=imnyang_root_${(Math.random() + 1).toString(36).substring(7)}page`;
} else {
document.location.href = `https://ny64.kr`;
}
}
};
document.addEventListener('keydown', handleKeyDown);
return () => {
document.removeEventListener('keydown', handleKeyDown);
};
}, []);
return (
<>
<Routes>
<Route path="/" Component={Root} />
<Route path="/timeline" Component={Timeline_Page} />
</Routes>
</>
);
}
export default App;

View file

@ -1,7 +1,6 @@
//import { Link } from 'react-router-dom';
const events = [
{ date: '2024-12-07', description: '??? ???? ?? ?? ??? ?? (??: ????)', link: 'https://ncf.or.kr/' },
{ date: '2024-12-07', description: '??? ???? ?? ? ??', link: 'https://ncf.or.kr/' },
{ date: '2024-12-07', description: '??? ???? ?? ?? ??', link: 'https://ncf.or.kr/' },
{ date: '2024-08-18', description: '29회 해킹캠프 CTF 1위 (고민중독)', link: 'https://ctf.hackingcamp.org/' },
{ date: '2024-08-05', description: '29회 해킹캠프 선발', link: 'https://hackingcamp.org/' },
{ date: '2024-08-01', description: '글로벌 스타트업 학교 2기 베트남 해외 연수 데모데이 대상 (1위)', link: 'http://ncf.or.kr' },
@ -46,4 +45,4 @@ export default function Timeline() {
))}
</div>
);
}
}

View file

@ -1,3 +1,4 @@
"use client"
import { useEffect, useState } from "react";
export default function Repos() {

BIN
src/app/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

BIN
src/app/fonts/GeistVF.woff Normal file

Binary file not shown.

View file

@ -8,20 +8,33 @@
font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow-x: hidden;
}
body {
color: rgba(255, 255, 255, 0.87);
background-color: #41444B;
background-color: #262225;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: flex;
min-height: 100vh;
}
#__next {
flex: 1;
display: flex;
flex-direction: column;
width: 100%;
}
a {
@ -29,22 +42,11 @@ a {
color: #ffe7fb;
text-decoration: inherit;
}
a:hover {
color: #ffe7fb;
}
body {
margin: 0;
padding: 0;
width: 100vw;
min-height: 100vh;
display: flex;
flex-direction: row;
color: white;
background-color: #373236;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
@ -61,27 +63,24 @@ button {
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #ffe7fb;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
/* from reset */
/* Scrollbar Styles */
::-webkit-scrollbar {
width: 10px;
height: 11px;
}
::-webkit-scrollbar-track {
background: 0 0;
}
.list:not(.dark)::-webkit-scrollbar-track {
background: rgb(55, 56, 62);
background: transparent;
}
::-webkit-scrollbar-thumb {
@ -90,41 +89,6 @@ button:focus-visible {
border-radius: 8px;
}
.list:not(.dark)::-webkit-scrollbar-thumb {
border: 5px solid rgb(55, 56, 62);
}
::-webkit-scrollbar-thumb:hover {
background: rgb(155, 156, 157);
}
::-webkit-scrollbar:not(.highlighttable, .highlight table, .gist .highlight) {
background: rgb(29, 30, 32);
}
/* from post-single */
.post-content .highlighttable td .highlight pre code::-webkit-scrollbar {
display: none;
}
.post-content :not(table) ::-webkit-scrollbar-thumb {
border: 2px solid var(--hljs-bg);
background: rgb(113, 113, 117);
}
.post-content :not(table) ::-webkit-scrollbar-thumb:hover {
background: rgb(163, 163, 165);
}
.gist table::-webkit-scrollbar-thumb {
border: 2px solid rgb(255, 255, 255);
background: rgb(173, 173, 173);
}
.gist table::-webkit-scrollbar-thumb:hover {
background: rgb(112, 112, 112);
}
.post-content table::-webkit-scrollbar-thumb {
border-width: 2px;
}
}

View file

@ -1,25 +1,49 @@
.App {
width: 100vw;
height: 100vh;
min-height: 100vh;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-direction: column;
align-items: stretch;
background-color: #262225;
color: black;
}
.container {
width: 100%;
height: 100%;
flex: 1;
display: flex;
flex-direction: row;
width: 100vw;
min-width: 100vw;
height: 100%;
}
.left {
width: 40%;
min-height: 100vh;
background-color: #373236;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
border-top-right-radius: 25px;
border-bottom-right-radius: 25px;
}
.right {
flex: 1;
min-height: 100vh;
display: flex;
flex-direction: column;
padding: 2rem;
align-items: center;
justify-content: center;
}
.profile {
border-radius: 100%;
width: 256px;
height: 256px;
object-fit: cover;
}
.profile:hover {
@ -35,51 +59,19 @@
}
}
.left {
width: 40%;
height: 100%;
background-color: #373236;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-top-right-radius: 25px;
border-bottom-right-radius: 25px;
}
.right {
width: 60%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #262225;
}
@media screen and (max-width: 768px) {
.App {
display: flex;
flex-direction: column;
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.left {
width: 100%;
height: 70%;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
min-height: auto;
border-radius: 0;
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
}
.right {
width: 100%;
height: 30%;
min-height: auto !important;
}
}
}

41
src/app/layout.tsx Normal file
View file

@ -0,0 +1,41 @@
import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";
const geistSans = localFont({
src: "./fonts/GeistVF.woff",
variable: "--font-geist-sans",
weight: "100 900",
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
weight: "100 900",
});
export const metadata: Metadata = {
title: "imnyang",
description: "imnyang's portfolio",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<head>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
/>
</head>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html>
);
}

208
src/app/page.tsx Normal file
View file

@ -0,0 +1,208 @@
'use client';
import { useEffect, useState, forwardRef } from "react";
import { useSearchParams } from "next/navigation";
import Link from "next/link";
import Image from "next/image";
import Repos from "./components/repos";
import Tippy from "@tippyjs/react";
import "tippy.js/dist/tippy.css";
import "./index.css";
interface TippyWrapperProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
children: React.ReactNode;
}
const TippyWrapper = forwardRef<HTMLAnchorElement, TippyWrapperProps>((props, ref) => (
<a {...props} ref={ref} />
));
TippyWrapper.displayName = 'TippyWrapper';
export default function Home() {
const searchParams = useSearchParams();
const [imageSrc, setImageSrc] = useState(
"https://f.imnyang.xyz/profile/imnyang.webp",
);
const [gotoHref, setGotoHref] = useState("/");
const [isMobile, setIsMobile] = useState(false);
useEffect(() => {
setIsMobile(window.innerWidth <= 768);
const handleResize = () => {
setIsMobile(window.innerWidth <= 768);
};
window.addEventListener('resize', handleResize);
return () => window.removeEventListener('resize', handleResize);
}, []);
useEffect(() => {
if (searchParams.has("kawaii")) {
setImageSrc("https://f.imnyang.xyz/profile/hatchu_imnyang.webp");
setGotoHref("/");
} else {
setImageSrc("https://f.imnyang.xyz/profile/imnyang.webp");
setGotoHref("/?kawaii");
}
if (searchParams.has("no_hair") && searchParams.has("no_ear")) {
setImageSrc("https://f.imnyang.xyz/profile/no_ear_no_long_hair.png");
} else if (searchParams.has("no_ear")) {
setImageSrc("https://f.imnyang.xyz/profile/no_ear.png");
} else if (searchParams.has("no_hair")) {
setImageSrc("https://f.imnyang.xyz/profile/no_hair.avif");
}
if (searchParams.has("fast")) {
const style = document.createElement("style");
style.innerHTML = `
.profile:hover {
animation: rotate 1ms linear infinite;
}
`;
document.head.appendChild(style);
}
}, [searchParams]);
interface SocialLinkProps {
href: string;
icon: string;
tooltip: string;
}
const SocialLink = ({ href, icon, tooltip }: SocialLinkProps) => (
<Tippy content={tooltip} placement="bottom">
<TippyWrapper
href={href}
style={{
color: "#b2a1af",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
<i className={icon} style={{ fontSize: "24px" }} />
</TippyWrapper>
</Tippy>
);
return (
<div className="App">
<div className="container">
<div className="left">
<p style={{ color: "transparent" }}>/?no_hair</p>
{/* /?no_ear */}
<Image
src={imageSrc}
width={256}
height={256}
className="profile"
alt="Profile"
priority
/>
<h1
style={{
color: "#ffe7fb",
fontSize: 60,
margin: 0,
fontWeight: "700",
}}
>
<Link
style={{
color: "#ffe7fb",
fontSize: 60,
margin: 0,
fontWeight: "700"
}}
href={gotoHref}
>
hyun._.suk
</Link>
</h1>
<div className="mt-5" style={{ color: "white" }}>
<div style={{ textAlign: "left" }}>
<div
style={{
display: "flex",
flexDirection: "row",
gap: 25,
alignItems: "center",
justifyContent: "center",
}}
>
{isMobile && (
<SocialLink
href="supertoss://send?bank=토스뱅크&accountNo=100079352039&origin=qr"
icon="fa-solid fa-circle-dollar-to-slot"
tooltip="Toss"
/>
)}
<SocialLink
href="https://github.com/imnyang"
icon="fa-brands fa-github"
tooltip="Github"
/>
<SocialLink
href="mailto:me@imnyang.xyz"
icon="fa-solid fa-at"
tooltip="Mail"
/>
<SocialLink
href="https://instagram.com/not.furry_"
icon="fa-brands fa-instagram"
tooltip="Instagram"
/>
<SocialLink
href="https://x.com/mahiro_me"
icon="fa-brands fa-x-twitter"
tooltip="X"
/>
</div>
<br />
🖥 Software Engineer
<br />
🎨 Team. <a href="https://sqlare.com">Sqlare</a>
<br />
<br />
📚 Middle School Student in South Korea
<br />
<br />
<span style={{ color: "transparent" }}>Enter Furry.</span>
</div>
</div>
</div>
<div className="right">
<div style={{ display: "flex", flexDirection: "row", gap: 25 }}>
<a href="https://github.com/imnyang">
<i
className="fa-brands fa-github"
style={{ color: "white", paddingRight: 8 }}
/>
<Repos /> Repos
</a>
<a href="https://blog.imnyang.xyz">📝 Blog</a>
<Link href="/timeline">🌈 Timeline</Link>
</div>
<div style={{ display: "flex", flexDirection: "row", gap: 25 }}>
<p style={{ color: "white" }}>Project</p>
</div>
<div style={{ display: "flex", flexDirection: "row", gap: 25 }}>
<a href="https://github.com/sqlare/sqlr.kr/tree/main">
🔗 sqlr.kr (SQLite)
</a>
<a hidden href="https://qloat.com">
🗨 Qloat
</a>
</div>
<div style={{ display: "flex", flexDirection: "row", gap: 25 }}>
<a href="https://instagram.com/today.isangjeong">
🥕 isangjeong.today
</a>
<a href="https://github.com/imnyang/FakeAlyac">💊 FakeAlyac</a>
</div>
</div>
</div>
</div>
);
}

14
src/app/timeline/page.tsx Normal file
View file

@ -0,0 +1,14 @@
import Link from 'next/link';
import Timeline from '../components/Timeline';
export default function Timeline_Page() {
return (
<div style={{ display: 'flex', overflow: 'auto', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', color: 'white', width: '100vw', height: '100vh', background: '#101020' }}>
<div style={{height: '70%', overflow: 'auto'}}>
<Link href='/'>🏠 Back</Link>
<h1>Timeline</h1>
<Timeline />
</div>
</div>
);
}

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>

Before

Width:  |  Height:  |  Size: 4 KiB

View file

@ -1,13 +0,0 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import './index.css'
import { BrowserRouter } from 'react-router-dom';
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<BrowserRouter basename='/'>
<App />
</BrowserRouter>
</React.StrictMode>,
)

View file

@ -1,228 +0,0 @@
import { useEffect, useState } from "react";
import { useLocation, Link } from "react-router-dom";
import Repos from "../components/repos";
import Tippy from "@tippyjs/react";
import "tippy.js/dist/tippy.css";
import "./Root.css";
function Root() {
const location = useLocation();
const [imageSrc, setImageSrc] = useState(
"https://f.imnyang.xyz/profile/imnyang.webp",
);
const [gotoHref, setGotoHref] = useState("/");
useEffect(() => {
const queryParams = new URLSearchParams(location.search);
if (queryParams.has("kawaii")) {
setImageSrc("https://f.imnyang.xyz/profile/hatchu_imnyang.webp");
setGotoHref("/");
} else {
setImageSrc("https://f.imnyang.xyz/profile/imnyang.webp");
setGotoHref("/?kawaii");
}
if (queryParams.has("no_hair") && queryParams.has("no_ear")) {
setImageSrc("https://f.imnyang.xyz/profile/no_ear_no_long_hair.png");
} else if (queryParams.has("no_ear")) {
setImageSrc("https://f.imnyang.xyz/profile/no_ear.png");
} else if (queryParams.has("no_hair")) {
setImageSrc("https://f.imnyang.xyz/profile/no_hair.avif");
}
if (queryParams.has("fast")) {
const style = document.createElement("style");
style.innerHTML = `
.profile:hover {
animation: rotate 1ms linear infinite;
}
`;
document.head.appendChild(style);
}
}, [location.search]);
return (
<div className="App">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
as="style"
onLoad={() => {
(
document.querySelector('link[rel="stylesheet"]') as HTMLLinkElement
).rel = "stylesheet";
}}
></link>
<div className="container">
<div className="left">
<p style={{ color: "transparent" }}>/?no_hair</p>
{/* /?no_ear */}
<img src={imageSrc} width={256} className="profile" />
<h1
style={{
color: "#ffe7fb",
fontSize: 60,
margin: 0,
fontWeight: "700",
}}
>
<Link
style={{
color: "#ffe7fb",
fontSize: 60,
margin: 0,
fontWeight: "700",
}}
to={gotoHref}
>
imnyang
</Link>
</h1>
<div style={{ color: "white" }}>
<p style={{ textAlign: "left" }}>
<div
style={{
display: "flex",
flexDirection: "row",
gap: 25,
alignItems: "center",
justifyContent: "center",
}}
>
{window.innerWidth <= 768 && (
<Tippy content="Toss" placement="bottom">
<a
href="supertoss://send?bank=토스뱅크&accountNo=100079352039&origin=qr"
style={{
color: "#b2a1af",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
<i
className="fa-solid fa-circle-dollar-to-slot"
style={{ fontSize: "24px" }}
/>
</a>
</Tippy>
)}
<Tippy content="Github" placement="bottom">
<a
href="https://github.com/imnyang"
style={{
color: "#b2a1af",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
<i
className="fa-brands fa-github"
style={{ fontSize: "24px" }}
/>
</a>
</Tippy>
<Tippy content="Mail" placement="bottom">
<a
href="mailto:me@imnyang.xyz"
style={{
color: "#b2a1af",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
<i
className="fa-solid fa-at"
style={{ fontSize: "24px" }}
/>
</a>
</Tippy>
<Tippy content="Instagram" placement="bottom">
<a
href="https://instagram.com/not.furry_"
style={{
color: "#b2a1af",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
<i
className="fa-brands fa-instagram"
style={{ fontSize: "24px" }}
/>
</a>
</Tippy>
<Tippy content="X" placement="bottom">
<a
href="https://x.com/mahiro_me"
style={{
color: "#b2a1af",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
<i
className="fa-brands fa-x-twitter"
style={{ fontSize: "24px" }}
/>
</a>
</Tippy>
</div>
<br />
🖥 Software Engineer
<br />
🎨 Team. <a href="https://sqlare.com">Sqlare</a>
<br />
<br />
📚 Middle School Student in South Korea
<br />
<br />
<p style={{ color: "transparent" }}>Enter Furry.</p>
</p>
</div>
</div>
<div className="right">
<div style={{ display: "flex", flexDirection: "row", gap: 25 }}>
<a href="https://github.com/imnyang">
<i
className="fa-brands fa-github"
style={{ color: "white", paddingRight: 8 }}
/>
<Repos /> Repos
</a>
<a href="https://blog.imnyang.xyz">📝 Blog</a>
<Link to="/timeline">🌈 Timeline</Link>
</div>
<div style={{ display: "flex", flexDirection: "row", gap: 25 }}>
<p style={{ color: "white" }}>Project</p>
</div>
<div style={{ display: "flex", flexDirection: "row", gap: 25 }}>
<a href="https://github.com/sqlare/sqlr.kr/tree/main">
🔗 sqlr.kr (SQLite)
</a>
<a hidden href="https://qloat.com">
🗨 Qloat
</a>
</div>
<div style={{ display: "flex", flexDirection: "row", gap: 25 }}>
<a href="https://instagram.com/today.isangjeong">
🥕 isangjeong.today
</a>
<a href="https://github.com/imnyang/FakeAlyac">💊 FakeAlyac</a>
</div>
</div>
</div>
</div>
);
}
export default Root;

View file

@ -1,12 +0,0 @@
import { Link } from "react-router-dom";
import Timeline from "../components/Timeline";
export default function Timeline_Page() {
return (
<div className="flex flex-col items-center justify-center w-[100vw] h-[100vh]">
<Link to="/">Back</Link>
<h1>Timeline</h1>
<Timeline />
</div>
);
}

3
src/vite-env.d.ts vendored
View file

@ -1,3 +0,0 @@
/// <reference types="vite/client" />
declare module "*.md";

View file

@ -1,11 +0,0 @@
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}

18
tailwind.config.ts Normal file
View file

@ -0,0 +1,18 @@
import type { Config } from "tailwindcss";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
},
},
plugins: [],
} satisfies Config;

View file

@ -1,27 +0,0 @@
{
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"]
}

View file

@ -1,11 +1,27 @@
{
"files": [],
"references": [
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.node.json"
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}

View file

@ -1,13 +0,0 @@
{
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"strict": true,
"noEmit": true
},
"include": ["vite.config.ts"]
}

View file

@ -1,19 +0,0 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
// Custom plugin to load markdown files
{
name: "markdown-loader",
transform(code, id) {
if (id.slice(-3) === ".md") {
// For .md files, get the raw content
return `export default ${JSON.stringify(code)};`;
}
}
}
],
})