diff --git a/src/app/page.tsx b/src/app/page.tsx
index 12eed84..28d98b0 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -45,7 +45,7 @@ export default function LandingPage() {
@@ -101,7 +102,7 @@ export default function LandingPage() {
description="From delicate bracelets to elegant necklaces and meaningful anklets—every piece is a custom creation tailored to your style."
products={[
{
- id: "1", name: "Bracelets", price: "Starting at £150", imageSrc: "http://img.b2bpic.net/free-psd/jewelry-store-promotional-flyer-with-gold-chain-discount-offer-template_23-2152027599.jpg?_wi=1", imageAlt: "Custom permanent bracelets collection"
+ id: "1", name: "Bracelets", price: "Starting at £150", imageSrc: "http://img.b2bpic.net/free-psd/jewelry-store-promotional-flyer-with-gold-chain-discount-offer-template_23-2152027599.jpg", imageAlt: "Custom permanent bracelets collection"
},
{
id: "2", name: "Necklaces", price: "Starting at £200", imageSrc: "http://img.b2bpic.net/free-photo/luxurious-shiny-golden-chain_23-2149635274.jpg", imageAlt: "Elegant permanent necklaces"
@@ -110,7 +111,7 @@ export default function LandingPage() {
id: "3", name: "Anklets", price: "Starting at £120", imageSrc: "http://img.b2bpic.net/free-photo/wedding-glass-precious-gold-luxury-golden_1400-35.jpg", imageAlt: "Delicate permanent anklets"
},
{
- id: "4", name: "Custom Matching Sets", price: "Custom Quote", imageSrc: "http://img.b2bpic.net/free-psd/jewelry-store-promotional-flyer-with-gold-chain-discount-offer-template_23-2152027599.jpg?_wi=2", imageAlt: "Matching permanent jewellery sets"
+ id: "4", name: "Custom Matching Sets", price: "Custom Quote", imageSrc: "http://img.b2bpic.net/free-psd/jewelry-store-promotional-flyer-with-gold-chain-discount-offer-template_23-2152027599.jpg", imageAlt: "Matching permanent jewellery sets"
}
]}
gridVariant="two-columns-alternating-heights"
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..0d4c764 100644
--- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
+++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
@@ -1,51 +1,33 @@
-"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 (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
+};
export default SvgTextLogo;