From 4c59dc0cb052d74412650ff7dbdfba48a5125e1b Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 10:31:13 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6cec20b..302e2b8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -99,8 +99,7 @@ export default function LandingPage() { { label: "Day 1", detail: "You meet your perfect AI companion" }, { label: "Week 1", detail: "Your Twinly learns your preferences" }, { label: "Month 1", detail: "A meaningful relationship develops" } - ], - completedLabel: "Milestone Reached" + ], completedLabel: "Milestone Reached" }, { title: "24/7 Availability", description: "Support whenever you need it. Your AI companion is always ready to listen, support, and help you through any moment.", bentoComponent: "icon-info-cards", items: [ @@ -149,7 +148,7 @@ export default function LandingPage() { { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3At2li1HUBD4f3S3iixZ5WgYDwc/a-peaceful-contented-person-with-serene--1773397774749-9adb9dfd.png", alt: "Casey P." } ]} ratingAnimation="slide-up" - avatarsAnimation="fade-in" + avatarsAnimation="slide-up" useInvertedBackground={false} /> -- 2.49.1 From d766add16fb3d6e6a347c6f9d49e6961541d2e48 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 10:31:13 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e164812 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,51 @@ -"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; + color?: string; + dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'hanging' | 'mathematical'; } -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 = 700, + letterSpacing = 0, + color = '#000000', + dominantBaseline = 'middle', +}) => { + const textWidth = text.length * fontSize * 0.6; + const svgWidth = textWidth + 20; + const svgHeight = fontSize + 10; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1