Update src/pages/HomePage.tsx

This commit is contained in:
2026-06-13 21:54:26 +00:00
parent 99df1d7ff0
commit f0bbd27e7a

View File

@@ -5,21 +5,7 @@ import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetail
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards';
import TestimonialOverlayCardsOriginal from '@/components/sections/testimonial/TestimonialOverlayCards';
const TestimonialOverlayCards = (
props: Omit<import('react').ComponentProps<typeof TestimonialOverlayCardsOriginal>, 'items'> & {
items: Array<{
id?: string | number;
name: string;
role: string;
company: string;
rating: number;
imageSrc: string;
videoSrc?: string;
}>;
}
) => <TestimonialOverlayCardsOriginal {...(props as unknown as import('react').ComponentProps<typeof TestimonialOverlayCardsOriginal>)} />;
import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards';
import { Clock, Flame, Users } from "lucide-react";
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
@@ -33,13 +19,9 @@ export default function HomePage() {
title="Leicester Afro Caribbean Kitchen"
description="Authentic, vibrant, and soul-satisfying dishes served with love in the heart of Leicester."
primaryButton={{
text: "Order Now",
href: "#contact",
}}
text: "Order Now", href: "#contact"}}
secondaryButton={{
text: "Our Story",
href: "#about",
}}
text: "Our Story", href: "#about"}}
imageSrc="http://img.b2bpic.net/free-photo/couple-having-fun-night_23-2149236889.jpg"
/>
</SectionErrorBoundary>
@@ -53,20 +35,11 @@ export default function HomePage() {
description="Established with a passion for bringing the rich, aromatic flavours of the Caribbean and West Africa to Leicester. Every dish tells a story of tradition."
items={[
{
icon: Flame,
title: "Authentic Spices",
description: "Hand-picked spices from original sources.",
},
icon: "Flame", title: "Authentic Spices", description: "Hand-picked spices from original sources."},
{
icon: Users,
title: "Family Friendly",
description: "A welcoming environment for all occasions.",
},
icon: "Users", title: "Family Friendly", description: "A welcoming environment for all occasions."},
{
icon: Clock,
title: "Freshly Prepared",
description: "Made daily with the highest quality ingredients.",
},
icon: "Clock", title: "Freshly Prepared", description: "Made daily with the highest quality ingredients."},
]}
imageSrc="http://img.b2bpic.net/free-photo/chef-putting-tomatoes-avocado_23-2148471901.jpg"
/>
@@ -81,40 +54,19 @@ export default function HomePage() {
description="A curated selection of our most loved traditional meals."
items={[
{
title: "Jollof Rice",
description: "The quintessential West African feast.",
imageSrc: "http://img.b2bpic.net/free-photo/side-view-mushroom-soup-green-onions-plate_141793-11370.jpg",
},
title: "Jollof Rice", description: "The quintessential West African feast.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-mushroom-soup-green-onions-plate_141793-11370.jpg"},
{
title: "Suya",
description: "Spicy, perfectly grilled skewer.",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-eggplants-sliced-inside-black-plate-dark_140725-13295.jpg",
},
title: "Suya", description: "Spicy, perfectly grilled skewer.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-eggplants-sliced-inside-black-plate-dark_140725-13295.jpg"},
{
title: "Fried Plantain",
description: "Sweet, golden, and perfectly crispy.",
imageSrc: "http://img.b2bpic.net/free-photo/medium-cooked-steak-with-garlic-onion-red-chili-pepper-parchment-paper_141793-2254.jpg",
},
title: "Fried Plantain", description: "Sweet, golden, and perfectly crispy.", imageSrc: "http://img.b2bpic.net/free-photo/medium-cooked-steak-with-garlic-onion-red-chili-pepper-parchment-paper_141793-2254.jpg"},
{
title: "Egusi Soup",
description: "Melon seed soup with fresh greens.",
imageSrc: "http://img.b2bpic.net/free-photo/fresh-cabbage-sauerkraut-bowl-top-view_114579-82938.jpg",
},
title: "Egusi Soup", description: "Melon seed soup with fresh greens.", imageSrc: "http://img.b2bpic.net/free-photo/fresh-cabbage-sauerkraut-bowl-top-view_114579-82938.jpg"},
{
title: "Okro Soup",
description: "Nutritious and delicious traditional stew.",
imageSrc: "http://img.b2bpic.net/free-photo/plate-crackers-with-beer-marble-table_114579-54964.jpg",
},
title: "Okro Soup", description: "Nutritious and delicious traditional stew.", imageSrc: "http://img.b2bpic.net/free-photo/plate-crackers-with-beer-marble-table_114579-54964.jpg"},
{
title: "Pounded Yam",
description: "Soft and smooth accompaniment.",
imageSrc: "http://img.b2bpic.net/free-photo/traditional-mexican-rice-served-with-green-peas-wooden-table_123827-20416.jpg",
},
title: "Pounded Yam", description: "Soft and smooth accompaniment.", imageSrc: "http://img.b2bpic.net/free-photo/traditional-mexican-rice-served-with-green-peas-wooden-table_123827-20416.jpg"},
{
title: "Traditional Malt",
description: "A classic refreshing beverage.",
imageSrc: "http://img.b2bpic.net/free-photo/side-view-kebab-grilled-beef-meat-with-red-onion-greens-rosemary-pita_141793-4975.jpg",
},
title: "Traditional Malt", description: "A classic refreshing beverage.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-kebab-grilled-beef-meat-with-red-onion-greens-rosemary-pita_141793-4975.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -128,17 +80,11 @@ export default function HomePage() {
description="Numbers reflecting our community growth."
metrics={[
{
value: "98+",
description: "Happy Reviews",
},
value: "98+", description: "Happy Reviews"},
{
value: "4.6",
description: "Google Rating",
},
value: "4.6", description: "Google Rating"},
{
value: "100s",
description: "Meals Served Daily",
},
value: "100s", description: "Meals Served Daily"},
]}
/>
</SectionErrorBoundary>
@@ -152,45 +98,20 @@ export default function HomePage() {
description="We are honored by the support from our lovely customers."
testimonials={[
{
id: "1",
name: "Krisztina K.",
role: "Local Guide",
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/side-close-up-view-dish-sauces-stuffed-cabbage-multicolored-checkered-tablecloth-bowls-herbs-sauces-table_140725-110425.jpg",
},
name: "Krisztina K.", role: "Local Guide", company: "Customer", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/side-close-up-view-dish-sauces-stuffed-cabbage-multicolored-checkered-tablecloth-bowls-herbs-sauces-table_140725-110425.jpg"},
{
id: "2",
name: "Cameron F.",
role: "Regular",
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/grilled-chicken-breast-sprinkled-with-pepper-placed-wooden-plate_1150-19842.jpg",
},
name: "Cameron F.", role: "Regular", company: "Customer", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/grilled-chicken-breast-sprinkled-with-pepper-placed-wooden-plate_1150-19842.jpg"},
{
id: "3",
name: "Craig D.",
role: "Local Guide",
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-kebab-slate-with-salad_23-2148685501.jpg",
},
name: "Craig D.", role: "Local Guide", company: "Customer", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-kebab-slate-with-salad_23-2148685501.jpg"},
{
id: "4",
name: "Sarah J.",
role: "Diner",
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/vegetable-soup-served-with-herbs_141793-1024.jpg",
},
name: "Sarah J.", role: "Diner", company: "Customer", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/vegetable-soup-served-with-herbs_141793-1024.jpg"},
{
id: "5",
name: "David K.",
role: "Foodie",
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-tasty-kebab-plate-with-condiments_23-2148685470.jpg",
},
name: "David K.", role: "Foodie", company: "Customer", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-tasty-kebab-plate-with-condiments_23-2148685470.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -204,17 +125,11 @@ export default function HomePage() {
description="Find answers to common questions about our service."
items={[
{
question: "Do you offer delivery?",
answer: "Yes, we offer delivery services throughout Leicester.",
},
question: "Do you offer delivery?", answer: "Yes, we offer delivery services throughout Leicester."},
{
question: "Can I dine in?",
answer: "Yes, we have a welcoming dining area for you.",
},
question: "Can I dine in?", answer: "Yes, we have a welcoming dining area for you."},
{
question: "What are your operating hours?",
answer: "We are open until 1 am, check our latest updates on our social pages.",
},
question: "What are your operating hours?", answer: "We are open until 1 am, check our latest updates on our social pages."},
]}
/>
</SectionErrorBoundary>
@@ -228,26 +143,11 @@ export default function HomePage() {
description="We strive for excellence in every single plate."
steps={[
{
tag: "Quality",
title: "Fresh Ingredients",
subtitle: "Sourced daily",
description: "We never compromise on the quality of our produce.",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-winter-peas-soup-bowl_23-2148706375.jpg",
},
tag: "Quality", title: "Fresh Ingredients", subtitle: "Sourced daily", description: "We never compromise on the quality of our produce.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-winter-peas-soup-bowl_23-2148706375.jpg"},
{
tag: "Taste",
title: "Traditional Recipes",
subtitle: "Grandma's secrets",
description: "Authentic recipes passed down through generations.",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-meat-soup-with-potatoes-rice-inside-little-plate-dark-surface-meal-food-salad-restaurant-dinner-kitchen-dish-horizontal_140725-158714.jpg",
},
tag: "Taste", title: "Traditional Recipes", subtitle: "Grandma's secrets", description: "Authentic recipes passed down through generations.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-meat-soup-with-potatoes-rice-inside-little-plate-dark-surface-meal-food-salad-restaurant-dinner-kitchen-dish-horizontal_140725-158714.jpg"},
{
tag: "Service",
title: "Top Notch Care",
subtitle: "Friendly staff",
description: "We treat every guest like family.",
imageSrc: "http://img.b2bpic.net/free-photo/steak-brazillian-style_1339-8289.jpg",
},
tag: "Service", title: "Top Notch Care", subtitle: "Friendly staff", description: "We treat every guest like family.", imageSrc: "http://img.b2bpic.net/free-photo/steak-brazillian-style_1339-8289.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -259,13 +159,9 @@ export default function HomePage() {
tag="Visit Us"
text="Join us for an unforgettable dining experience at 78 Welford Rd, Leicester."
primaryButton={{
text: "Call 0116 332 7113",
href: "tel:01163327113",
}}
text: "Call 0116 332 7113", href: "tel:01163327113"}}
secondaryButton={{
text: "Get Directions",
href: "#",
}}
text: "Get Directions", href: "#"}}
/>
</SectionErrorBoundary>
</div>