Merge version_2 into main #2
@@ -1,57 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Mulish } from "next/font/google";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const mulish = Mulish({
|
||||
variable: "--font-mulish", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "FoodFlow - Fast Food Delivery Service", description: "Order from your favorite restaurants with FoodFlow. 30-minute delivery guarantee, 500+ partner restaurants, and real-time tracking. Download our app today!", keywords: "food delivery, restaurant delivery, fast food delivery, online food ordering", metadataBase: new URL("https://foodflow.com"),
|
||||
alternates: {
|
||||
canonical: "https://foodflow.com"},
|
||||
openGraph: {
|
||||
title: "FoodFlow - Fast Food Delivery Service", description: "Order delicious food from 500+ restaurants with FoodFlow. 30-minute delivery guarantee!", url: "https://foodflow.com", siteName: "FoodFlow", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/man-with-beverage-using-smartphone-cafe_23-2147826810.jpg", alt: "FoodFlow food delivery service"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "FoodFlow - Fast Food Delivery Service", description: "Order delicious food from your favorite restaurants. 30-minute delivery guarantee!", images: ["http://img.b2bpic.net/free-photo/man-with-beverage-using-smartphone-cafe_23-2147826810.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "FoodFlow - Fast Food Delivery", description: "Order from your favorite restaurants and enjoy delicious meals delivered fresh to your door in 30 minutes or less."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${mulish.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1419,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -36,7 +36,8 @@ export default function LandingPage() {
|
||||
]}
|
||||
brandName="FoodFlow"
|
||||
button={{
|
||||
text: "Order Now", href: "#popular-dishes"}}
|
||||
text: "Order Now", href: "#popular-dishes"
|
||||
}}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -46,7 +47,7 @@ export default function LandingPage() {
|
||||
logoText="FoodFlow"
|
||||
description="Hungry? Order from your favorite restaurants and enjoy delicious meals delivered fresh to your door in 30 minutes or less."
|
||||
buttons={[
|
||||
{ text: "Browse Restaurants", href: "#popular-dishes" },
|
||||
{ text: "Order Now", href: "#popular-dishes" },
|
||||
{ text: "Track Order", href: "#" },
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
@@ -65,11 +66,14 @@ export default function LandingPage() {
|
||||
tag="Our Network"
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Premium Selection", description: "Handpicked restaurants offering the best cuisines and quality."},
|
||||
title: "Premium Selection", description: "Handpicked restaurants offering the best cuisines and quality."
|
||||
},
|
||||
{
|
||||
title: "Fast Delivery", description: "Average delivery time of 30 minutes or your food is free."},
|
||||
title: "Fast Delivery", description: "Average delivery time of 30 minutes or your food is free."
|
||||
},
|
||||
{
|
||||
title: "Quality Assurance", description: "Every order packed and delivered with utmost care."},
|
||||
title: "Quality Assurance", description: "Every order packed and delivered with utmost care."
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg"
|
||||
imageAlt="Featured restaurant partner"
|
||||
@@ -87,16 +91,19 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: "step1", label: "1", title: "Browse & Order", items: [
|
||||
"Explore thousands of restaurants", "Browse menus and prices", "Add items to your cart", "Customize your order"],
|
||||
"Explore thousands of restaurants", "Browse menus and prices", "Add items to your cart", "Customize your order"
|
||||
],
|
||||
buttons: [{ text: "Start Browsing", href: "#" }],
|
||||
},
|
||||
{
|
||||
id: "step2", label: "2", title: "Fast Payment", items: [
|
||||
"Multiple payment options", "Secure checkout process", "Save your favorites", "Apply discount codes"],
|
||||
"Multiple payment options", "Secure checkout process", "Save your favorites", "Apply discount codes"
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "step3", label: "3", title: "Track & Enjoy", items: [
|
||||
"Real-time order tracking", "Live driver location", "Estimated arrival time", "Rate and review"],
|
||||
"Real-time order tracking", "Live driver location", "Estimated arrival time", "Rate and review"
|
||||
],
|
||||
buttons: [{ text: "Track Now", href: "#" }],
|
||||
},
|
||||
]}
|
||||
@@ -159,13 +166,17 @@ export default function LandingPage() {
|
||||
description="Real reviews from real customers who love FoodFlow."
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Johnson", role: "Regular Customer", testimonial: "FoodFlow makes ordering lunch so easy! The food arrives hot and fresh every single time. Best delivery service in the city!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-african-american-man-posing-library_74855-1619.jpg", imageAlt: "Sarah Johnson"},
|
||||
id: "1", name: "Sarah Johnson", role: "Regular Customer", testimonial: "FoodFlow makes ordering lunch so easy! The food arrives hot and fresh every single time. Best delivery service in the city!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-african-american-man-posing-library_74855-1619.jpg", imageAlt: "Sarah Johnson"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Michael Chen", role: "Busy Professional", testimonial: "I love the real-time tracking feature. I always know exactly when my food will arrive. Highly recommend FoodFlow!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg", imageAlt: "Michael Chen"},
|
||||
id: "2", name: "Michael Chen", role: "Busy Professional", testimonial: "I love the real-time tracking feature. I always know exactly when my food will arrive. Highly recommend FoodFlow!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg", imageAlt: "Michael Chen"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Emily Rodriguez", role: "Food Enthusiast", testimonial: "The variety of restaurants available is incredible. From casual to fine dining, FoodFlow has it all. My go-to app!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-face-portrait-wearing-suit_53876-148135.jpg", imageAlt: "Emily Rodriguez"},
|
||||
id: "3", name: "Emily Rodriguez", role: "Food Enthusiast", testimonial: "The variety of restaurants available is incredible. From casual to fine dining, FoodFlow has it all. My go-to app!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-face-portrait-wearing-suit_53876-148135.jpg", imageAlt: "Emily Rodriguez"
|
||||
},
|
||||
{
|
||||
id: "4", name: "David Kim", role: "Office Manager", testimonial: "We use FoodFlow for team lunches regularly. Their group ordering feature saves us so much time. Great service!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", imageAlt: "David Kim"},
|
||||
id: "4", name: "David Kim", role: "Office Manager", testimonial: "We use FoodFlow for team lunches regularly. Their group ordering feature saves us so much time. Great service!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg", imageAlt: "David Kim"
|
||||
},
|
||||
]}
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
@@ -193,13 +204,16 @@ export default function LandingPage() {
|
||||
socialLinks={[
|
||||
{
|
||||
icon: Facebook,
|
||||
href: "https://facebook.com/foodflow", ariaLabel: "FoodFlow on Facebook"},
|
||||
href: "https://facebook.com/foodflow", ariaLabel: "FoodFlow on Facebook"
|
||||
},
|
||||
{
|
||||
icon: Twitter,
|
||||
href: "https://twitter.com/foodflow", ariaLabel: "FoodFlow on Twitter"},
|
||||
href: "https://twitter.com/foodflow", ariaLabel: "FoodFlow on Twitter"
|
||||
},
|
||||
{
|
||||
icon: Instagram,
|
||||
href: "https://instagram.com/foodflow", ariaLabel: "FoodFlow on Instagram"},
|
||||
href: "https://instagram.com/foodflow", ariaLabel: "FoodFlow on Instagram"
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user