Simplify starter page to centered prompting heading

This commit is contained in:
Rami Bitar
2026-10-04 20:57:02 -04:00
parent ffe083c14e
commit 60f663748b
+5 -22
View File
@@ -1,26 +1,9 @@
import Image from "next/image";
export default function Home() {
return (
<div className="flex min-h-screen flex-col items-center justify-center bg-white font-sans dark:bg-black">
<main className="flex w-full max-w-6xl flex-1 flex-col items-center bg-white px-16 py-16 dark:bg-black sm:items-start">
<Image
className="dark:invert"
src="/next.svg"
alt="Next.js logo"
width={100}
height={20}
priority
/>
<div className="flex flex-1 flex-col items-center justify-center gap-6 text-center sm:items-start sm:text-left">
<h1 className="max-w-xs text-3xl font-semibold leading-10 tracking-tight text-black dark:text-zinc-50">
Start prompting
</h1>
<p className="max-w-md text-lg leading-8 text-zinc-600 dark:text-zinc-400">
Next.js 16 template built with tailwind css and shadcn.
</p>
</div>
</main>
</div>
<main className="flex flex-1 items-center justify-center bg-white px-6">
<h1 className="font-heading text-4xl font-semibold tracking-tight sm:text-5xl">
Start prompting.
</h1>
</main>
);
}