From 87f1c4dc1aada6cb1a1eea27a71f2294850f8936 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 18:52:01 +0000 Subject: [PATCH 1/4] Update src/app/about/page.tsx --- src/app/about/page.tsx | 143 +++++++++-------------------------------- 1 file changed, 31 insertions(+), 112 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index f5f46db..bb1bba5 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -7,6 +7,7 @@ import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi"; import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; import Link from "next/link"; +import { Sparkles, Heart } from "lucide-react"; export default function AboutPage() { return ( @@ -33,9 +34,7 @@ export default function AboutPage() { { name: "Contact", id: "/contact" }, ]} button={{ - text: "Order Now", - href: "/order", - }} + text: "Order Now", href: "/order"}} /> @@ -43,33 +42,25 @@ export default function AboutPage() { @@ -100,59 +86,19 @@ export default function AboutPage() { title="Trusted By Millions" description="Hear from loyal customers who have made KFC part of their family traditions and daily lives." tag="Customer Stories" - tagIcon="Heart" + tagIcon={Heart} tagAnimation="slide-up" textboxLayout="default" useInvertedBackground={false} testimonials={[ { - id: "1", - name: "Sarah Johnson, Family Mom", - date: "Date: 15 January 2025", - title: "Best chicken bucket for family night!", - quote: "Every Friday, my family looks forward to KFC night. The chicken is always crispy and delicious, and the kids love the combo meals. Great quality and amazing customer service!", - tag: "Family Meals", - avatarSrc: "http://img.b2bpic.net/free-photo/waiter-serving-cup-coffee-customer_1170-634.jpg", - avatarAlt: "Sarah Johnson", - imageSrc: "http://img.b2bpic.net/free-photo/waiter-serving-cup-coffee-customer_1170-634.jpg?_wi=2", - imageAlt: "Happy family enjoying KFC chicken", - }, + id: "1", name: "Sarah Johnson, Family Mom", date: "Date: 15 January 2025", title: "Best chicken bucket for family night!", quote: "Every Friday, my family looks forward to KFC night. The chicken is always crispy and delicious, and the kids love the combo meals. Great quality and amazing customer service!", tag: "Family Meals", avatarSrc: "http://img.b2bpic.net/free-photo/waiter-serving-cup-coffee-customer_1170-634.jpg", avatarAlt: "Sarah Johnson", imageSrc: "http://img.b2bpic.net/free-photo/waiter-serving-cup-coffee-customer_1170-634.jpg", imageAlt: "Happy family enjoying KFC chicken"}, { - id: "2", - name: "Michael Chen, Busy Professional", - date: "Date: 10 January 2025", - title: "Quick, delicious, and convenient!", - quote: "I'm always on the go, and KFC makes it so easy. The app ordering is smooth, delivery is fast, and the chicken is consistently excellent. Best value for money.", - tag: "Quick Service", - avatarSrc: "http://img.b2bpic.net/free-photo/woman-dipping-chicken-croquette-into-sauce-beer-setup-with-nuts_140725-10810.jpg", - avatarAlt: "Michael Chen", - imageSrc: "http://img.b2bpic.net/free-photo/woman-dipping-chicken-croquette-into-sauce-beer-setup-with-nuts_140725-10810.jpg?_wi=2", - imageAlt: "Professional enjoying chicken meal", - }, + id: "2", name: "Michael Chen, Busy Professional", date: "Date: 10 January 2025", title: "Quick, delicious, and convenient!", quote: "I'm always on the go, and KFC makes it so easy. The app ordering is smooth, delivery is fast, and the chicken is consistently excellent. Best value for money.", tag: "Quick Service", avatarSrc: "http://img.b2bpic.net/free-photo/woman-dipping-chicken-croquette-into-sauce-beer-setup-with-nuts_140725-10810.jpg", avatarAlt: "Michael Chen", imageSrc: "http://img.b2bpic.net/free-photo/woman-dipping-chicken-croquette-into-sauce-beer-setup-with-nuts_140725-10810.jpg", imageAlt: "Professional enjoying chicken meal"}, { - id: "3", - name: "Emily Rodriguez, Food Enthusiast", - date: "Date: 5 January 2025", - title: "The secret recipe is real!", - quote: "I've tried chicken from everywhere, and KFC's original recipe truly stands out. The taste is unique, the seasoning is perfect, and the freshness is always guaranteed. A real gem!", - tag: "Food Quality", - avatarSrc: "http://img.b2bpic.net/free-photo/close-up-hands-holding-food-plate_23-2149152883.jpg", - avatarAlt: "Emily Rodriguez", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-holding-food-plate_23-2149152883.jpg?_wi=2", - imageAlt: "Food enthusiast enjoying chicken", - }, + id: "3", name: "Emily Rodriguez, Food Enthusiast", date: "Date: 5 January 2025", title: "The secret recipe is real!", quote: "I've tried chicken from everywhere, and KFC's original recipe truly stands out. The taste is unique, the seasoning is perfect, and the freshness is always guaranteed. A real gem!", tag: "Food Quality", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-hands-holding-food-plate_23-2149152883.jpg", avatarAlt: "Emily Rodriguez", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-holding-food-plate_23-2149152883.jpg", imageAlt: "Food enthusiast enjoying chicken"}, { - id: "4", - name: "David Kim, Regular Customer", - date: "Date: 1 January 2025", - title: "Consistently reliable and tasty!", - quote: "I've been a KFC customer for 5 years. Whether I order a single meal or a large bucket, the quality never wavers. The staff is always friendly and helpful. Highly recommended!", - tag: "Loyalty", - avatarSrc: "http://img.b2bpic.net/free-photo/young-lady-showing-thumb-up-shirt-cardigan-looking-cheery-front-view_176474-110852.jpg", - avatarAlt: "David Kim", - imageSrc: "http://img.b2bpic.net/free-photo/young-lady-showing-thumb-up-shirt-cardigan-looking-cheery-front-view_176474-110852.jpg?_wi=2", - imageAlt: "Loyal customer enjoying KFC", - }, + id: "4", name: "David Kim, Regular Customer", date: "Date: 1 January 2025", title: "Consistently reliable and tasty!", quote: "I've been a KFC customer for 5 years. Whether I order a single meal or a large bucket, the quality never wavers. The staff is always friendly and helpful. Highly recommended!", tag: "Loyalty", avatarSrc: "http://img.b2bpic.net/free-photo/young-lady-showing-thumb-up-shirt-cardigan-looking-cheery-front-view_176474-110852.jpg", avatarAlt: "David Kim", imageSrc: "http://img.b2bpic.net/free-photo/young-lady-showing-thumb-up-shirt-cardigan-looking-cheery-front-view_176474-110852.jpg", imageAlt: "Loyal customer enjoying KFC"}, ]} /> @@ -161,66 +107,39 @@ export default function AboutPage() { Date: Thu, 12 Mar 2026 18:52:02 +0000 Subject: [PATCH 2/4] Update src/app/locations/page.tsx --- src/app/locations/page.tsx | 132 ++++++++++--------------------------- 1 file changed, 33 insertions(+), 99 deletions(-) diff --git a/src/app/locations/page.tsx b/src/app/locations/page.tsx index 8575011..ccb5733 100644 --- a/src/app/locations/page.tsx +++ b/src/app/locations/page.tsx @@ -7,6 +7,7 @@ import FeatureCardOne from "@/components/sections/feature/FeatureCardOne"; import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; import Link from "next/link"; +import { MapPin, HelpCircle } from "lucide-react"; export default function LocationsPage() { return ( @@ -33,9 +34,7 @@ export default function LocationsPage() { { name: "Contact", id: "/contact" }, ]} button={{ - text: "Order Now", - href: "/order", - }} + text: "Order Now", href: "/order"}} /> @@ -43,17 +42,12 @@ export default function LocationsPage() { @@ -63,7 +57,7 @@ export default function LocationsPage() { title="Featured Locations" description="Visit our top-rated restaurants with extended hours and full service options." tag="Popular Spots" - tagIcon="MapPin" + tagIcon={MapPin} tagAnimation="slide-up" textboxLayout="default" animationType="slide-up" @@ -71,34 +65,16 @@ export default function LocationsPage() { useInvertedBackground={false} features={[ { - title: "Downtown Plaza", - description: "Central location with dine-in seating for 60+ guests. Open 10am-11pm daily. Free parking available.", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-american-food-with-copy-space_23-2148454886.jpg?_wi=2", - imageAlt: "Downtown KFC location", - button: { - text: "Get Directions", - href: "#", - }, + title: "Downtown Plaza", description: "Central location with dine-in seating for 60+ guests. Open 10am-11pm daily. Free parking available.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-american-food-with-copy-space_23-2148454886.jpg", imageAlt: "Downtown KFC location", button: { + text: "Get Directions", href: "#"}, }, { - title: "Riverside Mall", - description: "Convenient mall location with quick service counter. Open 11am-10pm daily. Large parking lot.", - imageSrc: "http://img.b2bpic.net/free-photo/side-close-up-view-plate-fastfood-chicken-wings-french-fries-with-lemon-bowls-sauces-spices-pink-white-checkered-tablecloth-right-side-black-table_140725-110463.jpg?_wi=4", - imageAlt: "Riverside Mall KFC location", - button: { - text: "Get Directions", - href: "#", - }, + title: "Riverside Mall", description: "Convenient mall location with quick service counter. Open 11am-10pm daily. Large parking lot.", imageSrc: "http://img.b2bpic.net/free-photo/side-close-up-view-plate-fastfood-chicken-wings-french-fries-with-lemon-bowls-sauces-spices-pink-white-checkered-tablecloth-right-side-black-table_140725-110463.jpg", imageAlt: "Riverside Mall KFC location", button: { + text: "Get Directions", href: "#"}, }, { - title: "Highway Express", - description: "Drive-thru and takeout focused location. Open 9am-11:30pm daily. Quick service, perfect for on-the-go.", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-american-food-with-copy-space_23-2148454905.jpg?_wi=3", - imageAlt: "Highway Express KFC drive-thru", - button: { - text: "Get Directions", - href: "#", - }, + title: "Highway Express", description: "Drive-thru and takeout focused location. Open 9am-11:30pm daily. Quick service, perfect for on-the-go.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-american-food-with-copy-space_23-2148454905.jpg", imageAlt: "Highway Express KFC drive-thru", button: { + text: "Get Directions", href: "#"}, }, ]} /> @@ -109,41 +85,26 @@ export default function LocationsPage() { title="Location Information" description="Find answers about our locations, hours, services, and amenities." tag="Location Help" - tagIcon="HelpCircle" + tagIcon={HelpCircle} tagAnimation="slide-up" textboxLayout="default" useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/serious-man-sitting-with-hands-clasped_482257-121953.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/serious-man-sitting-with-hands-clasped_482257-121953.jpg" imageAlt="KFC restaurant counter" mediaAnimation="slide-up" mediaPosition="right" faqsAnimation="slide-up" faqs={[ { - id: "1", - title: "What are your typical store hours?", - content: "Most KFC locations operate from 10am to 11pm daily. However, hours may vary by location. Check our store locator for specific hours at your nearest restaurant.", - }, + id: "1", title: "What are your typical store hours?", content: "Most KFC locations operate from 10am to 11pm daily. However, hours may vary by location. Check our store locator for specific hours at your nearest restaurant."}, { - id: "2", - title: "Do all locations offer delivery?", - content: "Yes! All our locations offer delivery through our app and website. Delivery times typically range from 30-45 minutes depending on your distance from the restaurant.", - }, + id: "2", title: "Do all locations offer delivery?", content: "Yes! All our locations offer delivery through our app and website. Delivery times typically range from 30-45 minutes depending on your distance from the restaurant."}, { - id: "3", - title: "Can I reserve a table for a group?", - content: "Absolutely! Call your nearest location directly to reserve a table for groups of 8 or more. We can accommodate large parties and special occasions.", - }, + id: "3", title: "Can I reserve a table for a group?", content: "Absolutely! Call your nearest location directly to reserve a table for groups of 8 or more. We can accommodate large parties and special occasions."}, { - id: "4", - title: "Which locations have drive-thru service?", - content: "Most of our locations feature drive-thru service. Visit our store locator to filter for drive-thru options near you.", - }, + id: "4", title: "Which locations have drive-thru service?", content: "Most of our locations feature drive-thru service. Visit our store locator to filter for drive-thru options near you."}, { - id: "5", - title: "Are there KFC locations open on holidays?", - content: "Most locations remain open on major holidays with modified hours. We recommend calling ahead to confirm holiday hours at your preferred location.", - }, + id: "5", title: "Are there KFC locations open on holidays?", content: "Most locations remain open on major holidays with modified hours. We recommend calling ahead to confirm holiday hours at your preferred location."}, ]} /> @@ -152,66 +113,39 @@ export default function LocationsPage() { Date: Thu, 12 Mar 2026 18:52:02 +0000 Subject: [PATCH 3/4] Update src/app/page.tsx --- src/app/page.tsx | 162 +++++++++++------------------------------------ 1 file changed, 36 insertions(+), 126 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 05e3177..9e29f98 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -45,7 +45,7 @@ export default function HomePage() { @@ -126,20 +105,12 @@ export default function HomePage() { useInvertedBackground={false} features={[ { - title: "50% Off Family Buckets", - description: - "Get half off any family-size bucket when you order before 6 PM. Perfect for dinner time savings.", - imageSrc: "http://img.b2bpic.net/free-psd/burger-social-media-post-design_505751-4398.jpg?_wi=1", - imageAlt: "50% off promotion", - button: { text: "Claim Offer", href: "/order" }, + title: "50% Off Family Buckets", description: + "Get half off any family-size bucket when you order before 6 PM. Perfect for dinner time savings.", imageSrc: "http://img.b2bpic.net/free-psd/burger-social-media-post-design_505751-4398.jpg", imageAlt: "50% off promotion", button: { text: "Claim Offer", href: "/order" }, }, { - title: "Free Delivery Over $30", - description: - "Free delivery on orders over $30. Fast, fresh chicken delivered right to your door.", - imageSrc: "http://img.b2bpic.net/free-psd/burger-social-media-post-design_505751-4398.jpg?_wi=2", - imageAlt: "Free delivery offer", - button: { text: "Order Now", href: "/order" }, + title: "Free Delivery Over $30", description: + "Free delivery on orders over $30. Fast, fresh chicken delivered right to your door.", imageSrc: "http://img.b2bpic.net/free-psd/burger-social-media-post-design_505751-4398.jpg", imageAlt: "Free delivery offer", button: { text: "Order Now", href: "/order" }, }, ]} /> @@ -149,10 +120,7 @@ export default function HomePage() { @@ -234,42 +162,27 @@ export default function HomePage() { tagAnimation="slide-up" textboxLayout="default" useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/serious-man-sitting-with-hands-clasped_482257-121953.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/serious-man-sitting-with-hands-clasped_482257-121953.jpg" imageAlt="KFC customer service" mediaAnimation="slide-up" mediaPosition="right" faqsAnimation="slide-up" faqs={[ { - id: "1", - title: "What is KFC's secret recipe?", - content: - "Colonel Harland Sanders' original secret recipe uses 11 herbs and spices to create our signature taste. This unique blend has remained unchanged for over 75 years and is what makes KFC chicken truly special.", - }, + id: "1", title: "What is KFC's secret recipe?", content: + "Colonel Harland Sanders' original secret recipe uses 11 herbs and spices to create our signature taste. This unique blend has remained unchanged for over 75 years and is what makes KFC chicken truly special."}, { - id: "2", - title: "How long does delivery take?", - content: - "Standard delivery typically takes 30-45 minutes depending on your location. We also offer express delivery options for select areas. Orders are prepared fresh and delivered hot.", - }, + id: "2", title: "How long does delivery take?", content: + "Standard delivery typically takes 30-45 minutes depending on your location. We also offer express delivery options for select areas. Orders are prepared fresh and delivered hot."}, { - id: "3", - title: "Do you offer vegetarian options?", - content: - "Yes! We offer several vegetarian sides including coleslaw, mashed potatoes with gravy, corn on the cob, and bean salads. Check our full menu for all available options.", - }, + id: "3", title: "Do you offer vegetarian options?", content: + "Yes! We offer several vegetarian sides including coleslaw, mashed potatoes with gravy, corn on the cob, and bean salads. Check our full menu for all available options."}, { - id: "4", - title: "Can I customize my order?", - content: - "Absolutely! You can customize any meal by selecting your preferred chicken pieces, sides, and beverages. Special requests can be added in the order notes.", - }, + id: "4", title: "Can I customize my order?", content: + "Absolutely! You can customize any meal by selecting your preferred chicken pieces, sides, and beverages. Special requests can be added in the order notes."}, { - id: "5", - title: "Do you have locations nearby?", - content: - "KFC operates 150+ locations across the country. Visit our Locations page to find the nearest restaurant with opening hours, phone number, and address.", - }, + id: "5", title: "Do you have locations nearby?", content: + "KFC operates 150+ locations across the country. Visit our Locations page to find the nearest restaurant with opening hours, phone number, and address."}, ]} /> @@ -283,7 +196,7 @@ export default function HomePage() { tagAnimation="slide-up" background={{ variant: "plain" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/chef-with-fruits-vegetables_23-2148145567.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/chef-with-fruits-vegetables_23-2148145567.jpg" imageAlt="Fresh KFC chicken preparation" mediaAnimation="slide-up" mediaPosition="left" @@ -297,8 +210,7 @@ export default function HomePage() { Date: Thu, 12 Mar 2026 18:52:03 +0000 Subject: [PATCH 4/4] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 +++++++++---------- 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..1d2ce9c 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; + width?: number; + height?: number; + fontSize?: number; + fontFamily?: string; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + width = 200, + height = 60, + fontSize = 32, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + className, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1