Refactor code structure for improved readability and maintainability

This commit is contained in:
암냥 2026-06-25 20:07:52 +09:00
commit 3dc14c0117
No known key found for this signature in database
5 changed files with 286 additions and 111 deletions

View file

@ -10,20 +10,20 @@
"format": "biome format --write"
},
"dependencies": {
"lucide-react": "^1.16.0",
"next": "16.2.6",
"react": "19.2.6",
"react-dom": "19.2.6",
"lucide-react": "^1.21.0",
"next": "16.2.9",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-photo-album": "^3.6.0"
},
"devDependencies": {
"@biomejs/biome": "2.4.15",
"@tailwindcss/postcss": "^4.3.0",
"@types/node": "^20.19.41",
"@types/react": "^19.2.15",
"@types/react-dom": "^19",
"@biomejs/biome": "2.5.1",
"@tailwindcss/postcss": "^4.3.1",
"@types/node": "^20.19.43",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"babel-plugin-react-compiler": "1.0.0",
"tailwindcss": "^4.3.0",
"tailwindcss": "^4.3.1",
"typescript": "^6.0.3"
},
"ignoreScripts": [

View file

@ -0,0 +1,136 @@
import Link from "next/link";
export default function PrivacyPage() {
return (
<div className="flex flex-col h-screen items-start justify-start p-6 max-w-[1000px] mx-auto">
<h1 className="font-bold text-4xl">akiyama.mizuki.guru </h1>
<p> 1</p>
<p className="mt-4">
akiyama.mizuki.guru( "서비스") , . , , , , 3 .
</p>
<h2 className="mt-6 text-xl font-semibold" id="1">1. </h2>
<p className="mt-4">
:
</p>
<table>
<thead>
<tr>
<th className="border px-4 py-2"> </th>
<th className="border px-4 py-2"> </th>
<th className="border px-4 py-2"> </th>
</tr>
</thead>
<tbody>
<tr>
<td className="border px-4 py-2">Discord (: 사용자 ID, )</td>
<td className="border px-4 py-2">OAuth </td>
<td className="border px-4 py-2"> </td>
</tr>
</tbody>
</table>
<p className="mt-4">
, , . .
</p>
<p>, Cloudflare를 .</p>
<p> <Link href="/privacy#4" className="underline hover:font-semibold"> </Link> .</p>
<h2 className="mt-6 text-xl font-semibold" id="2">2. </h2>
<p className="mt-4">
:
</p>
<ul className="list-disc list-inside">
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
</ul>
<h2 className="mt-6 text-xl font-semibold" id="3">3. </h2>
<p className="mt-4">
. , .
</p>
<h2 className="mt-6 text-xl font-semibold" id="4">4. </h2>
<p className="mt-4">
3 .
</p>
<table>
<thead>
<tr>
<th className="border px-4 py-2"></th>
<th className="border px-4 py-2"> </th>
<th className="border px-4 py-2"> </th>
<th className="border px-4 py-2"> </th>
</tr>
</thead>
<tbody>
<tr>
<td className="border px-4 py-2">Cloudflare</td>
<td className="border px-4 py-2"> IP , , </td>
<td className="border px-4 py-2"> </td>
<td className="border px-4 py-2"> , 30 </td>
</tr>
<tr>
<td className="border px-4 py-2">Discord</td>
<td className="border px-4 py-2"> ID, , </td>
<td className="border px-4 py-2"> </td>
<td className="border px-4 py-2"> , 30 </td>
</tr>
</tbody>
</table>
<h2 className="mt-6 text-xl font-semibold" id="5">5. </h2>
<p className="mt-4"> :</p>
<ul className="list-disc list-inside space-y-2 mt-2">
<li>
<strong> ( )</strong><br />
: () 118<br />
: <a href="https://privacy.kisa.or.kr" target="_blank" rel="noopener noreferrer" className="underline">privacy.kisa.or.kr</a>
</li>
<li>
<strong></strong><br />
: () 1301<br />
: <a href="https://www.spo.go.kr" target="_blank" rel="noopener noreferrer" className="underline">www.spo.go.kr</a>
</li>
<li>
<strong></strong><br />
: () 182<br />
: <a href="https://www.ecrm.police.go.kr" target="_blank" rel="noopener noreferrer" className="underline">www.ecrm.police.go.kr</a>
</li>
<li>
<strong></strong><br />
전화: 1833-6972<br />
: <a href="https://www.kopico.go.kr" target="_blank" rel="noopener noreferrer" className="underline">www.kopico.go.kr</a>
</li>
</ul>
<h2 className="mt-6 text-xl font-semibold" id="6">6. </h2>
<p className="mt-4">
.
</p>
<table>
<thead>
<tr>
<th className="border px-4 py-2"></th>
<th className="border px-4 py-2"></th>
</tr>
</thead>
<tbody>
<tr>
<td className="border px-4 py-2"> </td>
<td className="border px-4 py-2">
<a href="mailto:privacy@imnya.ng" className="underline">privacy@imnya.ng</a>
</td>
</tr>
</tbody>
</table>
<h2 className="mt-6 text-xl font-semibold" id="7">7. </h2>
<p className="mt-4"> , .</p>
<p> , , , .</p>
<p className="my-6"><Link href="https://imnya.ng">imnya.ng</Link> © 2026</p>
</div>
);
}

View file

@ -0,0 +1,57 @@
export default function ToS() {
return (
<div className="flex flex-col h-screen items-start justify-start p-6 max-w-[1000px] w-full mx-auto">
<h1 className="font-bold text-4xl">akiyama.mizuki.guru </h1>
<p> 1</p>
<h2 className="text-xl font-semibold mt-6" id="0">0. </h2>
<p className="mt-4">
( "약관") akiyama.mizuki.guru( "서비스") , .
</p>
<p> . .</p>
<p> <a href="https://imnya.ng">imnyang</a> Discord Memos에서 <b></b> .</p>
<p> . .</p>
<h2 className="text-xl font-semibold mt-6" id="1">1. </h2>
<p className="mt-4"> .</p>
<p> .</p>
<p> .</p>
<p> .</p>
<h2 className="text-xl font-semibold mt-6" id="2">2. </h2>
<p className="mt-4"> .</p>
<p> . <a href="/docs/privacy" className="underline"> </a> .</p>
<h2 className="text-xl font-semibold mt-6" id="3">3. </h2>
<p className="mt-4"> . , .</p>
<ul className="list-disc list-inside">
<li> </li>
<li> </li>
</ul>
<h3 className="font-bold mt-4"> </h3>
<p className="mt-2">
. .
</p>
<h3 className="font-bold mt-4"> </h3>
<p className="mt-2"> .</p>
<h2 className="text-xl font-semibold mt-6" id="4">4. </h2>
<p className="mt-4"> .</p>
<p> 3 . .</p>
<p> , .</p>
<h2 className="text-xl font-semibold mt-6" id="5">5. </h2>
<p className="mt-4"> . , .</p>
<p> , .</p>
<p>, .</p>
<h2 className="text-xl font-semibold mt-6" id="6">6. </h2>
<p className="mt-4"> . .</p>
<p> . .</p>
<p> , .</p>
<p className="my-6"><a href="https://imnya.ng">imnya.ng</a> © 2026</p>
</div>
);
}