-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
169 lines (161 loc) · 5.39 KB
/
layout.tsx
File metadata and controls
169 lines (161 loc) · 5.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
import type { Metadata } from "next";
import { Inter, Playfair_Display } from "next/font/google";
import "./globals.css";
import ErrorBoundary from "@/components/ErrorBoundary";
import Providers from "@/components/providers";
import RouteLoader from "@/components/RouteLoader";
import { Suspense } from "react";
const inter = Inter({
subsets: ['latin'],
weight: ['300', '400', '500', '600', '700'],
variable: '--font-inter',
display: 'swap',
});
const playfair = Playfair_Display({
subsets: ['latin'],
weight: ['400', '500', '600', '700'],
variable: '--font-playfair',
display: 'swap',
});
export const metadata: Metadata = {
title: "Incia & Arvin's Wedding - December 16, 2025",
description: "Join us in celebrating the love story of Incia & Arvin - from childhood friends at AISD to forever partners. Wedding ceremony in Dhaka, Bangladesh on December 16, 2025, with celebrations continuing in Phu Quoc, Vietnam.",
keywords: ["wedding", "Incia", "Arvin", "Dhaka", "Vietnam", "celebration", "AISD", "love story", "December 2025"],
authors: [{ name: "Incia & Arvin" }],
creator: "Incia & Arvin",
openGraph: {
title: "Incia & Arvin's Wedding - December 16, 2025",
description: "Join us in celebrating the love story of Incia & Arvin - from childhood friends to forever partners",
type: "website",
locale: "en_US",
siteName: "Incia & Arvin's Wedding",
images: [
{
url: "/images/og-wedding-image.jpg",
width: 1200,
height: 630,
alt: "Incia & Arvin's Wedding",
},
],
},
twitter: {
card: "summary_large_image",
title: "Incia & Arvin's Wedding - December 16, 2025",
description: "Join us in celebrating the love story of Incia & Arvin",
images: ["/images/og-wedding-image.jpg"],
},
robots: "index, follow",
alternates: {
canonical: "https://arvinwedsincia.com",
},
};
// Separate viewport export as required by Next.js 13+
export const viewport = {
width: "device-width",
initialScale: 1,
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
const structuredData = {
"@context": "https://schema.org",
"@type": "Event",
"name": "Incia & Arvin's Wedding Ceremony",
"description": "Join us in celebrating the love story of Incia & Arvin - from childhood friends at American International School of Dhaka to forever partners.",
"startDate": "2025-12-16T18:00:00+06:00",
"endDate": "2025-12-16T23:00:00+06:00",
"eventStatus": "https://schema.org/EventScheduled",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"location": {
"@type": "Place",
"name": "Wedding Venue Dhaka",
"address": {
"@type": "PostalAddress",
"addressLocality": "Dhaka",
"addressCountry": "Bangladesh",
"addressRegion": "Dhaka Division"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "23.8103",
"longitude": "90.4125"
}
},
"organizer": [
{
"@type": "Person",
"name": "Incia",
"givenName": "Incia"
},
{
"@type": "Person",
"name": "Arvin",
"givenName": "Arvin"
}
],
"performer": {
"@type": "Person",
"name": "Incia & Arvin"
},
"offers": {
"@type": "Offer",
"availability": "https://schema.org/InviteOnly",
"price": "0",
"priceCurrency": "USD"
},
"image": [
"https://arvinwedsincia.com/images/og-wedding-image.jpg"
],
"url": "https://arvinwedsincia.com",
"subEvent": [
{
"@type": "Event",
"name": "After-party in Phu Quoc, Vietnam",
"location": {
"@type": "Place",
"name": "Phu Quoc, Vietnam",
"address": {
"@type": "PostalAddress",
"addressLocality": "Phu Quoc",
"addressCountry": "Vietnam"
}
}
}
]
};
return (
<html lang="en" className={`${inter.variable} ${playfair.variable} scroll-smooth`}>
<head>
{/* Enhanced structured data for wedding event */}
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
/>
{/* Additional meta tags for better SEO and accessibility */}
<meta name="theme-color" content="#d4a574" />
<meta name="color-scheme" content="light" />
<meta name="format-detection" content="telephone=no" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
{/* Favicon and app icons */}
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
</head>
<body className="font-sans antialiased bg-cream-50 text-gray-800">
<Providers>
<ErrorBoundary>
{/* Wrap components that read search params in Suspense to satisfy Next.js CSR bailout requirements */}
<Suspense fallback={null}>
<RouteLoader />
</Suspense>
{children}
</ErrorBoundary>
</Providers>
</body>
</html>
);
}