Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c6331c0b9 | |||
| 4fcbabaa7f | |||
| a51bb11061 | |||
| c219ac8c39 | |||
| 85ee32b246 | |||
| 45858d7ab4 |
@@ -1,17 +1,9 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Geist, Geist_Mono } from "next/font/google";
|
|
||||||
import "./globals.css";
|
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 = {
|
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({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
@@ -20,7 +12,7 @@ export default function RootLayout({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
<body>
|
||||||
{children}
|
{children}
|
||||||
|
|
||||||
<script
|
<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."
|
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: "Order Now", href: "/restaurants" },
|
{ text: "Browse Restaurants", href: "/restaurants" },
|
||||||
{ text: "Learn More", href: "/about" },
|
{ text: "Learn More", href: "/about" },
|
||||||
]}
|
]}
|
||||||
layoutOrder="default"
|
layoutOrder="default"
|
||||||
@@ -74,6 +74,7 @@ export default function HomePage() {
|
|||||||
title="Featured Restaurants"
|
title="Featured Restaurants"
|
||||||
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"
|
||||||
|
tagIcon={Star}
|
||||||
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: "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