This commit is contained in:
암냥 2026-03-06 22:30:35 +09:00
commit 991bc55102
No known key found for this signature in database
4 changed files with 69 additions and 17 deletions

View file

@ -6,7 +6,10 @@ import ReadmeWindow from "@/components/ReadmeWindow";
import Contact from "@/components/Contact";
import DDayComponent from "@/components/dday";
export default function Page() {
export default async function Page({ searchParams }: { searchParams: Promise<{ nowindow?: string }> }) {
const params = await searchParams;
const showWindow = params.nowindow === undefined;
return (
<main className="min-h-screen w-screen overflow-y-scroll snap-y snap-mandatory relative">
<div className="max-w-3xl w-full flex flex-row h-auto mx-auto my-8 items-center justify-between lg:px-0 px-8">
@ -28,7 +31,7 @@ export default function Page() {
<Contact />
</div>
<section id="about" className="w-full snap-start snap-always flex flex-col items-center justify-center px-8 lg:px-0">
<DraggableWindow />
{showWindow && <DraggableWindow />}
<div className="max-w-3xl w-full lg:px-0 px-8">
<p><strong> </strong> .</p>
<p><strong> </strong> , .</p>