Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4fcbabaa7f | |||
| c219ac8c39 | |||
| 85ee32b246 | |||
| 45858d7ab4 |
@@ -1,17 +1,9 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Next App", description: "Generated by create next app"};
|
||||
title: "FoodHub - Food Delivery", description: "Discover delicious food delivered to your doorstep from your favorite local restaurants."
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -20,7 +12,7 @@ export default function RootLayout({
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
<body>
|
||||
{children}
|
||||
|
||||
<script
|
||||
|
||||
@@ -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."
|
||||
background={{ variant: "radial-gradient" }}
|
||||
buttons={[
|
||||
{ text: "Order Now", href: "/restaurants" },
|
||||
{ text: "Browse Restaurants", href: "/restaurants" },
|
||||
{ text: "Learn More", href: "/about" },
|
||||
]}
|
||||
layoutOrder="default"
|
||||
@@ -74,6 +74,7 @@ export default function HomePage() {
|
||||
title="Featured Restaurants"
|
||||
description="Explore our curated selection of top-rated restaurants offering authentic cuisines and exceptional dining experiences."
|
||||
tag="Popular"
|
||||
tagIcon={Star}
|
||||
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: "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"},
|
||||
|
||||
Reference in New Issue
Block a user