diff --git a/src/app/page.tsx b/src/app/page.tsx index 29cf28a..c6b0476 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumLarge" sizing="largeSmall" - background="noise" + background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="flat" secondaryButtonStyle="radial-glow" @@ -54,7 +54,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/stylish-man-riding-cycle-near-ferris-wheel-park_23-2148176599.jpg", imageAlt: "Precision scale model fighter jet" }, { - imageSrc: "http://img.b2bpic.net/free-photo/soldier-camouflage-uniform-wearing-protective-gloves-mask-showing-stop-sign-with-his-hand-against-black-background_342744-923.jpg?_wi=1", imageAlt: "Premium military aircraft collection" + imageSrc: "http://img.b2bpic.net/free-photo/soldier-camouflage-uniform-wearing-protective-gloves-mask-showing-stop-sign-with-his-hand-against-black-background_342744-923.jpg", imageAlt: "Premium military aircraft collection" }, { imageSrc: "http://img.b2bpic.net/free-photo/armenian-army-units-trainings_181624-29357.jpg", imageAlt: "Detailed fighter jet miniature display" @@ -159,7 +159,7 @@ export default function LandingPage() { id: "4", value: "1:24–1:200", description: "Scale range options providing collectors with diverse display and collection possibilities" } ]} - metricsAnimation="scale-rotate" + metricsAnimation="blur-reveal" useInvertedBackground={false} ariaLabel="Metrics section" /> @@ -220,7 +220,7 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} mediaPosition="left" - imageSrc="http://img.b2bpic.net/free-photo/soldier-camouflage-uniform-wearing-protective-gloves-mask-showing-stop-sign-with-his-hand-against-black-background_342744-923.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/soldier-camouflage-uniform-wearing-protective-gloves-mask-showing-stop-sign-with-his-hand-against-black-background_342744-923.jpg" imageAlt="Premium scale model fighter jets" /> @@ -233,7 +233,7 @@ export default function LandingPage() { { text: "Contact Us", href: "mailto:hello@machx.aero" }, { text: "Request Catalog", href: "#" } ]} - background={{ variant: "noise" }} + background={{ variant: "plain" }} useInvertedBackground={true} ariaLabel="Contact section" /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5a4ebd5 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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); - +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