diff --git a/src/app/page.tsx b/src/app/page.tsx index 76eab3b..bc7d4f3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import ContactCTA from "@/components/sections/contact/ContactCTA"; import PricingCardEight from "@/components/sections/pricing/PricingCardEight"; import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; -import { Award, Camera, CheckCircle, Film, Heart, Lens, Mail, MapPin, Music, Smile, Sparkles, Star, User, Video } from "lucide-react"; +import { Award, Camera, CheckCircle, Film, Heart, Mail, MapPin, Music, Smile, Sparkles, Star, User, Video } from "lucide-react"; export default function LandingPage() { return ( @@ -128,8 +128,9 @@ export default function LandingPage() { } ]} imagePosition="right" - imageSrc="http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016747.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016747.jpg" imageAlt="Axel Del Cid behind the camera" + mediaAnimation="blur-reveal" /> @@ -214,7 +215,7 @@ export default function LandingPage() { useInvertedBackground={false} bulletPoints={[ { - title: "Storytelling Focus", description: "Every session is an opportunity to document authentic emotions and real connections.", icon: Lens + title: "Storytelling Focus", description: "Every session is an opportunity to document authentic emotions and real connections.", icon: Camera }, { title: "Professional Excellence", description: "Over a decade of experience delivering stunning results that exceed expectations.", icon: Award @@ -227,8 +228,9 @@ export default function LandingPage() { } ]} imagePosition="left" - imageSrc="http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016747.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016747.jpg" imageAlt="Axel Del Cid Photography" + mediaAnimation="blur-reveal" /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..34b8387 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,40 @@ -"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?: number | string; + letterSpacing?: number; + dominantBaseline?: "middle" | "auto" | "central" | "text-after-edge"; } -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 = 700, + letterSpacing = 2, + dominantBaseline = "middle"}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file