From d732bbb1a7f8e9ddd41267e7de2babb0b02c6758 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 06:58:22 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index d0cfcb0..ea95b18 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -24,7 +24,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumSmall" sizing="largeSizeMediumTitles" - background="aurora" + background="circleGradient" cardStyle="outline" primaryButtonStyle="radial-glow" secondaryButtonStyle="radial-glow" @@ -50,7 +50,7 @@ export default function LandingPage() { tag="Premium Local Cafe" tagIcon={Sparkles} tagAnimation="slide-up" - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cuvb76&_wi=1" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cuvb76" imageAlt="Fresh brunch spread at TenTen Cafe" imagePosition="right" mediaAnimation="slide-up" @@ -63,19 +63,19 @@ export default function LandingPage() { testimonials={[ { name: "Sarah Chen", handle: "Fitness Enthusiast", testimonial: "The portions are generous and the ingredients are clearly fresh. My go-to spot after morning workouts!", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nvb7hi&_wi=1" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nvb7hi" }, { name: "James Mitchell", handle: "Local Professional", testimonial: "Best brunch in Filton. The atmosphere is warm and inviting, perfect for catching up with friends.", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nsylj5&_wi=1" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nsylj5" }, { name: "Emma Rodriguez", handle: "Health Coach", testimonial: "I appreciate how they highlight nutritional info. The vegan options are exceptional and delicious.", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=en7h2e&_wi=1" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=en7h2e" } ]} testimonialRotationInterval={5000} - background={{ variant: "aurora" }} + background={{ variant: "glowing-orb" }} /> @@ -149,20 +149,17 @@ export default function LandingPage() { { id: "strength", title: "After Strength Training", descriptions: [ "High protein content to support muscle recovery and growth", "Carbohydrates to replenish depleted glycogen stores", "Essential amino acids from quality animal and plant proteins" - ], - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=hnzs0i", imageAlt: "Protein-rich post-workout meal" + ], imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=hnzs0i", imageAlt: "Protein-rich post-workout meal" }, { id: "cardio", title: "After Cardio Session", descriptions: [ "Balanced carbs and electrolytes for rapid energy replenishment", "Moderate protein for recovery and tissue repair", "Antioxidant-rich fruits and vegetables to reduce inflammation" - ], - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=v19wz6", imageAlt: "Balanced recovery meal after cardio" + ], imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=v19wz6", imageAlt: "Balanced recovery meal after cardio" }, { id: "hiit", title: "After HIIT Training", descriptions: [ "Fast-digesting carbohydrates for quick recovery", "Plant-based proteins for sustained energy without heaviness", "Anti-inflammatory foods to support muscle repair and wellness" - ], - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=wnfkun", imageAlt: "Light recovery meal after high-intensity training" + ], imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=wnfkun", imageAlt: "Light recovery meal after high-intensity training" } ]} gridVariant="three-columns-all-equal-width" @@ -182,16 +179,16 @@ export default function LandingPage() { useInvertedBackground={false} testimonials={[ { - id: "1", title: "Perfect Post-Workout Spot", quote: "I come here every Saturday after my gym session. The protein-packed meals are delicious and filling. The staff is so friendly and always remembers my usual order!", name: "Michael Torres", role: "Fitness Enthusiast", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nsylj5&_wi=2", imageAlt: "Michael Torres" + id: "1", title: "Perfect Post-Workout Spot", quote: "I come here every Saturday after my gym session. The protein-packed meals are delicious and filling. The staff is so friendly and always remembers my usual order!", name: "Michael Torres", role: "Fitness Enthusiast", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nsylj5", imageAlt: "Michael Torres" }, { - id: "2", title: "Beautifully Presented and Delicious", quote: "Every dish looks like a work of art. The presentation is Instagram-worthy and the taste doesn't disappoint. My friends are now regulars too!", name: "Jessica Wong", role: "Food Blogger", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nvb7hi&_wi=2", imageAlt: "Jessica Wong" + id: "2", title: "Beautifully Presented and Delicious", quote: "Every dish looks like a work of art. The presentation is Instagram-worthy and the taste doesn't disappoint. My friends are now regulars too!", name: "Jessica Wong", role: "Food Blogger", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nvb7hi", imageAlt: "Jessica Wong" }, { id: "3", title: "Excellent Vegan Options", quote: "I was skeptical, but the vegan breakfast blew me away. The attention to detail and commitment to plant-based nutrition is impressive. Highly recommend!", name: "David Ali", role: "Health Coach", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=e7ep2g", imageAlt: "David Ali" }, { - id: "4", title: "Warm Atmosphere, Great Coffee", quote: "It's not just about the food—the whole vibe is welcoming. The coffee is excellent and the baristas are skilled. Perfect for a casual morning with friends.", name: "Sophie Bennett", role: "Local Professional", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=en7h2e&_wi=2", imageAlt: "Sophie Bennett" + id: "4", title: "Warm Atmosphere, Great Coffee", quote: "It's not just about the food—the whole vibe is welcoming. The coffee is excellent and the baristas are skilled. Perfect for a casual morning with friends.", name: "Sophie Bennett", role: "Local Professional", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=en7h2e", imageAlt: "Sophie Bennett" }, { id: "5", title: "Supporting Local Business", quote: "Love supporting a local cafe that cares about ingredient quality and customer wellness. TenTen is a gem in Filton. Worth the wait on weekends!", name: "Arun Patel", role: "Community Member", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fchpgu", imageAlt: "Arun Patel" @@ -244,10 +241,10 @@ export default function LandingPage() { tag="Newsletter" title="Stay Connected" description="Join our community and get weekly nutrition tips, new menu highlights, and exclusive offers delivered to your inbox." - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} mediaPosition="right" - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cuvb76&_wi=2" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cuvb76" imageAlt="Subscribe to TenTen Cafe newsletter" mediaAnimation="slide-up" inputPlaceholder="your@email.com" -- 2.49.1 From 7f589860c9c0364954855c881a678e28dcd5692d Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 06:58:22 +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..cdb7fc9 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?: number | string; + fill?: 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 = '', + fontSize = 24, + fontWeight = 'bold', + fill = 'currentColor', +}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const width = charWidth * textLength + 20; + const height = fontSize + 20; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1