From 468d3735055bfb906b7d9bb539ae5f88a42bbcd9 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 07:32:12 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2a46686..c256f00 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -50,6 +50,7 @@ export default function LandingPage() { imageAlt="Fresh market produce display" mediaAnimation="blur-reveal" imagePosition="right" + background={{ variant: "glowing-orb" }} useInvertedBackground={false} buttons={[ { text: "Learn More", href: "#about" }, @@ -59,15 +60,15 @@ export default function LandingPage() { testimonials={[ { name: "田中美咲", handle: "常連客", testimonial: "毎日新鮮な野菜が手に入ります。質が高くて、地元の人たちにとても愛されています。", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/woman-with-food-package_23-2148869394.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/woman-with-food-package_23-2148869394.jpg" }, { name: "佐藤太郎", handle: "近所の方", testimonial: "このお店がないと生活できません。毎週通っています。スタッフも親切です。", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiling-young-woman-wearing-life-jacket_23-2147562086.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiling-young-woman-wearing-life-jacket_23-2147562086.jpg" }, { name: "鈴木花子", handle: "ファミリー", testimonial: "子どもたちも新鮮な野菜が大好きになりました。家族みんなでいつも利用しています。", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-65995.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-65995.jpg" } ]} testimonialRotationInterval={5000} @@ -100,7 +101,7 @@ export default function LandingPage() { tagAnimation="slide-up" features={[ { - title: "100% Organic Selection", description: "Carefully sourced organic produce from trusted local farmers", imageSrc: "http://img.b2bpic.net/free-photo/food-vegetable-colorful-background-tasty-fresh-vegetables-wooden-table-top-view-with-copy-space_1220-1220.jpg?_wi=1", imageAlt: "Organic fresh vegetables", buttonIcon: Leaf, + title: "100% Organic Selection", description: "Carefully sourced organic produce from trusted local farmers", imageSrc: "http://img.b2bpic.net/free-photo/food-vegetable-colorful-background-tasty-fresh-vegetables-wooden-table-top-view-with-copy-space_1220-1220.jpg", imageAlt: "Organic fresh vegetables", buttonIcon: Leaf, buttonHref: "#products" }, { @@ -112,7 +113,7 @@ export default function LandingPage() { buttonHref: "#products" }, { - title: "Daily Fresh Delivery", description: "New stock arrives daily to guarantee peak freshness", imageSrc: "http://img.b2bpic.net/free-photo/food-vegetable-colorful-background-tasty-fresh-vegetables-wooden-table-top-view-with-copy-space_1220-1220.jpg?_wi=2", imageAlt: "Fresh daily delivery", buttonIcon: Truck, + title: "Daily Fresh Delivery", description: "New stock arrives daily to guarantee peak freshness", imageSrc: "http://img.b2bpic.net/free-photo/food-vegetable-colorful-background-tasty-fresh-vegetables-wooden-table-top-view-with-copy-space_1220-1220.jpg", imageAlt: "Fresh daily delivery", buttonIcon: Truck, buttonHref: "#about" } ]} @@ -189,13 +190,13 @@ export default function LandingPage() { Date: Wed, 11 Mar 2026 07:32:12 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 51 ++++++------------- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..09fcd64 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1