From 16c5b43707835b659464dd5b4d362f667a8de018 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 05:45:58 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9dbc50e..2e4a8e9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -85,7 +85,7 @@ export default function LandingPage() { description="NFS combines cutting-edge AI capabilities with intuitive design tools, enabling you to create, iterate, and optimize automotive designs faster than ever before." tag="AI-Powered" tagIcon={Brain} - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" textboxLayout="default" animationType="blur-reveal" useInvertedBackground={true} @@ -112,7 +112,7 @@ export default function LandingPage() { description="Explore exceptional automotive designs brought to life by our platform. From concept vehicles to production-ready designs, witness the power of AI-assisted design." tag="Design Portfolio" tagIcon={Award} - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" textboxLayout="default" animationType="scale-rotate" useInvertedBackground={false} @@ -137,7 +137,7 @@ export default function LandingPage() { description="Real-world results from NFS users across the automotive industry, demonstrating the transformative power of intelligent design automation." tag="Industry Leading" tagIcon={TrendingUp} - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" textboxLayout="default" animationType="depth-3d" useInvertedBackground={true} @@ -156,7 +156,7 @@ export default function LandingPage() { description="Hear from automotive designers and studios who've transformed their workflow with our AI-powered platform. Real experiences from real professionals." tag="Client Reviews" tagIcon={Award} - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" textboxLayout="split" animationType="slide-up" useInvertedBackground={false} @@ -200,7 +200,7 @@ export default function LandingPage() { description="Choose the perfect plan for your design team. All plans include AI design engine, real-time collaboration, and cloud rendering." tag="Fair Pricing" tagIcon={DollarSign} - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" textboxLayout="default" animationType="slide-up" useInvertedBackground={true} -- 2.49.1 From 88bacc854773719325571af9009fc542156571aa Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 05:45:58 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 +++++++++---------- 1 file changed, 31 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d4c9c93 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"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?: string | number; + 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 = 48, + fontWeight = 700, + letterSpacing = 2, +}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const width = textLength * charWidth + letterSpacing * (textLength - 1) + 40; + const height = fontSize + 20; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1