diff --git a/src/app/page.tsx b/src/app/page.tsx index 569d131..366d027 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import MediaAbout from '@/components/sections/about/MediaAbout'; import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterCard from '@/components/sections/footer/FooterCard'; -import { Heart, Instagram, Mail, Palette, Leaf, Zap, Shield, Sparkles, Star, TikTok, Twitter } from 'lucide-react'; +import { Heart, Instagram, Mail, Palette, Leaf, Zap, Shield, Sparkles, Star, Twitter } from 'lucide-react'; export default function LandingPage() { return ( @@ -204,8 +204,7 @@ export default function LandingPage() { copyrightText="© 2025 Aesthetic. All rights reserved." socialLinks={[ { icon: Instagram, href: "https://instagram.com/aesthetic", ariaLabel: "Instagram" }, - { icon: Twitter, href: "https://twitter.com/aesthetic", ariaLabel: "Twitter" }, - { icon: TikTok, href: "https://tiktok.com/@aesthetic", ariaLabel: "TikTok" } + { icon: Twitter, href: "https://twitter.com/aesthetic", ariaLabel: "Twitter" } ]} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f4d9f93 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,34 @@ -"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; + id?: 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 = '', id }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;