Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ad81f270e5 | |||
| c78dde9185 | |||
| ad3b919a33 | |||
| 9ae654ce8f | |||
| 9faf27db98 | |||
| 09021dcc84 | |||
| 6fd1426710 | |||
| 3940ba7eb2 | |||
| 1aa942defa |
@@ -1,51 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Nunito } from "next/font/google";
|
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "@/styles/globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const nunito = Nunito({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-nunito", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const halant = Halant({
|
|
||||||
variable: "--font-halant", subsets: ["latin"],
|
|
||||||
weight: ["300", "400", "500", "600", "700"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const inter = Inter({
|
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Foodie - Premium Fine Dining Restaurant", description: "Experience exceptional farm-to-table cuisine at Foodie. Award-winning chefs, seasonal menus, and unforgettable dining moments. Reserve your table today.", keywords: "restaurant, fine dining, farm to table, chef, cuisine, reservations", openGraph: {
|
title: "Foodie - Premium Restaurant", description: "Discover culinary excellence at Foodie, where fresh ingredients meet innovative cooking techniques."};
|
||||||
title: "Foodie - Premium Fine Dining", description: "Award-winning restaurant offering exceptional culinary experiences with fresh, seasonal ingredients.", siteName: "Foodie", type: "website", images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg", alt: "Foodie restaurant signature dish"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image", title: "Foodie Restaurant", description: "Experience premium farm-to-table dining", images: ["http://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg"]
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${nunito.variable} ${halant.variable} ${inter.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1413,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -86,7 +86,7 @@ export default function LandingPage() {
|
|||||||
tag="Our Story"
|
tag="Our Story"
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8730.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8730.jpg"
|
||||||
imageAlt="Foodie restaurant dining room"
|
imageAlt="Foodie restaurant dining room"
|
||||||
buttons={[{ text: "Learn More", href: "#" }]}
|
buttons={[{ text: "Reserve Now", href: "#contact" }]}
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -164,7 +164,7 @@ export default function LandingPage() {
|
|||||||
id: "6", name: "Jessica Martinez", imageSrc: "http://img.b2bpic.net/free-photo/alone-specialist-handsome-daydreaming-collar_1262-870.jpg?_wi=6", imageAlt: "Jessica Martinez"
|
id: "6", name: "Jessica Martinez", imageSrc: "http://img.b2bpic.net/free-photo/alone-specialist-handsome-daydreaming-collar_1262-870.jpg?_wi=6", imageAlt: "Jessica Martinez"
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
cardTitle="Over 5,000 guests have experienced unforgettable moments at Foodie"
|
cardTitle="Join 5,000+ diners who've discovered exceptional cuisine at Foodie"
|
||||||
cardTag="Trusted by Food Lovers"
|
cardTag="Trusted by Food Lovers"
|
||||||
cardTagIcon={Heart}
|
cardTagIcon={Heart}
|
||||||
cardAnimation="slide-up"
|
cardAnimation="slide-up"
|
||||||
@@ -243,4 +243,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user