Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-08-31 19:59:49 +08:00
parent 812c39782e
commit 37173cfbeb
11 changed files with 836 additions and 22 deletions
+30 -5
View File
@@ -1,9 +1,34 @@
import Image from "next/image";
export default function Home() {
return (
<div>
</div>
<main className="w-full h-full overflow-y-auto overscroll-contain no-scrollbar">
<div>
{/* Hero Section */}
<div className="grid grid-cols-12 grid-rows-[auto_1fr] px-4 lg:px-14 py-18 lg:py-24 w-full h-dvh lg:h-screen">
<div className="flex flex-col order-2 lg:order-1 lg:grid lg:grid-cols-12 col-span-12 font-mono text-base">
<span className="hidden lg:block lg:col-span-3 xl:col-span-2 lg:col-start-1 xl:col-start-1 p-2 font-sans font-medium text-[4svw] sm:text-2xl lg:text-3xl leading-tight">
Design &<br />Engineering
</span>
<span className="hidden lg:block lg:col-span-3 xl:col-span-2 lg:col-start-4 xl:col-start-5 p-2 text-balance">
Thinking in systems. Designing with care.
</span>
<span className="col-span-12 lg:col-span-6 xl:col-span-4 lg:col-start-7 xl:col-start-9 mt-auto lg:mt-0 p-2">
I'm Haoqi Wen, leading Design Engineering and AI exploration at
<span className="inline-flex items-baseline gap-[0.12em] mx-[0.06em] align-baseline cursor-pointer select-text mx-1">
■■■■■■
</span>
, engineering, and AI at scale. Outside work, I build design tools for team efficiency.
</span>
</div>
<div
className="flex flex-col self-end order-1 lg:order-2 col-span-12 px-2 font-bold text-[7.2svw] lg:text-[6svw] 2xl:text-[5svw] xl:text-[5.6svw] uppercase leading-none"
style={{ fontVariationSettings: '"wdth" 120' }}
>
<span>I bring</span>
<span>craft & taste</span>
<span>to digital work</span>
</div>
</div>
</div>
</main>
);
}