diff --git a/src/app/page.tsx b/src/app/page.tsx index a19fe7c..d800fbb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumLarge" sizing="mediumSizeLargeTitles" - background="noise" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="flat" secondaryButtonStyle="radial-glow" @@ -49,7 +49,7 @@ export default function LandingPage() { tag="Personalization Meets Protection" tagIcon={Zap} tagAnimation="slide-up" - background={{ variant: "noise" }} + background={{ variant: "animated-grid" }} imageSrc="http://img.b2bpic.net/free-photo/woman-sitting-prepare-clothing-new-journey_53876-47006.jpg" imageAlt="Custom phone case showcase collection" buttons={[ @@ -105,19 +105,19 @@ export default function LandingPage() { features={[ { id: 1, - title: "Choose Your Base", description: "Select from premium materials including silicone, TPU, polycarbonate, and leather for maximum protection and style.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-working-laptop_53876-40325.jpg?_wi=1" + title: "Choose Your Base", description: "Select from premium materials including silicone, TPU, polycarbonate, and leather for maximum protection and style.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-working-laptop_53876-40325.jpg" }, { id: 2, - title: "Design & Personalize", description: "Upload your photos, artwork, or choose from thousands of professional designs. Add text, colors, and effects to make it uniquely yours.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-working-laptop_53876-40325.jpg?_wi=2" + title: "Design & Personalize", description: "Upload your photos, artwork, or choose from thousands of professional designs. Add text, colors, and effects to make it uniquely yours.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-working-laptop_53876-40325.jpg" }, { id: 3, - title: "Preview & Perfect", description: "See your design in 360° before ordering. Make adjustments until it's exactly what you envisioned.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-working-laptop_53876-40325.jpg?_wi=3" + title: "Preview & Perfect", description: "See your design in 360° before ordering. Make adjustments until it's exactly what you envisioned.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-working-laptop_53876-40325.jpg" }, { id: 4, - title: "Order & Receive", description: "Fast production and shipping. Most orders arrive within 3-5 business days with full protection guarantee.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-working-laptop_53876-40325.jpg?_wi=4" + title: "Order & Receive", description: "Fast production and shipping. Most orders arrive within 3-5 business days with full protection guarantee.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-working-laptop_53876-40325.jpg" } ]} buttons={[ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a37acab 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; + fontSize?: number; + fontWeight?: number | string; + fill?: string; className?: 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, + fontWeight = 'bold', + fill = 'currentColor', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file