diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 650d835..9254f02 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -38,9 +38,7 @@ export default function AboutPage() { brandName="Food Fest" navItems={navItems} button={{ - text: "Order Now", - href: "#contact", - }} + text: "Order Now", href: "#contact"}} animateOnLoad={true} /> @@ -52,17 +50,14 @@ export default function AboutPage() { description="Food Fest Cafeteria is a beloved neighborhood spot in Dubai where residents, workers, and visitors gather for authentic flavors and genuine hospitality. Since opening our doors, we've been dedicated to serving fresh, delicious food and beverages that bring people together. From morning karak tea and aromatic coffee to satisfying sandwiches, burgers, and traditional shawarma, we've got something for everyone. Our commitment to quality, affordability, and quick service makes us the go-to destination for a quick bite or a relaxed café experience. We believe in creating a welcoming space where community matters. Visit us today!" metrics={[ { - value: "10+ Years", - title: "Trusted Service", - }, + value: "10+ Years", title: "Trusted Service"}, { - value: "5000+", - title: "Happy Customers", - }, + value: "5000+", title: "Happy Customers"}, ]} imageSrc="http://img.b2bpic.net/free-photo/two-men-cafe_23-2147775893.jpg" imageAlt="Food Fest Cafeteria interior" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -71,13 +66,9 @@ export default function AboutPage() { diff --git a/src/app/page.tsx b/src/app/page.tsx index afd3a9a..1fc1157 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,7 +6,9 @@ import HeroLogoBillboard from "@/components/sections/hero/HeroLogoBillboard"; import FeatureCardNineteen from "@/components/sections/feature/FeatureCardNineteen"; import ProductCardThree from "@/components/sections/product/ProductCardThree"; import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve"; +import ContactFaq from "@/components/sections/contact/ContactFaq"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; +import { Phone } from "lucide-react"; import Link from "next/link"; export default function HomePage() { @@ -33,9 +35,7 @@ export default function HomePage() { { name: "Contact", id: "/contact" }, ]} button={{ - text: "Order Now", - href: "#contact", - }} + text: "Order Now", href: "#contact"}} animateOnLoad={true} /> @@ -48,7 +48,7 @@ export default function HomePage() { { text: "View Menu", href: "/menu" }, { text: "Contact Us", href: "#contact" }, ]} - background={{ variant: "circleGradient" }} + background={{ variant: "canvas-reveal" }} imageSrc="http://img.b2bpic.net/free-photo/top-view-people-toasting-party_23-2148232023.jpg" imageAlt="Food Fest Cafeteria welcomes you" mediaAnimation="slide-up" @@ -65,31 +65,18 @@ export default function HomePage() { features={[ { id: 1, - tag: "Premium Quality", - title: "Fresh Ingredients", - subtitle: "Always Fresh, Always Delicious", - description: "We source only the finest fresh ingredients daily. From hand-picked vegetables to premium coffee beans, quality is our promise. Every sandwich, burger, and drink is made with care and freshness.", - }, + tag: "Premium Quality", title: "Fresh Ingredients", subtitle: "Always Fresh, Always Delicious", description: "We source only the finest fresh ingredients daily. From hand-picked vegetables to premium coffee beans, quality is our promise. Every sandwich, burger, and drink is made with care and freshness."}, { id: 2, - tag: "Speed & Efficiency", - title: "Quick Service", - subtitle: "Your Order Ready in Minutes", - description: "Perfect for busy professionals and workers. We understand your time is valuable. Our efficient team ensures your order is prepared quickly without compromising on quality or taste.", - }, + tag: "Speed & Efficiency", title: "Quick Service", subtitle: "Your Order Ready in Minutes", description: "Perfect for busy professionals and workers. We understand your time is valuable. Our efficient team ensures your order is prepared quickly without compromising on quality or taste."}, { id: 3, - tag: "Value for Money", - title: "Affordable Prices", - subtitle: "Great Quality, Best Prices", - description: "Enjoy premium café fare at neighborhood prices. We believe great food shouldn't break the bank. Quality refreshments and meals designed for every budget in Dubai.", - }, + tag: "Value for Money", title: "Affordable Prices", subtitle: "Great Quality, Best Prices", description: "Enjoy premium café fare at neighborhood prices. We believe great food shouldn't break the bank. Quality refreshments and meals designed for every budget in Dubai."}, ]} textboxLayout="default" useInvertedBackground={false} tagAnimation="slide-up" buttonAnimation="slide-up" - mediaAnimation="none" /> @@ -99,47 +86,17 @@ export default function HomePage() { description="Explore our delicious selection of hot drinks, cold beverages, sandwiches, burgers, and snacks." products={[ { - id: "1", - name: "Karak Tea", - price: "5 AED", - imageSrc: "http://img.b2bpic.net/free-photo/cup-tea-with-cinnamons-cookies-white-table_114579-30485.jpg?_wi=1", - imageAlt: "Karak Tea", - }, + id: "1", name: "Karak Tea", price: "5 AED", imageSrc: "http://img.b2bpic.net/free-photo/cup-tea-with-cinnamons-cookies-white-table_114579-30485.jpg", imageAlt: "Karak Tea"}, { - id: "2", - name: "Fresh Coffee", - price: "8 AED", - imageSrc: "http://img.b2bpic.net/free-photo/coffee-beans-black-background-with-drink-burlap_114579-16644.jpg?_wi=1", - imageAlt: "Fresh Coffee", - }, + id: "2", name: "Fresh Coffee", price: "8 AED", imageSrc: "http://img.b2bpic.net/free-photo/coffee-beans-black-background-with-drink-burlap_114579-16644.jpg", imageAlt: "Fresh Coffee"}, { - id: "3", - name: "Fresh Juice", - price: "7 AED", - imageSrc: "http://img.b2bpic.net/free-photo/glasses-juice-with-apple-peach_114579-21877.jpg?_wi=1", - imageAlt: "Fresh Juice", - }, + id: "3", name: "Fresh Juice", price: "7 AED", imageSrc: "http://img.b2bpic.net/free-photo/glasses-juice-with-apple-peach_114579-21877.jpg", imageAlt: "Fresh Juice"}, { - id: "4", - name: "Chicken Sandwich", - price: "12 AED", - imageSrc: "http://img.b2bpic.net/free-photo/front-close-view-tasty-toast-sandwiches-with-cheese-ham-inside-plate-white-surface_140725-20016.jpg?_wi=1", - imageAlt: "Chicken Sandwich", - }, + id: "4", name: "Chicken Sandwich", price: "12 AED", imageSrc: "http://img.b2bpic.net/free-photo/front-close-view-tasty-toast-sandwiches-with-cheese-ham-inside-plate-white-surface_140725-20016.jpg", imageAlt: "Chicken Sandwich"}, { - id: "5", - name: "Juicy Burger", - price: "15 AED", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-burger-ingredients-frame_23-2148235102.jpg?_wi=1", - imageAlt: "Juicy Burger", - }, + id: "5", name: "Juicy Burger", price: "15 AED", imageSrc: "http://img.b2bpic.net/free-photo/top-view-burger-ingredients-frame_23-2148235102.jpg", imageAlt: "Juicy Burger"}, { - id: "6", - name: "Delicious Shawarma", - price: "14 AED", - imageSrc: "http://img.b2bpic.net/free-photo/assortment-with-delicious-high-protein-vegan-meal_23-2149039399.jpg?_wi=1", - imageAlt: "Delicious Shawarma", - }, + id: "6", name: "Delicious Shawarma", price: "14 AED", imageSrc: "http://img.b2bpic.net/free-photo/assortment-with-delicious-high-protein-vegan-meal_23-2149039399.jpg", imageAlt: "Delicious Shawarma"}, ]} gridVariant="three-columns-all-equal-width" animationType="slide-up" @@ -154,41 +111,17 @@ export default function HomePage() { +
+ +
+ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..1a727c8 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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; + fontSize?: number; + fontWeight?: string | number; + fontFamily?: string; + textAnchor?: "start" | "middle" | "end"; + dominantBaseline?: "auto" | "middle" | "hanging"; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = "", fontSize = 48, + fontWeight = "bold", fontFamily = "system-ui, -apple-system, sans-serif", textAnchor = "middle", dominantBaseline = "middle"}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file