diff --git a/src/app/page.tsx b/src/app/page.tsx index 8a735f5..a1d767b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import SplitAbout from '@/components/sections/about/SplitAbout'; import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen'; import ContactText from '@/components/sections/contact/ContactText'; import FooterCard from '@/components/sections/footer/FooterCard'; -import { AlertCircle, Star, Heart, Clock, MapPin, Award, Trending, Smile } from 'lucide-react'; +import { AlertCircle, Star, Heart, Clock, MapPin, Award, TrendingUp, Smile } from 'lucide-react'; export default function LandingPage() { return ( @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumSmall" sizing="largeSizeMediumTitles" - background="aurora" + background="circleGradient" cardStyle="outline" primaryButtonStyle="radial-glow" secondaryButtonStyle="radial-glow" @@ -46,7 +46,7 @@ export default function LandingPage() { tag="⚠️ Warning" tagIcon={AlertCircle} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "plain" }} buttons={[ { text: "See the Menu", href: "products" }, { text: "Order a Cake", href: "contact" } @@ -68,10 +68,10 @@ export default function LandingPage() { animationType="slide-up" testimonials={[ { - id: "1", name: "Pranom", handle: "Local Regular", testimonial: "เค้กอร่อย มีให้เลือกหลายแบบ… แนะนำจริงๆ", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-big-smile-her-face-after-big-shopping_329181-18748.jpg?_wi=1", imageAlt: "Customer 1" + id: "1", name: "Pranom", handle: "Local Regular", testimonial: "เค้กอร่อย มีให้เลือกหลายแบบ… แนะนำจริงๆ", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-big-smile-her-face-after-big-shopping_329181-18748.jpg", imageAlt: "Customer 1" }, { - id: "2", name: "Somchai", handle: "@SukhothaiVisitor", testimonial: "ผ่านไปทีไรต้องจัด - always stop by when passing through!", imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-eyeglasses-crossed-arms-grey-background_613910-13618.jpg?_wi=1", imageAlt: "Customer 2" + id: "2", name: "Somchai", handle: "@SukhothaiVisitor", testimonial: "ผ่านไปทีไรต้องจัด - always stop by when passing through!", imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-eyeglasses-crossed-arms-grey-background_613910-13618.jpg", imageAlt: "Customer 2" }, { id: "3", name: "Niran", handle: "Coconut Cake Addict", testimonial: "Coconut cake vanilla กับใบเตย เลือกไม่ได้ ต้องซื้อทั้งคู่", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-young-caucasian-female-wearing-her-red-hair-bun-laughing-out-loud_273609-9260.jpg", imageAlt: "Customer 3" @@ -80,10 +80,10 @@ export default function LandingPage() { id: "4", name: "Sukanya", handle: "@ButterBunLover", testimonial: "Butter bun with icing sugar — the best in Sukhothai!", imageSrc: "http://img.b2bpic.net/free-photo/bearded-man-wearing-white-shirt-looking-smiling-showing-thumbs-up-standing-blue-wall_141793-55879.jpg", imageAlt: "Customer 4" }, { - id: "5", name: "Krit", handle: "Local Legend Believer", testimonial: "ร้านเบเกอรี่ที่อร่อยที่สุดในสุโขทัย - hands down the best bakery.", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-big-smile-her-face-after-big-shopping_329181-18748.jpg?_wi=2", imageAlt: "Customer 5" + id: "5", name: "Krit", handle: "Local Legend Believer", testimonial: "ร้านเบเกอรี่ที่อร่อยที่สุดในสุโขทัย - hands down the best bakery.", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-big-smile-her-face-after-big-shopping_329181-18748.jpg", imageAlt: "Customer 5" }, { - id: "6", name: "Daeng", handle: "Loyal Customer", testimonial: "อร่อยทุกอย่าง ซื้อประจำ - Everything is delicious, I buy regularly!", imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-eyeglasses-crossed-arms-grey-background_613910-13618.jpg?_wi=2", imageAlt: "Customer 6" + id: "6", name: "Daeng", handle: "Loyal Customer", testimonial: "อร่อยทุกอย่าง ซื้อประจำ - Everything is delicious, I buy regularly!", imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-eyeglasses-crossed-arms-grey-background_613910-13618.jpg", imageAlt: "Customer 6" } ]} speed={40} @@ -143,7 +143,7 @@ export default function LandingPage() { title: "Real Butter, Real Quality", description: "Premium ingredients that make the difference in every bite.", icon: Award }, { - title: "Growing Beyond Sukhothai", description: "Now expanding to Chiang Mai while keeping that local legendary touch.", icon: Trending + title: "Growing Beyond Sukhothai", description: "Now expanding to Chiang Mai while keeping that local legendary touch.", icon: TrendingUp } ]} /> @@ -158,7 +158,6 @@ export default function LandingPage() { tag="Our Promise" tagIcon={Smile} tagAnimation="slide-up" - animationType="slide-up" features={[ { id: 1, @@ -184,7 +183,7 @@ export default function LandingPage() { (function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file