diff --git a/src/app/page.tsx b/src/app/page.tsx index efb64de..48ff89b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSp import TestimonialCardTen from "@/components/sections/testimonial/TestimonialCardTen"; import ContactFaq from "@/components/sections/contact/ContactFaq"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; -import { Phone } from "lucide-react"; +import { Phone, Zap } from "lucide-react"; export default function LandingPage() { return ( @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumSmall" sizing="large" - background="noise" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="shadow" secondaryButtonStyle="solid" @@ -42,11 +42,11 @@ export default function LandingPage() { title="Crispy, Fresh, Delivered Fast" description="Experience the perfect fried chicken ordering experience. Quick, simple, and delicious." tag="Fast Delivery" - tagIcon="Zap" - background={{ variant: "noise" }} + tagIcon={Zap} + background={{ variant: "plain" }} mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg?_wi=1", imageAlt: "Fresh crispy fried chicken" + imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg", imageAlt: "Fresh crispy fried chicken" }, { imageSrc: "http://img.b2bpic.net/free-photo/vertical-view-crispy-fried-chicken-with-mayonnaise-ketchup_140725-54247.jpg", imageAlt: "Golden fried chicken meal" @@ -71,15 +71,15 @@ export default function LandingPage() { features={[ { id: 1, - title: "Call Now", description: "Dial 01100016162 and speak to our friendly team ready to take your order anytime.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg?_wi=2", imageAlt: "Call ChickenBox" + title: "Call Now", description: "Dial 01100016162 and speak to our friendly team ready to take your order anytime.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg", imageAlt: "Call ChickenBox" }, { id: 2, - title: "Choose Your Meal", description: "Pick from our crispy chicken boxes, sandwiches, meals, and sides. Everything made fresh.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg?_wi=1", imageAlt: "Chicken Box Menu" + title: "Choose Your Meal", description: "Pick from our crispy chicken boxes, sandwiches, meals, and sides. Everything made fresh.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg", imageAlt: "Chicken Box Menu" }, { id: 3, - title: "Fast Delivery", description: "We prepare your order quickly and deliver hot to your location at 306 Corniche Street, El Tor.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg?_wi=1", imageAlt: "Chicken Meal Delivery" + title: "Fast Delivery", description: "We prepare your order quickly and deliver hot to your location at 306 Corniche Street, El Tor.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg", imageAlt: "Chicken Meal Delivery" } ]} /> @@ -95,16 +95,16 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "1", name: "Chicken Box", price: "₤50", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg?_wi=2", imageAlt: "Crispy fried chicken box" + id: "1", name: "Chicken Box", price: "₤50", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg", imageAlt: "Crispy fried chicken box" }, { id: "2", name: "Chicken Sandwich", price: "₤35", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sandwich-with-green-salad-tomatoes-ham-inside-plate-with-french-fries_140725-29971.jpg", imageAlt: "Golden fried chicken sandwich" }, { - id: "3", name: "Chicken Meal", price: "₤60", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg?_wi=2", imageAlt: "Complete chicken meal combo" + id: "3", name: "Chicken Meal", price: "₤60", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg", imageAlt: "Complete chicken meal combo" }, { - id: "4", name: "Fries & Sides", price: "₤20", imageSrc: "http://img.b2bpic.net/free-photo/side-view-crackers-black-pan-wooden-cutting-board-dark-horizontal_176474-4184.jpg?_wi=1", imageAlt: "Golden crispy fries" + id: "4", name: "Fries & Sides", price: "₤20", imageSrc: "http://img.b2bpic.net/free-photo/side-view-crackers-black-pan-wooden-cutting-board-dark-horizontal_176474-4184.jpg", imageAlt: "Golden crispy fries" } ]} /> @@ -132,19 +132,19 @@ export default function LandingPage() { features={[ { id: 1, - title: "Always Fresh", description: "We prepare every meal fresh to order using the highest quality ingredients. Never frozen, always delicious.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg?_wi=3", imageAlt: "Fresh Ingredients" + title: "Always Fresh", description: "We prepare every meal fresh to order using the highest quality ingredients. Never frozen, always delicious.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg", imageAlt: "Fresh Ingredients" }, { id: 2, - title: "Quick Service", description: "Order by phone and get your meal ready in minutes. We prioritize speed without sacrificing quality.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg?_wi=3", imageAlt: "Quick Service" + title: "Quick Service", description: "Order by phone and get your meal ready in minutes. We prioritize speed without sacrificing quality.", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-legs-wings-wooden-board-with-lettuce-pepper-high-quality-photo_114579-69091.jpg", imageAlt: "Quick Service" }, { id: 3, - title: "Local Favorite", description: "Trusted by families and students across El Tor for quality fried chicken and friendly service.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg?_wi=3", imageAlt: "Local Favorite" + title: "Local Favorite", description: "Trusted by families and students across El Tor for quality fried chicken and friendly service.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-chicken-french-fries_140725-114450.jpg", imageAlt: "Local Favorite" }, { id: 4, - title: "Affordable Prices", description: "Great food at prices that work for your budget. Meals for singles or groups, all reasonably priced.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-crackers-black-pan-wooden-cutting-board-dark-horizontal_176474-4184.jpg?_wi=2", imageAlt: "Affordable Prices" + title: "Affordable Prices", description: "Great food at prices that work for your budget. Meals for singles or groups, all reasonably priced.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-crackers-black-pan-wooden-cutting-board-dark-horizontal_176474-4184.jpg", imageAlt: "Affordable Prices" } ]} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3957f15 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file