Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| be6f1d59a0 | |||
| 5fd8cef971 | |||
| b6b03f61fa | |||
| 7d99035add |
@@ -1,65 +1,28 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
import { Geist, Geist_Mono } from "next/font/google";
|
||||||
import { Inter } from "next/font/google";
|
|
||||||
import { Open_Sans } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const geist = Geist({
|
||||||
variable: "--font-halant",
|
variable: "--font-geist-sans", subsets: ["latin"],
|
||||||
subsets: ["latin"],
|
|
||||||
weight: ["300", "400", "500", "600", "700"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const inter = Inter({
|
const geistMono = Geist_Mono({
|
||||||
variable: "--font-inter",
|
variable: "--font-geist-mono", subsets: ["latin"],
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const openSans = Open_Sans({
|
|
||||||
variable: "--font-open-sans",
|
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "FoodHub - Order Delicious Food Online | Best Food Delivery",
|
title: "Create Next App", description: "Generated by create next app"};
|
||||||
description: "Order food online from 500+ restaurants. Fast delivery, fresh meals, and exclusive deals. Download FoodHub today for delicious dining at your doorstep.",
|
|
||||||
keywords: "food delivery, online food ordering, restaurants, fast delivery, meal delivery service",
|
|
||||||
openGraph: {
|
|
||||||
title: "FoodHub - Your Favorite Food Delivered Fast",
|
|
||||||
description: "Discover amazing restaurants and get fresh food delivered in 30 minutes. Order now from FoodHub!",
|
|
||||||
siteName: "FoodHub",
|
|
||||||
type: "website",
|
|
||||||
images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/closeup-shot-restaurant-menu-set-black-plates-perfect-food-background_181624-58554.jpg",
|
|
||||||
alt: "FoodHub - Food Delivery Service",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image",
|
|
||||||
title: "FoodHub - Order Food Online",
|
|
||||||
description: "Fast, fresh, and delicious food delivery. Browse 500+ restaurants and order now!",
|
|
||||||
images: ["http://img.b2bpic.net/free-photo/closeup-shot-restaurant-menu-set-black-plates-perfect-food-background_181624-58554.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={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||||
<body
|
{children}
|
||||||
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1427,7 +1390,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export default function HomePage() {
|
|||||||
description="Discover the most delicious food delivered to your doorstep. Order from your favorite local restaurants and enjoy meals prepared with love and freshness."
|
description="Discover the most delicious food delivered to your doorstep. Order from your favorite local restaurants and enjoy meals prepared with love and freshness."
|
||||||
background={{ variant: "radial-gradient" }}
|
background={{ variant: "radial-gradient" }}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Browse Restaurants", href: "/restaurants" },
|
{ text: "Order Now", href: "/restaurants" },
|
||||||
{ text: "Learn More", href: "/about" },
|
{ text: "Learn More", href: "/about" },
|
||||||
]}
|
]}
|
||||||
layoutOrder="default"
|
layoutOrder="default"
|
||||||
@@ -75,12 +75,9 @@ export default function HomePage() {
|
|||||||
description="Explore our curated selection of top-rated restaurants offering authentic cuisines and exceptional dining experiences."
|
description="Explore our curated selection of top-rated restaurants offering authentic cuisines and exceptional dining experiences."
|
||||||
tag="Popular"
|
tag="Popular"
|
||||||
products={[
|
products={[
|
||||||
{
|
{ id: "1", name: "Green Garden Bistro", price: "⭐ 4.8", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-cafe_1157-20846.jpg", imageAlt: "Green Garden Bistro storefront"},
|
||||||
id: "1", name: "Green Garden Bistro", price: "⭐ 4.8", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-cafe_1157-20846.jpg", imageAlt: "Green Garden Bistro storefront"},
|
{ id: "2", name: "Spice Route Kitchen", price: "⭐ 4.6", imageSrc: "http://img.b2bpic.net/free-photo/exotically-spice-mix-spice-herbs-powder-top-view-dark-background-cooking-spicy-food-concept-copy-space-flat-lay-still-life_639032-1225.jpg", imageAlt: "Spice Route Kitchen storefront"},
|
||||||
{
|
{ id: "3", name: "Coastal Catches", price: "⭐ 4.9", imageSrc: "http://img.b2bpic.net/free-photo/seafood-side-dishes-with-platter-shrimp-squids-fish_140725-2576.jpg", imageAlt: "Coastal Catches storefront"},
|
||||||
id: "2", name: "Spice Route Kitchen", price: "⭐ 4.6", imageSrc: "http://img.b2bpic.net/free-photo/exotically-spice-mix-spice-herbs-powder-top-view-dark-background-cooking-spicy-food-concept-copy-space-flat-lay-still-life_639032-1225.jpg", imageAlt: "Spice Route Kitchen storefront"},
|
|
||||||
{
|
|
||||||
id: "3", name: "Coastal Catches", price: "⭐ 4.9", imageSrc: "http://img.b2bpic.net/free-photo/seafood-side-dishes-with-platter-shrimp-squids-fish_140725-2576.jpg", imageAlt: "Coastal Catches storefront"},
|
|
||||||
]}
|
]}
|
||||||
gridVariant="three-columns-all-equal-width"
|
gridVariant="three-columns-all-equal-width"
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
@@ -191,4 +188,4 @@ export default function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user