diff --git a/src/app/page.tsx b/src/app/page.tsx index 6501502..4a18455 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -48,7 +48,7 @@ export default function LandingPage() { tag="Now Streaming" tagIcon={Play} tagAnimation="slide-up" - background={{ variant: "glowing-orb" }} + background={{ variant: "floatingGradient" }} imageSrc="http://img.b2bpic.net/free-psd/international-museum-day-poster-template_23-2151361099.jpg" imageAlt="Steve Jobs visionary founder portrait" imagePosition="right" @@ -56,15 +56,15 @@ export default function LandingPage() { testimonials={[ { name: "Sarah Chen", handle: "Film Critic, Arts Weekly", testimonial: "A profound and intimate look at the man behind the innovation. Brilliantly crafted storytelling.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg" }, { name: "Michael Patterson", handle: "Business Editor, Tech Today", testimonial: "Essential viewing for anyone curious about technology and human ambition.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-labor-union-member_23-2150969905.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-labor-union-member_23-2150969905.jpg" }, { name: "James Rivera", handle: "Documentary Producer", testimonial: "A masterclass in biographical filmmaking that captures the complexity of a visionary.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-isolated-dark-background_613910-17869.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-isolated-dark-background_613910-17869.jpg" } ]} testimonialRotationInterval={5000} @@ -131,15 +131,15 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Emily Walsh", role: "Film Enthusiast", company: "Cinema Society", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg" }, { id: "2", name: "David Lin", role: "Technology Professional", company: "Tech Innovators Inc", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-labor-union-member_23-2150969905.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-labor-union-member_23-2150969905.jpg" }, { id: "3", name: "Priya Kapoor", role: "Educator", company: "Innovation Academy", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-isolated-dark-background_613910-17869.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-isolated-dark-background_613910-17869.jpg" }, { id: "4", name: "Robert Morrison", role: "Business Professor", company: "University of Commerce", rating: 5, @@ -224,7 +224,7 @@ export default function LandingPage() { { text: "Join Our Newsletter", href: "#" } ]} buttonAnimation="slide-up" - background={{ variant: "glowing-orb" }} + background={{ variant: "floatingGradient" }} useInvertedBackground={true} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..52ee219 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; +export default SvgTextLogo; \ No newline at end of file