From 784b1ae2fc286445cffecc0a9204109eb5ab9d4a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 21:01:32 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5c8c5b9..09d6952 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumLarge" sizing="largeSizeMediumTitles" - background="aurora" + background="circleGradient" cardStyle="glass-depth" primaryButtonStyle="double-inset" secondaryButtonStyle="glass" @@ -43,8 +43,8 @@ export default function LandingPage() { title="🎂 The Most Ridiculously Good Cakes in Town" description="Handmade. Super fresh. Dangerously delicious. Every cake is crafted with love, attention to detail, and a little bit of punk attitude." tag="Serious cakes with a punk attitude" - background={{ variant: "aurora" }} - imageSrc="http://img.b2bpic.net/free-photo/slices-chocolate-cake-wooden-board-piece-sack-with-cinnamon-sticks-forks-high-angle-view-white-background_176474-4640.jpg?_wi=1" + background={{ variant: "plain" }} + imageSrc="http://img.b2bpic.net/free-photo/slices-chocolate-cake-wooden-board-piece-sack-with-cinnamon-sticks-forks-high-angle-view-white-background_176474-4640.jpg" imageAlt="Huge dripping chocolate cake with sprinkles and neon accents" buttons={[ { text: "👉 Order on WhatsApp", href: "https://wa.me" }, @@ -90,10 +90,10 @@ export default function LandingPage() { id: "1", name: "Chocolate Volcano Cake", price: "R$ 45", variant: "Rich chocolate cake exploding with creamy filling", imageSrc: "http://img.b2bpic.net/free-photo/chocolate-cake-with-ice-cream-whipped-cream_1339-4968.jpg", imageAlt: "Chocolate Volcano Cake" }, { - id: "2", name: "Punky Chocolate Cones", price: "R$ 28", variant: "Crunchy cones loaded with chocolate, toppings, and happiness", imageSrc: "http://img.b2bpic.net/free-photo/empty-ice-cream-waffle-cones-colored-background_23-2148149417.jpg?_wi=1", imageAlt: "Punky Chocolate Cones" + id: "2", name: "Punky Chocolate Cones", price: "R$ 28", variant: "Crunchy cones loaded with chocolate, toppings, and happiness", imageSrc: "http://img.b2bpic.net/free-photo/empty-ice-cream-waffle-cones-colored-background_23-2148149417.jpg", imageAlt: "Punky Chocolate Cones" }, { - id: "3", name: "Moist Classic Cakes", price: "R$ 32", variant: "Soft, cold, and ridiculously juicy cakes", imageSrc: "http://img.b2bpic.net/free-photo/chocolate-brownie-cake-with-ice-cream-balls-glass-tea_114579-2188.jpg?_wi=1", imageAlt: "Moist Classic Cakes" + id: "3", name: "Moist Classic Cakes", price: "R$ 32", variant: "Soft, cold, and ridiculously juicy cakes", imageSrc: "http://img.b2bpic.net/free-photo/chocolate-brownie-cake-with-ice-cream-balls-glass-tea_114579-2188.jpg", imageAlt: "Moist Classic Cakes" }, { id: "4", name: "Party Boxes", price: "R$ 120", variant: "Mixed boxes perfect for birthdays, gifts, or 'I deserve this'", imageSrc: "http://img.b2bpic.net/free-photo/party-cupcakes-with-candles_23-2149023526.jpg", imageAlt: "Party Boxes" @@ -112,7 +112,7 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - id: "1", title: "Made With Passion", description: "You can taste the love in every bite. Our team pours their hearts into every creation, ensuring quality and flavor exceed expectations.", media: { imageSrc: "http://img.b2bpic.net/free-photo/slices-chocolate-cake-wooden-board-piece-sack-with-cinnamon-sticks-forks-high-angle-view-white-background_176474-4640.jpg?_wi=2" }, + id: "1", title: "Made With Passion", description: "You can taste the love in every bite. Our team pours their hearts into every creation, ensuring quality and flavor exceed expectations.", media: { imageSrc: "http://img.b2bpic.net/free-photo/slices-chocolate-cake-wooden-board-piece-sack-with-cinnamon-sticks-forks-high-angle-view-white-background_176474-4640.jpg" }, items: [ { icon: Heart, text: "Handcrafted with care" }, { icon: Sparkles, text: "Love in every bite" }, @@ -121,7 +121,7 @@ export default function LandingPage() { reverse: false }, { - id: "2", title: "Always Fresh", description: "Our cakes taste like they just came out of the kitchen because they often do. We maintain strict freshness standards to guarantee the best experience.", media: { imageSrc: "http://img.b2bpic.net/free-photo/chocolate-brownie-cake-with-ice-cream-balls-glass-tea_114579-2188.jpg?_wi=2" }, + id: "2", title: "Always Fresh", description: "Our cakes taste like they just came out of the kitchen because they often do. We maintain strict freshness standards to guarantee the best experience.", media: { imageSrc: "http://img.b2bpic.net/free-photo/chocolate-brownie-cake-with-ice-cream-balls-glass-tea_114579-2188.jpg" }, items: [ { icon: Snowflake, text: "Fresh daily" }, { icon: Clock, text: "Just made" }, @@ -130,7 +130,7 @@ export default function LandingPage() { reverse: true }, { - id: "3", title: "Attention to Detail", description: "From decoration to flavor balance, every element is perfected. We believe excellence lives in the details.", media: { imageSrc: "http://img.b2bpic.net/free-photo/empty-ice-cream-waffle-cones-colored-background_23-2148149417.jpg?_wi=2" }, + id: "3", title: "Attention to Detail", description: "From decoration to flavor balance, every element is perfected. We believe excellence lives in the details.", media: { imageSrc: "http://img.b2bpic.net/free-photo/empty-ice-cream-waffle-cones-colored-background_23-2148149417.jpg" }, items: [ { icon: CheckCircle, text: "Meticulous execution" }, { icon: Eye, text: "Perfect presentation" }, @@ -161,7 +161,7 @@ export default function LandingPage() { title="Life Is Short. Eat The Cake." description="Thousands of happy customers already discovered PunkyCake. Now it's your turn to experience something ridiculously good. Sweet chaos. Perfect flavor. Pure rebellion against ordinary desserts." tag="Final Call to Action" - imageSrc="http://img.b2bpic.net/free-photo/slices-chocolate-cake-wooden-board-piece-sack-with-cinnamon-sticks-forks-high-angle-view-white-background_176474-4640.jpg?_wi=3" + imageSrc="http://img.b2bpic.net/free-photo/slices-chocolate-cake-wooden-board-piece-sack-with-cinnamon-sticks-forks-high-angle-view-white-background_176474-4640.jpg" imageAlt="Irresistible chocolate cake" useInvertedBackground={false} buttons={[ -- 2.49.1 From 6932eef68fa56b291a69895a64e7c31bde24c077 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 21:01:32 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 55 ++++++------------- 1 file changed, 18 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..fbd499d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,32 @@ -"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; + textClassName?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = "", textClassName = ""}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1