move form too root, fixes

This commit is contained in:
2025-03-04 17:33:09 +01:00
parent 908f4491d4
commit c28a4aa9c4
11 changed files with 142 additions and 175 deletions

View File

@ -10,8 +10,8 @@ export const viewport: Viewport = {
colorScheme: "dark",
};
export const metadata: Metadata = {
title: "Bangers and Mash GBG",
description: "Sign up to the Bangers and Mash GBG guest list",
title: "Guest List - Bangers and Mash",
description: "Sign up to the Bangers and Mash guest list here to join our parties.",
};
export default function RootLayout({
@ -27,7 +27,6 @@ export default function RootLayout({
customDomain="https://analytics.schulze.network"
selfHosted={true}
enabled={true}
trackOutboundLinks={true}
/>
</head>
<body className={cn("min-h-screen bg-background font-sans antialiased", inter.variable)}>

View File

@ -1,3 +1,18 @@
export default function Home() {
return "helloworld";
import Image from "next/image";
import SignUp from "./sign-up-form";
export default function Page() {
return (
<div className="w-4/5 max-w-2xl mx-auto my-12">
<Image
src="/image/bam.png"
alt="Bangers and Mash GBG"
width={200}
height={200}
className="mx-auto my-8"
/>
<h1 className="mb-4 text-xl">Sign up to our guest list here</h1>
<SignUp />
</div>
);
}

View File

@ -1,18 +0,0 @@
import Image from "next/image";
import SignUp from "./sign-up-form";
export default function Page() {
return (
<div className="w-4/5 max-w-2xl mx-auto my-12">
<Image
src="/image/bam.png"
alt="Bangers and Mash GBG"
width={200}
height={200}
className="mx-auto my-8"
/>
<h1 className="mb-4 text-xl">Sign up to our guest list here</h1>
<SignUp />
</div>
);
}