diff --git a/src/app/page.tsx b/src/app/page.tsx index fa1df96..1b6421a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -25,8 +25,7 @@ export default function HomePage() { const footerColumns = [ { - title: "Product", - items: [ + title: "Product", items: [ { label: "Store", href: "/store" }, { label: "Creator Dashboard", href: "/creator-dashboard" }, { label: "Pricing", href: "#pricing" }, @@ -34,8 +33,7 @@ export default function HomePage() { ], }, { - title: "Company", - items: [ + title: "Company", items: [ { label: "About", href: "/about" }, { label: "Careers", href: "/careers" }, { label: "Contact", href: "/contact" }, @@ -43,8 +41,7 @@ export default function HomePage() { ], }, { - title: "Resources", - items: [ + title: "Resources", items: [ { label: "Documentation", href: "/docs" }, { label: "API Reference", href: "/docs/api" }, { label: "Creator Guide", href: "/guide" }, @@ -52,8 +49,7 @@ export default function HomePage() { ], }, { - title: "Legal", - items: [ + title: "Legal", items: [ { label: "Privacy", href: "/privacy" }, { label: "Terms", href: "/terms" }, { label: "License", href: "/license" }, @@ -69,7 +65,7 @@ export default function HomePage() { borderRadius="rounded" contentWidth="small" sizing="mediumLargeSizeLargeTitles" - background="noise" + background="circleGradient" cardStyle="glass-depth" primaryButtonStyle="flat" secondaryButtonStyle="solid" @@ -85,9 +81,7 @@ export default function HomePage() { { name: "Blog", id: "blog" }, ]} button={{ - text: "Start Selling", - href: "/dashboard", - }} + text: "Start Selling", href: "/dashboard"}} animateOnLoad={true} /> @@ -96,16 +90,12 @@ export default function HomePage() { ); -} \ No newline at end of file +} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a259710 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"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; + fontFamily?: string; + fontWeight?: number; + 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 = 48, + fontFamily = "Arial, sans-serif", fontWeight = 700, + fill = "currentColor"}) => { + const lines = text.split("\n"); + const lineHeight = fontSize * 1.2; + const totalHeight = lineHeight * lines.length; return ( - - {logoText} - + {lines.map((line, index) => ( + + {line} + + ))} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;