From aa9980f3df895772db241553b977cb2ed6b8e2eb Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 00:37:49 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 57be207..a2b2eb5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="medium" sizing="largeSmall" - background="floatingGradient" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="flat" secondaryButtonStyle="radial-glow" @@ -44,7 +44,7 @@ export default function LandingPage() { title="BJK Dojo – Ninjutsu & Sparring Training in Haifa" description="Traditional Ninja Techniques. Real Combat Skills. Strong Community." tag="Martial Arts Excellence" - background={{ variant: "floatingGradient" }} + background={{ variant: "radial-gradient" }} mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/taekwondo-training-taking-place-outdoors-nature-with-two-people_23-2149908486.jpg", imageAlt: "Ninja warrior training in traditional dojo" @@ -73,6 +73,7 @@ export default function LandingPage() { { icon: Zap, label: "Training Programs", value: "2 Core" }, { icon: Shield, label: "Self-Defense Focus", value: "100%" } ]} + metricsAnimation="blur-reveal" useInvertedBackground={false} /> -- 2.49.1 From e198107661f00f623afcac1c200b9951b6958b81 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 00:37:50 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 ++++++++----------- 1 file changed, 25 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3458bcc 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + fontWeight?: number | string; + fill?: 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 = "", fontSize = 24, + fontWeight = "bold", fill = "currentColor"}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const totalWidth = charWidth * textLength + 40; + const height = fontSize + 20; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1