diff --git a/src/app/page.tsx b/src/app/page.tsx index e7a50af..e587bc3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -69,23 +69,23 @@ export default function LandingPage() { features={[ { title: "Oversized Collection", description: "Premium oversized pieces designed for modern comfort and style", bentoComponent: "media-stack", items: [ - { imageSrc: "http://img.b2bpic.net/free-photo/stylish-teenagers-posing-together_23-2149085198.jpg?_wi=1", imageAlt: "oversized clothing collection fashion model" }, - { imageSrc: "http://img.b2bpic.net/free-psd/cyber-monday-template-design_23-2151905281.jpg?_wi=1", imageAlt: "premium streetwear fashion collection" }, - { imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-female-with-black-hat-sitting-cafe-glass-wall_181624-21926.jpg?_wi=1", imageAlt: "winter fashion collection luxury" } + { imageSrc: "http://img.b2bpic.net/free-photo/stylish-teenagers-posing-together_23-2149085198.jpg", imageAlt: "oversized clothing collection fashion model" }, + { imageSrc: "http://img.b2bpic.net/free-psd/cyber-monday-template-design_23-2151905281.jpg", imageAlt: "premium streetwear fashion collection" }, + { imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-female-with-black-hat-sitting-cafe-glass-wall_181624-21926.jpg", imageAlt: "winter fashion collection luxury" } ] }, { title: "Premium Streetwear", description: "High-end streetwear essentials for the discerning collector", bentoComponent: "media-stack", items: [ - { imageSrc: "http://img.b2bpic.net/free-psd/cyber-monday-template-design_23-2151905281.jpg?_wi=2", imageAlt: "premium streetwear fashion collection" }, - { imageSrc: "http://img.b2bpic.net/free-photo/stylish-teenagers-posing-together_23-2149085198.jpg?_wi=2", imageAlt: "oversized clothing collection fashion model" }, - { imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-female-with-black-hat-sitting-cafe-glass-wall_181624-21926.jpg?_wi=2", imageAlt: "winter fashion collection luxury" } + { imageSrc: "http://img.b2bpic.net/free-psd/cyber-monday-template-design_23-2151905281.jpg", imageAlt: "premium streetwear fashion collection" }, + { imageSrc: "http://img.b2bpic.net/free-photo/stylish-teenagers-posing-together_23-2149085198.jpg", imageAlt: "oversized clothing collection fashion model" }, + { imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-female-with-black-hat-sitting-cafe-glass-wall_181624-21926.jpg", imageAlt: "winter fashion collection luxury" } ] }, { title: "Winter Collection", description: "Luxe layering pieces for the cooler seasons", bentoComponent: "media-stack", items: [ - { imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-female-with-black-hat-sitting-cafe-glass-wall_181624-21926.jpg?_wi=3", imageAlt: "winter fashion collection luxury" }, - { imageSrc: "http://img.b2bpic.net/free-photo/stylish-teenagers-posing-together_23-2149085198.jpg?_wi=3", imageAlt: "oversized clothing collection fashion model" }, - { imageSrc: "http://img.b2bpic.net/free-psd/cyber-monday-template-design_23-2151905281.jpg?_wi=3", imageAlt: "premium streetwear fashion collection" } + { imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-female-with-black-hat-sitting-cafe-glass-wall_181624-21926.jpg", imageAlt: "winter fashion collection luxury" }, + { imageSrc: "http://img.b2bpic.net/free-photo/stylish-teenagers-posing-together_23-2149085198.jpg", imageAlt: "oversized clothing collection fashion model" }, + { imageSrc: "http://img.b2bpic.net/free-psd/cyber-monday-template-design_23-2151905281.jpg", imageAlt: "premium streetwear fashion collection" } ] } ]} @@ -108,6 +108,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/portrait-beautiful-young-female-wearing-formal-suit_23-2148880273.jpg" imageAlt="Minimal fashion collection premium styling" mediaAnimation="blur-reveal" + metricsAnimation="blur-reveal" tag="Collection Highlight" /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..446a7df 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"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; + width?: number; + height?: number; 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, + width = 200, + height = 60, + className = ""}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}; \ No newline at end of file