From 8bfc4179fa64c637ee74c9df1c4e3cd864407f88 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 21:25:17 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3b5ddf6..03f2b59 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -42,7 +42,7 @@ export default function LandingPage() { @@ -87,42 +87,42 @@ export default function LandingPage() { { title: "Spálenie", description: "Profesionálne spálenie s možnosťou skladovania popola v urne alebo rozptýlenia na vybranom mieste.", icon: Flame, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-photo/birthday-cake-decorated-with-flowers_23-2148016163.jpg?_wi=1", imageAlt: "cremation service urn memorial" }, - { imageSrc: "http://img.b2bpic.net/free-photo/birthday-cake-decorated-with-flowers_23-2148016163.jpg?_wi=2", imageAlt: "cremation service urn memorial" } + { imageSrc: "http://img.b2bpic.net/free-photo/birthday-cake-decorated-with-flowers_23-2148016163.jpg", imageAlt: "cremation service urn memorial" }, + { imageSrc: "http://img.b2bpic.net/free-photo/birthday-cake-decorated-with-flowers_23-2148016163.jpg", imageAlt: "cremation service urn memorial" } ] }, { title: "Pochovávaní", description: "Dôstojné pochovávaní s možnosťou výberu hrobov a ceremonií podľa tradícií vašej rodiny.", icon: Cross, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-photo/elegant-adult-couple-spring-forest_1157-35181.jpg?_wi=1", imageAlt: "cemetery burial service grave" }, - { imageSrc: "http://img.b2bpic.net/free-photo/elegant-adult-couple-spring-forest_1157-35181.jpg?_wi=2", imageAlt: "cemetery burial service grave" } + { imageSrc: "http://img.b2bpic.net/free-photo/elegant-adult-couple-spring-forest_1157-35181.jpg", imageAlt: "cemetery burial service grave" }, + { imageSrc: "http://img.b2bpic.net/free-photo/elegant-adult-couple-spring-forest_1157-35181.jpg", imageAlt: "cemetery burial service grave" } ] }, { title: "Spomienková slávnosť", description: "Privítanie rodiny a priateľov na spomienkovej slávnosti s osobným prístupom a rešpektom.", icon: Users, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-photo/people-meeting-family-reunion_23-2149153771.jpg?_wi=1", imageAlt: "memorial service celebration life" }, - { imageSrc: "http://img.b2bpic.net/free-photo/people-meeting-family-reunion_23-2149153771.jpg?_wi=2", imageAlt: "memorial service celebration life" } + { imageSrc: "http://img.b2bpic.net/free-photo/people-meeting-family-reunion_23-2149153771.jpg", imageAlt: "memorial service celebration life" }, + { imageSrc: "http://img.b2bpic.net/free-photo/people-meeting-family-reunion_23-2149153771.jpg", imageAlt: "memorial service celebration life" } ] }, { title: "Prednáchod plánov", description: "Dopredu si môžete naplánovat svoje posledné pocty a uľaviť tak záťaž budúcej rodine.", icon: FileText, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-reading-table_23-2148352186.jpg?_wi=1", imageAlt: "funeral planning consultation documents" }, - { imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-reading-table_23-2148352186.jpg?_wi=2", imageAlt: "funeral planning consultation documents" } + { imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-reading-table_23-2148352186.jpg", imageAlt: "funeral planning consultation documents" }, + { imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-reading-table_23-2148352186.jpg", imageAlt: "funeral planning consultation documents" } ] } ]} animationType="slide-up" tag="Služby" tagIcon={HandHeart} - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" textboxLayout="default" useInvertedBackground={false} buttons={[ { text: "Vyšetriť všetky služby", href: "#contact" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="blur-reveal" /> @@ -137,7 +137,7 @@ export default function LandingPage() { cardTitle="Viac ako 5000 spokojných rodín nám dôveruje pri ich posledných pochodoch" cardTag="Skúsenosti rodín" cardTagIcon={Star} - cardAnimation="entrance-slide" + cardAnimation="blur-reveal" useInvertedBackground={false} /> @@ -148,7 +148,7 @@ export default function LandingPage() { description="Nájdite odpovede na bežné otázky o našich pohrebných službách. Ak máte ďalšie otázky, neváhajte nás kontaktovať." tag="Pomoc" tagIcon={HelpCircle} - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" textboxLayout="default" useInvertedBackground={false} faqsAnimation="slide-up" @@ -169,7 +169,7 @@ export default function LandingPage() { title="Sme tu pre vás" description="Ak máte otázky alebo potrebujete našu pomoc, neváhajte nás kontaktovať. Naši profesionálni pracovníci sú vždy pripravení vám pomôcť a poskytnúť podporu." tagIcon={Phone} - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" background={{ variant: "plain" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/elegant-stools-table-huge-bright-hall_1127-3339.jpg" -- 2.49.1 From bac124988edcb5c86d1adbb0fd3ddc6b3d48b5e6 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 21:25:17 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 56 +++++++------------ 1 file changed, 21 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a592356 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,37 @@ -"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; + letterSpacing?: number; } -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, + letterSpacing = 2, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1