diff --git a/src/app/page.tsx b/src/app/page.tsx
index 367ccf9..7aee6b0 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="mediumSmall"
sizing="mediumLargeSizeLargeTitles"
- background="noiseDiagonalGradient"
+ background="circleGradient"
cardStyle="glass-elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="solid"
@@ -43,7 +43,7 @@ export default function LandingPage() {
@@ -85,13 +85,13 @@ export default function LandingPage() {
useInvertedBackground={false}
products={[
{
- id: "1", name: "Traditional Thali", price: "₹150-250", imageSrc: "http://img.b2bpic.net/free-photo/healthy-dish-with-chicken-vegetables-grunge-wooden-desk_23-2148113625.jpg?_wi=1", imageAlt: "Traditional vegetarian thali meal"
+ id: "1", name: "Traditional Thali", price: "₹150-250", imageSrc: "http://img.b2bpic.net/free-photo/healthy-dish-with-chicken-vegetables-grunge-wooden-desk_23-2148113625.jpg", imageAlt: "Traditional vegetarian thali meal"
},
{
id: "2", name: "Homestyle Curries", price: "₹80-180", imageSrc: "http://img.b2bpic.net/free-photo/elevated-view-person-s-hand-slicing-red-tomato-chopping-board_23-2147944239.jpg", imageAlt: "Authentic vegetarian curry dishes"
},
{
- id: "3", name: "Fresh Breads & Rice", price: "₹30-100", imageSrc: "http://img.b2bpic.net/free-photo/healthy-dish-with-chicken-vegetables-grunge-wooden-desk_23-2148113625.jpg?_wi=2", imageAlt: "Traditional breads and rice preparations"
+ id: "3", name: "Fresh Breads & Rice", price: "₹30-100", imageSrc: "http://img.b2bpic.net/free-photo/healthy-dish-with-chicken-vegetables-grunge-wooden-desk_23-2148113625.jpg", imageAlt: "Traditional breads and rice preparations"
}
]}
/>
@@ -170,12 +170,11 @@ export default function LandingPage() {
logos={[
"http://img.b2bpic.net/free-psd/gradient-abstract-logo_23-2150689652.jpg", "http://img.b2bpic.net/free-vector/detailed-click-collect-sign_23-2148782062.jpg", "http://img.b2bpic.net/free-vector/travel-lettering-background-with-photo_23-2148236087.jpg", "http://img.b2bpic.net/free-vector/pin-map-logo_1043-275.jpg", "http://img.b2bpic.net/free-photo/freelancer-traveler-waiting-transport-station_1163-1458.jpg", "http://img.b2bpic.net/free-photo/portrait-asian-girl-takes-selfie-mobile-phone-korean-woman-smiling-video-chat-smartphone_1258-193054.jpg", "http://img.b2bpic.net/free-vector/contact-us-icons-set_98292-6887.jpg"
]}
- animationType="fade"
- speed={35}
- showCard={true}
names={[
"Google", "Booking.com", "TripAdvisor", "Airbnb", "OTA", "WhatsApp", "Phone"
]}
+ speed={35}
+ showCard={true}
/>
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..630060f 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;
+ size?: number;
className?: 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, size = 32, className = '' }) => {
return (
);
-});
+};
-SvgTextLogo.displayName = "SvgTextLogo";
-
-export default SvgTextLogo;
+export default SvgTextLogo;
\ No newline at end of file