From 847efb0a13d8f39e459a8ce6da566287dff1e0ed Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:03:54 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9bcca24..30bd758 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -46,7 +46,7 @@ export default function LandingPage() { tag="All About 2 Wheels" tagIcon={Bike} tagAnimation="slide-up" - background={{ variant: "circleGradient" }} + background={{ variant: "glowing-orb" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/man-cafe-racer-style-motorbike_23-2148189648.jpg" imageAlt="Garasi Roda Dua Premium Motorcycle Showroom" @@ -137,10 +137,10 @@ export default function LandingPage() { -- 2.49.1 From ac6d5d3fc82eeae12685b91c0bc2c745c8d428b8 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:03:55 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 84 ++++++++++--------- 1 file changed, 44 insertions(+), 40 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ef30fd5 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,55 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React, { CSSProperties } from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: number | string; + fill?: string; className?: string; + containerClassName?: string; + ariaLabel?: 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, + fontSize = 24, + fontFamily = 'inherit', + fontWeight = 700, + fill = 'currentColor', + className = '', + containerClassName = '', + ariaLabel, +}) => { + const style: CSSProperties = { + fontFamily, + fontSize, + fontWeight, + fill, + }; return ( - - + - {logoText} - - + + {text} + + + ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1