|
|
|
|
@@ -1,49 +1,28 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Halant } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import { Nunito } from "next/font/google";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
|
|
|
import Tag from "@/tag/Tag";
|
|
|
|
|
|
|
|
|
|
const halant = Halant({
|
|
|
|
|
variable: "--font-halant", subsets: ["latin"],
|
|
|
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
|
|
|
const geist = Geist({
|
|
|
|
|
variable: "--font-geist-sans", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const nunito = Nunito({
|
|
|
|
|
variable: "--font-nunito", subsets: ["latin"],
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "RSVP | Sarah & James Wedding", description: "Confirm your attendance at our wedding on June 15, 2025. Share dietary restrictions and let us know you're celebrating with us.", keywords: "wedding RSVP, wedding invitation, confirm attendance, dietary restrictions", robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true,
|
|
|
|
|
},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "Join Us in Celebrating", description: "We'd love for you to be part of our special day. RSVP now!", type: "website", siteName: "Sarah & James Wedding"},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image", title: "You're Invited | Wedding RSVP", description: "Join us as we say 'I do!' RSVP in 60 seconds."},
|
|
|
|
|
};
|
|
|
|
|
title: "Sarah & James - Wedding RSVP", description: "Join us as we celebrate our special day. RSVP in 60 seconds."};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1411,7 +1390,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|