Initial react editor Next.js template

This commit is contained in:
Rami Bitar
2026-08-29 15:45:18 -04:00
commit 6e5783e644
32 changed files with 4192 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
export type StarterProps = {
logoUrl?: string;
message?: string;
};
export default function Starter({ logoUrl = '/next.svg', message = 'To edit this page navigate to /editor.' }: StarterProps) {
return (
<main className="flex min-h-[calc(100svh-8rem)] items-center justify-center px-6 py-20">
<div className="flex flex-col items-center text-center">
{logoUrl && <img src={logoUrl} alt="Next.js logo" className="h-auto w-[197px] object-contain" />}
<p className="mt-8 text-base text-muted-foreground sm:text-lg">{message}</p>
</div>
</main>
);
}