Update src/app/page.tsx

This commit is contained in:
2026-05-14 15:24:23 +00:00
parent 2e1d163ea8
commit f7ac633b7b

View File

@@ -31,21 +31,13 @@ export default function LandingPage() {
<NavbarStyleCentered
navItems={[
{
name: "Home",
id: "hero",
},
name: "Home", id: "hero"},
{
name: "Menu",
id: "products",
},
name: "Menu", id: "products"},
{
name: "About",
id: "about",
},
name: "About", id: "about"},
{
name: "Contact",
id: "contact",
},
name: "Contact", id: "contact"},
]}
brandName="Farara Food"
/>
@@ -57,75 +49,41 @@ export default function LandingPage() {
description="Experience the warmth and tradition of Farara Food. Located in the heart of Johor, we serve artisanal dishes made from the freshest local ingredients."
testimonials={[
{
name: "Ahmad Bin Saleh",
handle: "@ahmad",
testimonial: "The best authentic local flavors I've found in Johor. Simply exquisite.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-happy-guy-showing-approval_23-2148334477.jpg",
},
name: "Ahmad Bin Saleh", handle: "@ahmad", testimonial: "The best authentic local flavors I've found in Johor. Simply exquisite.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-happy-guy-showing-approval_23-2148334477.jpg"},
{
name: "Siti Aminah",
handle: "@siti",
testimonial: "An incredible atmosphere and the food is consistently amazing every time.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-woman-eating-out-asian-restaurant-looking-asid_197531-22363.jpg",
},
name: "Siti Aminah", handle: "@siti", testimonial: "An incredible atmosphere and the food is consistently amazing every time.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-woman-eating-out-asian-restaurant-looking-asid_197531-22363.jpg"},
{
name: "John Doe",
handle: "@johnd",
testimonial: "Sophisticated dining experience that still feels like home. Truly special.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-handsome-young-man-sitting-cafe-with-mobile-phone-wearing-wireless-headphones_1258-314098.jpg",
},
name: "John Doe", handle: "@johnd", testimonial: "Sophisticated dining experience that still feels like home. Truly special.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-handsome-young-man-sitting-cafe-with-mobile-phone-wearing-wireless-headphones_1258-314098.jpg"},
{
name: "Nurul Huda",
handle: "@nurul",
testimonial: "A must-visit for anyone craving real traditional food with a modern touch.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-smiling_23-2148454153.jpg",
},
name: "Nurul Huda", handle: "@nurul", testimonial: "A must-visit for anyone craving real traditional food with a modern touch.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-smiling_23-2148454153.jpg"},
{
name: "Ravi Kumar",
handle: "@ravi",
testimonial: "The Rendang is perfect. A true gem in the heart of Kampung Duku.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-young-indian-man-smart-casual-wear-like-orange-sweater-sitting-cafe-using-his-mobile-phone_627829-5426.jpg",
},
name: "Ravi Kumar", handle: "@ravi", testimonial: "The Rendang is perfect. A true gem in the heart of Kampung Duku.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-young-indian-man-smart-casual-wear-like-orange-sweater-sitting-cafe-using-his-mobile-phone_627829-5426.jpg"},
]}
tag="Welcome to Farara"
buttons={[
{
text: "View Menu",
href: "#products",
},
text: "View Menu", href: "#products"},
{
text: "Book a Table",
href: "#contact",
},
text: "Book a Table", href: "#contact"},
]}
imageSrc="http://img.b2bpic.net/free-photo/christmas-table-living-room-with-objects-holiday-decor-new-year-eve-concept_132075-11240.jpg"
imageAlt="Farara Food premium dining"
avatars={[
{
src: "http://img.b2bpic.net/free-photo/young-woman-eating-pasta-cafe_1303-25260.jpg",
alt: "Diner 1",
},
src: "http://img.b2bpic.net/free-photo/young-woman-eating-pasta-cafe_1303-25260.jpg", alt: "Diner 1"},
{
src: "http://img.b2bpic.net/free-photo/person-happy-woman-clanging-glasses-wine-table-cafe_23-2148016787.jpg",
alt: "Diner 2",
},
src: "http://img.b2bpic.net/free-photo/person-happy-woman-clanging-glasses-wine-table-cafe_23-2148016787.jpg", alt: "Diner 2"},
{
src: "http://img.b2bpic.net/free-photo/people-cheering-with-wine-glasses-luxurious-restaurant_23-2150517447.jpg",
alt: "Diner 3",
},
src: "http://img.b2bpic.net/free-photo/people-cheering-with-wine-glasses-luxurious-restaurant_23-2150517447.jpg", alt: "Diner 3"},
{
src: "http://img.b2bpic.net/free-photo/caucasian-couple-clinking-glasses-together-restaurant_53876-42638.jpg",
alt: "Diner 4",
},
src: "http://img.b2bpic.net/free-photo/caucasian-couple-clinking-glasses-together-restaurant_53876-42638.jpg", alt: "Diner 4"},
{
src: "http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081875.jpg",
alt: "Diner 5",
},
src: "http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081875.jpg", alt: "Diner 5"},
]}
avatarText="Trusted by 5,000+ local diners"
/>
@@ -138,9 +96,7 @@ export default function LandingPage() {
description="Established in the quiet landscapes of 54 Kampung Duku, we strive to bring the true essence of Johorean cooking to your table. Our kitchen is built on respect for heritage, local farmers, and the art of slow-cooked flavor."
buttons={[
{
text: "Learn More",
href: "#about-section",
},
text: "Learn More", href: "#about-section"},
]}
imageSrc="http://img.b2bpic.net/free-photo/night-view-traditional-japanese-food-court_23-2148759601.jpg"
imageAlt="Inside our kitchen"
@@ -155,59 +111,23 @@ export default function LandingPage() {
useInvertedBackground={false}
products={[
{
id: "1",
name: "Traditional Johorean Laksa",
brand: "Signature",
price: "RM 28.00",
rating: 5,
reviewCount: "120",
imageSrc: "http://img.b2bpic.net/free-photo/view-soft-cake-decorated-with-orange-chocolate-dark-table_140725-86436.jpg",
},
id: "1", name: "Traditional Johorean Laksa", brand: "Signature", price: "RM 28.00", rating: 5,
reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/view-soft-cake-decorated-with-orange-chocolate-dark-table_140725-86436.jpg"},
{
id: "2",
name: "Kampung Style Ayam Penyet",
brand: "Local Favorite",
price: "RM 22.00",
rating: 5,
reviewCount: "89",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-bowls-with-skin-care-products_23-2148317627.jpg",
},
id: "2", name: "Kampung Style Ayam Penyet", brand: "Local Favorite", price: "RM 22.00", rating: 5,
reviewCount: "89", imageSrc: "http://img.b2bpic.net/free-photo/top-view-bowls-with-skin-care-products_23-2148317627.jpg"},
{
id: "3",
name: "Artisanal Herb Garden Salad",
brand: "Healthy",
price: "RM 18.00",
rating: 4,
reviewCount: "45",
imageSrc: "http://img.b2bpic.net/free-photo/peach-panna-cotta-with-pistachios_23-2151942384.jpg",
},
id: "3", name: "Artisanal Herb Garden Salad", brand: "Healthy", price: "RM 18.00", rating: 4,
reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/peach-panna-cotta-with-pistachios_23-2151942384.jpg"},
{
id: "4",
name: "Slow-Cooked Beef Rendang",
brand: "Heritage",
price: "RM 32.00",
rating: 5,
reviewCount: "210",
imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg",
},
id: "4", name: "Slow-Cooked Beef Rendang", brand: "Heritage", price: "RM 32.00", rating: 5,
reviewCount: "210", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg"},
{
id: "5",
name: "Golden Turmeric Rice Platter",
brand: "Signature",
price: "RM 35.00",
rating: 5,
reviewCount: "150",
imageSrc: "http://img.b2bpic.net/free-photo/side-view-fried-meat-asparagus-with-mashed-potatoes-herbs-plate_141793-6110.jpg",
},
id: "5", name: "Golden Turmeric Rice Platter", brand: "Signature", price: "RM 35.00", rating: 5,
reviewCount: "150", imageSrc: "http://img.b2bpic.net/free-photo/side-view-fried-meat-asparagus-with-mashed-potatoes-herbs-plate_141793-6110.jpg"},
{
id: "6",
name: "Farara Seasonal Dessert",
brand: "Special",
price: "RM 15.00",
rating: 4,
reviewCount: "67",
imageSrc: "http://img.b2bpic.net/free-photo/beef-steak-served-with-sauces-herbs_140725-5725.jpg",
},
id: "6", name: "Farara Seasonal Dessert", brand: "Special", price: "RM 15.00", rating: 4,
reviewCount: "67", imageSrc: "http://img.b2bpic.net/free-photo/beef-steak-served-with-sauces-herbs_140725-5725.jpg"},
]}
title="Signature Dishes"
description="Discover our chef's specialties, curated for the refined palate."
@@ -216,30 +136,16 @@ export default function LandingPage() {
<div id="metrics" data-section="metrics">
<MetricCardEleven
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={true}
metrics={[
{
id: "m1",
value: "15+",
title: "Years of Tradition",
description: "Serving the community",
imageSrc: "http://img.b2bpic.net/free-photo/salad-with-red-caviar-salmon-avocado_140725-6797.jpg",
},
id: "m1", value: "15+", title: "Years of Tradition", description: "Serving the community", imageSrc: "http://img.b2bpic.net/free-photo/salad-with-red-caviar-salmon-avocado_140725-6797.jpg"},
{
id: "m2",
value: "5k+",
title: "Happy Diners",
description: "Our satisfied guests",
imageSrc: "http://img.b2bpic.net/free-photo/shopping-market_1098-19429.jpg",
},
id: "m2", value: "5k+", title: "Happy Diners", description: "Our satisfied guests", imageSrc: "http://img.b2bpic.net/free-photo/shopping-market_1098-19429.jpg"},
{
id: "m3",
value: "20+",
title: "Signature Dishes",
description: "Chef-created recipes",
imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-italian-cocktail-still-life_23-2150645795.jpg",
},
id: "m3", value: "20+", title: "Signature Dishes", description: "Chef-created recipes", imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-italian-cocktail-still-life_23-2150645795.jpg"},
]}
title="Our Culinary Journey"
description="Quality backed by numbers and passion."
@@ -254,45 +160,20 @@ export default function LandingPage() {
useInvertedBackground={false}
testimonials={[
{
id: "t1",
name: "Sarah Lee",
role: "Food Critic",
company: "Local Eats",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/couple-is-drinking-white-wine-romantic-dinner-restaurant-holding-hands_8353-10578.jpg",
},
id: "t1", name: "Sarah Lee", role: "Food Critic", company: "Local Eats", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/couple-is-drinking-white-wine-romantic-dinner-restaurant-holding-hands_8353-10578.jpg"},
{
id: "t2",
name: "Daniel Tan",
role: "Regular",
company: "Johor Resident",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-having-lunch-luxury-restaurant_23-2150598332.jpg",
},
id: "t2", name: "Daniel Tan", role: "Regular", company: "Johor Resident", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-having-lunch-luxury-restaurant_23-2150598332.jpg"},
{
id: "t3",
name: "Linda Wei",
role: "Visitor",
company: "Tourist",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-woman-with-okay-gesture-while-eat-salad-outdoors-cafe_231208-12139.jpg",
},
id: "t3", name: "Linda Wei", role: "Visitor", company: "Tourist", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-woman-with-okay-gesture-while-eat-salad-outdoors-cafe_231208-12139.jpg"},
{
id: "t4",
name: "Marcus Wong",
role: "Foodie",
company: "Blogger",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-with-berry-necklace_23-2150539810.jpg",
},
id: "t4", name: "Marcus Wong", role: "Foodie", company: "Blogger", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-with-berry-necklace_23-2150539810.jpg"},
{
id: "t5",
name: "Elena Rosli",
role: "Local",
company: "Resident",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-cafe-dines-traditional-shakshuka-ayran_169016-16512.jpg",
},
id: "t5", name: "Elena Rosli", role: "Local", company: "Resident", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-cafe-dines-traditional-shakshuka-ayran_169016-16512.jpg"},
]}
title="Words from Our Guests"
description="Experience excellence through the eyes of our diners."
@@ -305,20 +186,11 @@ export default function LandingPage() {
useInvertedBackground={true}
faqs={[
{
id: "q1",
title: "Do I need a reservation?",
content: "While we welcome walk-ins, reservations are highly recommended, especially on weekends.",
},
id: "q1", title: "Do I need a reservation?", content: "While we welcome walk-ins, reservations are highly recommended, especially on weekends."},
{
id: "q2",
title: "Is parking available?",
content: "Yes, we provide ample parking space for all our dining guests at our Kampung Duku location.",
},
id: "q2", title: "Is parking available?", content: "Yes, we provide ample parking space for all our dining guests at our Kampung Duku location."},
{
id: "q3",
title: "Do you offer catering services?",
content: "Certainly, we offer custom catering packages for events and private gatherings.",
},
id: "q3", title: "Do you offer catering services?", content: "Certainly, we offer custom catering packages for events and private gatherings."},
]}
imageSrc="http://img.b2bpic.net/free-photo/person-waiting-food-restaurant_23-2149269220.jpg"
mediaAnimation="slide-up"
@@ -335,22 +207,14 @@ export default function LandingPage() {
description="Planning a visit or an event? Reach out to our team."
inputs={[
{
name: "name",
type: "text",
placeholder: "Your Name",
required: true,
name: "name", type: "text", placeholder: "Your Name", required: true,
},
{
name: "email",
type: "email",
placeholder: "Your Email",
required: true,
name: "email", type: "email", placeholder: "Your Email", required: true,
},
]}
textarea={{
name: "message",
placeholder: "Tell us how we can help",
rows: 4,
name: "message", placeholder: "Tell us how we can help", rows: 4,
required: true,
}}
imageSrc="http://img.b2bpic.net/free-photo/modern-cafe-street-istanbul-turkey_628469-67.jpg"
@@ -363,46 +227,29 @@ export default function LandingPage() {
logoText="Farara Food"
columns={[
{
title: "Navigate",
items: [
title: "Navigate", items: [
{
label: "Menu",
href: "#products",
},
label: "Menu", href: "#products"},
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy",
href: "#",
},
label: "Privacy", href: "#"},
{
label: "Terms",
href: "#",
},
label: "Terms", href: "#"},
],
},
{
title: "Connect",
items: [
title: "Connect", items: [
{
label: "Instagram",
href: "#",
},
label: "Instagram", href: "#"},
{
label: "Facebook",
href: "#",
},
label: "Facebook", href: "#"},
],
},
]}