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"
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 (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
+};
export default SvgTextLogo;