diff --git a/src/app/page.tsx b/src/app/page.tsx index 95480d2..031de57 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -53,7 +53,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/man-woman-hold-their-hands-up-while-dancing_1304-3741.jpg", imageAlt: "Church worship service" }, { - imageSrc: "http://img.b2bpic.net/free-photo/low-angle-group-happy-diverse-friends-talking-each-other-laughing_181624-23675.jpg?_wi=1", imageAlt: "Church community fellowship" + imageSrc: "http://img.b2bpic.net/free-photo/low-angle-group-happy-diverse-friends-talking-each-other-laughing_181624-23675.jpg", imageAlt: "Church community fellowship" } ]} rating={5} @@ -88,7 +88,7 @@ export default function LandingPage() { tag="Core Purpose" tagIcon={Flame} textboxLayout="default" - animationType="blur-reveal" + animationType="smooth" useInvertedBackground={false} features={[ { @@ -101,7 +101,7 @@ export default function LandingPage() { }, { id: 3, - title: "Victory in Life", description: "Empowering people to live victorious lives through Christ. We help believers overcome challenges, build strong families, and equip them to impact their communities with God's love.", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-group-happy-diverse-friends-talking-each-other-laughing_181624-23675.jpg?_wi=2", imageAlt: "Community fellowship" + title: "Victory in Life", description: "Empowering people to live victorious lives through Christ. We help believers overcome challenges, build strong families, and equip them to impact their communities with God's love.", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-group-happy-diverse-friends-talking-each-other-laughing_181624-23675.jpg", imageAlt: "Community fellowship" } ]} /> @@ -199,7 +199,7 @@ export default function LandingPage() { tag="Contact Information" tagIcon={MapPin} textboxLayout="default" - animationType="blur-reveal" + animationType="smooth" useInvertedBackground={true} faqsAnimation="slide-up" faqs={[ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..90efe93 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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?: 'bold' | 'normal' | 'semibold'; + letterSpacing?: number; } -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 = 24, + fontWeight = 'bold', + letterSpacing = 0, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;