diff --git a/src/app/page.tsx b/src/app/page.tsx index 9132eaa..73e876d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCar import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterCard from '@/components/sections/footer/FooterCard'; -import { Sparkles, Lemon, CheckCircle, Heart, Instagram, Facebook, Twitter, Phone } from 'lucide-react'; +import { Sparkles, Citrus, CheckCircle, Heart, Instagram, Facebook, Twitter, Phone } from 'lucide-react'; export default function LandingPage() { return ( @@ -47,33 +47,33 @@ export default function LandingPage() { tagIcon={Sparkles} title="Quench Your Thirst with Real Lemonade" description="Handcrafted lemonade made fresh daily with quality ingredients. Perfect for summer gatherings, picnics, and outdoor events. Experience the taste of pure refreshment." - background={{ variant: "glowing-orb" }} + background={{ variant: "fluid" }} leftCarouselItems={[ { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y1jrzp&_wi=1", imageAlt: "Fresh lemonade pitcher" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y1jrzp", imageAlt: "Fresh lemonade pitcher" }, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=awy1mr&_wi=1", imageAlt: "Quality ingredients" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=awy1mr", imageAlt: "Quality ingredients" }, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=e4b7iv&_wi=1", imageAlt: "Handmade preparation" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=e4b7iv", imageAlt: "Handmade preparation" }, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ajef5t&_wi=1", imageAlt: "Cold refreshing lemonade" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ajef5t", imageAlt: "Cold refreshing lemonade" } ]} rightCarouselItems={[ { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=oosafr&_wi=1", imageAlt: "Community gathering" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=oosafr", imageAlt: "Community gathering" }, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rs1j7k&_wi=1", imageAlt: "Lemonade stand setup" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rs1j7k", imageAlt: "Lemonade stand setup" }, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y1jrzp&_wi=2", imageAlt: "Fresh lemonade" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y1jrzp", imageAlt: "Fresh lemonade" }, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=awy1mr&_wi=2", imageAlt: "Premium ingredients" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=awy1mr", imageAlt: "Premium ingredients" } ]} buttons={[ @@ -87,17 +87,18 @@ export default function LandingPage() {
@@ -112,15 +113,15 @@ export default function LandingPage() { features={[ { id: 1, - title: "Premium Fresh Lemons", description: "We source the finest, ripest lemons and squeeze them fresh daily. No bottled juice, no shortcuts. Just pure, natural lemonade.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=e4b7iv&_wi=2", imageAlt: "Fresh lemon pressing" + title: "Premium Fresh Lemons", description: "We source the finest, ripest lemons and squeeze them fresh daily. No bottled juice, no shortcuts. Just pure, natural lemonade.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=e4b7iv", imageAlt: "Fresh lemon pressing" }, { id: 2, - title: "Perfectly Refreshing", description: "Cold, crisp, and perfectly balanced sweetness. Every sip is an experience of pure refreshment designed to beat the heat.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ajef5t&_wi=2", imageAlt: "Cold refreshing lemonade" + title: "Perfectly Refreshing", description: "Cold, crisp, and perfectly balanced sweetness. Every sip is an experience of pure refreshment designed to beat the heat.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ajef5t", imageAlt: "Cold refreshing lemonade" }, { id: 3, - title: "Community Driven", description: "More than just a beverage, our lemonade brings people together. Perfect for gatherings, events, and creating memories with friends and family.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=oosafr&_wi=2", imageAlt: "Community gathering with lemonade" + title: "Community Driven", description: "More than just a beverage, our lemonade brings people together. Perfect for gatherings, events, and creating memories with friends and family.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=oosafr", imageAlt: "Community gathering with lemonade" } ]} /> @@ -180,9 +181,9 @@ export default function LandingPage() { tagIcon={Phone} title="Order Your Fresh Lemonade Today" description="Subscribe to our newsletter for updates, special offers, and event information. Or reach out directly to place a custom order for your next gathering." - background={{ variant: "glowing-orb" }} + background={{ variant: "fluid" }} useInvertedBackground={false} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rs1j7k&_wi=2" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rs1j7k" imageAlt="Our lemonade stand" mediaPosition="right" inputPlaceholder="Enter your email" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..2c6a891 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,28 @@ -"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; +}; \ No newline at end of file