diff --git a/src/app/page.tsx b/src/app/page.tsx index deb5b99..848591f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,7 +11,7 @@ import MetricCardThree from '@/components/sections/metrics/MetricCardThree'; import FaqBase from '@/components/sections/faq/FaqBase'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; -import { Award, Calendar, CheckCircle, Clock, Heart, MapPin, Sparkles, Star, TrendingUp, Users } from 'lucide-react'; +import { Award, Calendar, CheckCircle, Clock, Heart, MapPin, Sparkles, Star, TrendingUp, Users, HelpCircle } from 'lucide-react'; export default function LandingPage() { return ( @@ -55,10 +55,10 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/light-lamp-decor-glowing_1339-3091.jpg", imageAlt: "Citrus By The Pool - Poolside Dining" }, { - imageSrc: "http://img.b2bpic.net/free-photo/delicious-dish-healthy-food_23-2148145640.jpg?_wi=1", imageAlt: "Citrus By The Pool - Restaurant Interior" + imageSrc: "http://img.b2bpic.net/free-photo/delicious-dish-healthy-food_23-2148145640.jpg", imageAlt: "Citrus By The Pool - Restaurant Interior" }, { - imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-fresh-cheese-table_23-2150267670.jpg?_wi=1", imageAlt: "Generous Fusion Portions" + imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-fresh-cheese-table_23-2150267670.jpg", imageAlt: "Generous Fusion Portions" } ]} autoplayDelay={4000} @@ -76,9 +76,10 @@ export default function LandingPage() { { value: "20,000+", title: "Five-Star Reviews" }, { value: "100% Halal", title: "Certified & Transparent" } ]} - imageSrc="http://img.b2bpic.net/free-photo/delicious-dish-healthy-food_23-2148145640.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/delicious-dish-healthy-food_23-2148145640.jpg" imageAlt="Citrus By The Pool Restaurant" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -94,7 +95,7 @@ export default function LandingPage() { id: "1", title: "Generous Portions", descriptions: [ "Shareable family platters designed for groups", "Premium ingredients with authentic recipes", "Value for money without compromising quality" ], - imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-fresh-cheese-table_23-2150267670.jpg?_wi=2", imageAlt: "Generous Fusion Portions" + imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-fresh-cheese-table_23-2150267670.jpg", imageAlt: "Generous Fusion Portions" }, { id: "2", title: "Halal Certified", descriptions: [ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..680c3c1 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); - +const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;