diff --git a/src/app/page.tsx b/src/app/page.tsx
index ed380d0..1ec592e 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -45,7 +45,7 @@ export default function LandingPage() {
@@ -207,10 +207,10 @@ export default function LandingPage() {
id: "4", name: "Anil Patel", handle: "Owner, Karnal", testimonial: "The support from the franchise team is phenomenal. They genuinely care about our success, and it shows in the profitability of our outlet.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-good-looking-smiling-arabic-man-suit-attractive-young-businessman-with-beard-moustache-looking-camera-portrait-international-beauty-concept_74855-21597.jpg", imageAlt: "Anil Patel franchise owner"
},
{
- id: "5", name: "Meera Gupta", handle: "Owner, Delhi NCR", testimonial: "Investing in Son of Swaad was the best business decision I've made. The brand recognition and operational support ensure consistent success.", imageSrc: "http://img.b2bpic.net/free-photo/new-idea-great-business_329181-2907.jpg?_wi=1", imageAlt: "Meera Gupta franchise owner"
+ id: "5", name: "Meera Gupta", handle: "Owner, Delhi NCR", testimonial: "Investing in Son of Swaad was the best business decision I've made. The brand recognition and operational support ensure consistent success.", imageSrc: "http://img.b2bpic.net/free-photo/new-idea-great-business_329181-2907.jpg", imageAlt: "Meera Gupta franchise owner"
},
{
- id: "6", name: "Arjun Desai", handle: "Owner, Haryana Region", testimonial: "The menu diversity and quality standards keep customers coming back. Franchise profitability is strong, and growth potential is immense.", imageSrc: "http://img.b2bpic.net/free-photo/new-idea-great-business_329181-2907.jpg?_wi=2", imageAlt: "Arjun Desai franchise owner"
+ id: "6", name: "Arjun Desai", handle: "Owner, Haryana Region", testimonial: "The menu diversity and quality standards keep customers coming back. Franchise profitability is strong, and growth potential is immense.", imageSrc: "http://img.b2bpic.net/free-photo/new-idea-great-business_329181-2907.jpg", imageAlt: "Arjun Desai franchise owner"
}
]}
/>
@@ -223,7 +223,7 @@ export default function LandingPage() {
description="Whether you're interested in franchise opportunities, have questions about our model, or want to place a bulk order, we'd love to hear from you. Reach out today and become part of the vegetarian food revolution."
tagIcon={Sparkles}
tagAnimation="slide-up"
- background={{ variant: "circleGradient" }}
+ background={{ variant: "sparkles-gradient" }}
useInvertedBackground={true}
imageSrc="http://img.b2bpic.net/free-photo/beef-lamb-rack-kebab-served-with-onion-slices-vegetables-herbs-lavash-white-plate_114579-297.jpg"
imageAlt="Son of Swaad restaurant cuisine"
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..ebe9358 100644
--- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
+++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
@@ -1,51 +1,48 @@
-"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;
+ fontWeight?: 'light' | 'normal' | 'bold' | 'semibold';
+ letterSpacing?: number;
}
-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 = 24,
+ fontWeight = 'bold',
+ letterSpacing = 0,
+}) => {
+ const fontWeightMap = {
+ light: 300,
+ normal: 400,
+ semibold: 600,
+ bold: 700,
+ };
return (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
+};
export default SvgTextLogo;