diff --git a/src/app/page.tsx b/src/app/page.tsx index 5abc3de..4a33595 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 FaqDouble from "@/components/sections/faq/FaqDouble"; import FooterCard from "@/components/sections/footer/FooterCard"; -import { Compass, Facebook, Heart, Instagram, LinkedIn, Mountain, Star, TrendingUp, Twitter } from "lucide-react"; +import { Compass, Facebook, Heart, Instagram, Linkedin, Mountain, Star, TrendingUp, Twitter } from "lucide-react"; export default function LandingPage() { return ( @@ -59,15 +59,15 @@ export default function LandingPage() { testimonials={[ { name: "Sarah Johnson", handle: "Mountain enthusiast", testimonial: "TrailMate transformed how I explore nature. The community is incredible!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-caucasian-female-makes-photos-modern-camera-wears-headband-orange-jumper_273609-25957.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-caucasian-female-makes-photos-modern-camera-wears-headband-orange-jumper_273609-25957.jpg" }, { name: "Michael Chen", handle: "Adventure seeker", testimonial: "Best hiking app I've used. Safety features give me peace of mind.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-having-fun-while-walking-through-nature-with-her-arms-outstretched_637285-2206.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-having-fun-while-walking-through-nature-with-her-arms-outstretched_637285-2206.jpg" }, { name: "Emily Rodriguez", handle: "Trail explorer", testimonial: "Found amazing trails and met wonderful people through TrailMate!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/hiker-crossing-river_23-2147628764.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/hiker-crossing-river_23-2147628764.jpg" } ]} useInvertedBackground={false} @@ -127,15 +127,15 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Sarah Johnson", role: "Mountain Enthusiast", company: "Adventure Club Member", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-caucasian-female-makes-photos-modern-camera-wears-headband-orange-jumper_273609-25957.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-caucasian-female-makes-photos-modern-camera-wears-headband-orange-jumper_273609-25957.jpg" }, { id: "2", name: "Michael Chen", role: "Weekend Explorer", company: "Local Hiking Group", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-having-fun-while-walking-through-nature-with-her-arms-outstretched_637285-2206.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-having-fun-while-walking-through-nature-with-her-arms-outstretched_637285-2206.jpg" }, { id: "3", name: "Emily Rodriguez", role: "Trail Guide", company: "Outdoor Adventures Co.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/hiker-crossing-river_23-2147628764.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/hiker-crossing-river_23-2147628764.jpg" }, { id: "4", name: "David Kim", role: "Nature Photographer", company: "Outdoor Media", rating: 5, @@ -217,7 +217,7 @@ export default function LandingPage() { socialLinks={[ { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" }, { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" }, - { icon: LinkedIn, href: "https://linkedin.com", ariaLabel: "LinkedIn" }, + { icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" }, { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" } ]} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..39bc4e8 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,31 @@ -"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