From cef62f708052fea38e6f4d3c4ccb108b3a62021a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 09:58:06 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c745b76..81f5686 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="medium" sizing="large" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="gradient" secondaryButtonStyle="layered" @@ -46,14 +46,14 @@ export default function LandingPage() { tag="Vietnam Travel Reviews" tagIcon={MapPin} tagAnimation="slide-up" - background={{ variant: "noiseDiagonalGradient" }} + background={{ variant: "plain" }} mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/boat-river-surrounded-by-cliffs-covered-greens_181624-45709.jpg", imageAlt: "Vietnam mountain landscape with rice terraces" }, { imageSrc: "http://img.b2bpic.net/free-photo/traditional-function-stairs-bridges-ancient-town_1417-587.jpg", imageAlt: "Hanoi street scene with historic architecture" }, { imageSrc: "http://img.b2bpic.net/free-photo/local-night-region-fuzzy-house-tourism_1417-1294.jpg", imageAlt: "Hue Imperial temple with traditional architecture" }, - { imageSrc: "http://img.b2bpic.net/free-photo/animal-habitat_23-2148167367.jpg?_wi=1", imageAlt: "Halong Bay limestone karsts and waters" }, + { imageSrc: "http://img.b2bpic.net/free-photo/animal-habitat_23-2148167367.jpg", imageAlt: "Halong Bay limestone karsts and waters" }, { imageSrc: "http://img.b2bpic.net/free-photo/friends-having-fun-by-seaside_23-2149494823.jpg", imageAlt: "Hoi An ancient town with lantern lights" }, - { imageSrc: "http://img.b2bpic.net/free-photo/woman-wearing-traditional-ao-dai-clothing_23-2149530718.jpg?_wi=1", imageAlt: "Mekong Delta floating market boats" } + { imageSrc: "http://img.b2bpic.net/free-photo/woman-wearing-traditional-ao-dai-clothing_23-2149530718.jpg", imageAlt: "Mekong Delta floating market boats" } ]} buttons={[ { text: "Browse Reviews", href: "#testimonials" }, @@ -131,10 +131,10 @@ export default function LandingPage() { id: "4", name: "Tuan Hoang, Tour Guide Expert", date: "Date: 25 January 2025", title: "Hoi An combines tradition with beauty", quote: "Hoi An's ancient town is perfectly preserved, offering an authentic glimpse into Vietnamese history and culture. The lantern lights at night create pure magic. The friendliness of local artisans and shop owners makes it feel like you're part of a living museum.", tag: "Cultural Heritage", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man_158595-284.jpg", avatarAlt: "Tuan", imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-man-posing-indoors_23-2151038493.jpg", imageAlt: "Tuan in Hoi An ancient town" }, { - id: "5", name: "An Vu, Beach Lover", date: "Date: 3 February 2025", title: "Mekong Delta left me speechless", quote: "The Mekong Delta is pure authenticity. Floating through the waterways and visiting local villages gave me a real perspective on how river communities live. The sunset over the water, surrounded by fruit orchards and fishermen, was absolutely magical. Highly recommended.", tag: "Rural Experience", avatarSrc: "http://img.b2bpic.net/free-photo/pleased-young-brunette-caucasian-girl-puts-hand-chin-looks-camera_141793-103509.jpg", avatarAlt: "An", imageSrc: "http://img.b2bpic.net/free-photo/woman-wearing-traditional-ao-dai-clothing_23-2149530718.jpg?_wi=2", imageAlt: "Mekong Delta floating market" + id: "5", name: "An Vu, Beach Lover", date: "Date: 3 February 2025", title: "Mekong Delta left me speechless", quote: "The Mekong Delta is pure authenticity. Floating through the waterways and visiting local villages gave me a real perspective on how river communities live. The sunset over the water, surrounded by fruit orchards and fishermen, was absolutely magical. Highly recommended.", tag: "Rural Experience", avatarSrc: "http://img.b2bpic.net/free-photo/pleased-young-brunette-caucasian-girl-puts-hand-chin-looks-camera_141793-103509.jpg", avatarAlt: "An", imageSrc: "http://img.b2bpic.net/free-photo/woman-wearing-traditional-ao-dai-clothing_23-2149530718.jpg", imageAlt: "Mekong Delta floating market" }, { - id: "6", name: "Sophie Martin, International Traveler", date: "Date: 12 February 2025", title: "Vietnam offers exceptional value", quote: "Vietnam provides incredible value for travelers. Luxury accommodations, world-class restaurants, and unforgettable experiences cost significantly less than similar offerings elsewhere. The warmth and hospitality of Vietnamese people make every interaction memorable. I'm already planning my return trip.", tag: "Budget Travel", avatarSrc: "http://img.b2bpic.net/free-photo/nurse-portrait-hospital_23-2150780404.jpg", avatarAlt: "Sophie", imageSrc: "http://img.b2bpic.net/free-photo/animal-habitat_23-2148167367.jpg?_wi=2", imageAlt: "Halong Bay scenic view" + id: "6", name: "Sophie Martin, International Traveler", date: "Date: 12 February 2025", title: "Vietnam offers exceptional value", quote: "Vietnam provides incredible value for travelers. Luxury accommodations, world-class restaurants, and unforgettable experiences cost significantly less than similar offerings elsewhere. The warmth and hospitality of Vietnamese people make every interaction memorable. I'm already planning my return trip.", tag: "Budget Travel", avatarSrc: "http://img.b2bpic.net/free-photo/nurse-portrait-hospital_23-2150780404.jpg", avatarAlt: "Sophie", imageSrc: "http://img.b2bpic.net/free-photo/animal-habitat_23-2148167367.jpg", imageAlt: "Halong Bay scenic view" } ]} textboxLayout="default" -- 2.49.1 From d08f7f3397969f2f5993c45aad855c365af5fb4d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 09:58:07 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 59 ++++++++----------- 1 file changed, 23 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..fa965c7 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + fontFamily?: 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, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1