diff --git a/src/app/page.tsx b/src/app/page.tsx
index 70974e2..325370d 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="small"
sizing="largeSmall"
- background="aurora"
+ background="circleGradient"
cardStyle="glass-depth"
primaryButtonStyle="double-inset"
secondaryButtonStyle="layered"
@@ -50,25 +50,25 @@ export default function LandingPage() {
{ text: "Order Food Now", href: "#contact" },
{ text: "View Menu", href: "#featured" }
]}
- background={{ variant: "aurora" }}
+ background={{ variant: "plain" }}
carouselItems={[
{
- id: "1", imageSrc: "http://img.b2bpic.net/free-photo/front-view-chicken-doner-pita-bread-with-ketchup-mayonnaise-french-fries-vegetable-salad-board_141793-2822.jpg?_wi=1", imageAlt: "Authentic Arabian Shawarma"
+ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/front-view-chicken-doner-pita-bread-with-ketchup-mayonnaise-french-fries-vegetable-salad-board_141793-2822.jpg", imageAlt: "Authentic Arabian Shawarma"
},
{
- id: "2", imageSrc: "http://img.b2bpic.net/free-photo/kebab-set-table_140725-9560.jpg?_wi=1", imageAlt: "Arabian Grilled Chicken"
+ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/kebab-set-table_140725-9560.jpg", imageAlt: "Arabian Grilled Chicken"
},
{
- id: "3", imageSrc: "http://img.b2bpic.net/free-photo/top-baked-chicken-with-cheese-clay-bowl_140725-12284.jpg?_wi=1", imageAlt: "Mandi Style Rice Dish"
+ id: "3", imageSrc: "http://img.b2bpic.net/free-photo/top-baked-chicken-with-cheese-clay-bowl_140725-12284.jpg", imageAlt: "Mandi Style Rice Dish"
},
{
- id: "4", imageSrc: "http://img.b2bpic.net/free-psd/authentic-chicken-biryani-served-traditional-earthenware-bowl_84443-64517.jpg?_wi=1", imageAlt: "Chicken Biryani"
+ id: "4", imageSrc: "http://img.b2bpic.net/free-psd/authentic-chicken-biryani-served-traditional-earthenware-bowl_84443-64517.jpg", imageAlt: "Chicken Biryani"
},
{
- id: "5", imageSrc: "http://img.b2bpic.net/free-photo/top-view-crackers-with-hummus_23-2148562689.jpg?_wi=1", imageAlt: "Arabian Hummus Appetizer"
+ id: "5", imageSrc: "http://img.b2bpic.net/free-photo/top-view-crackers-with-hummus_23-2148562689.jpg", imageAlt: "Arabian Hummus Appetizer"
},
{
- id: "6", imageSrc: "http://img.b2bpic.net/free-photo/front-view-chicken-doner-pita-bread-with-ketchup-mayonnaise-french-fries-vegetable-salad-board_141793-2822.jpg?_wi=2", imageAlt: "Arabian Shawarma Platter"
+ id: "6", imageSrc: "http://img.b2bpic.net/free-photo/front-view-chicken-doner-pita-bread-with-ketchup-mayonnaise-french-fries-vegetable-salad-board_141793-2822.jpg", imageAlt: "Arabian Shawarma Platter"
}
]}
autoPlay={true}
@@ -80,6 +80,7 @@ export default function LandingPage() {
@@ -130,25 +131,25 @@ export default function LandingPage() {
id: "1", title: "Authentic Taste", descriptions: [
"Traditional Arabian flavors prepared by experienced chefs", "Authentic recipes passed down through generations", "Premium spices imported from Middle East"
],
- imageSrc: "http://img.b2bpic.net/free-photo/front-view-chicken-doner-pita-bread-with-ketchup-mayonnaise-french-fries-vegetable-salad-board_141793-2822.jpg?_wi=4", imageAlt: "Authentic Taste"
+ imageSrc: "http://img.b2bpic.net/free-photo/front-view-chicken-doner-pita-bread-with-ketchup-mayonnaise-french-fries-vegetable-salad-board_141793-2822.jpg", imageAlt: "Authentic Taste"
},
{
id: "2", title: "Affordable Prices", descriptions: [
"Best quality food at budget-friendly prices", "Great value for money on every dish", "No compromise on quality with our pricing"
],
- imageSrc: "http://img.b2bpic.net/free-psd/authentic-chicken-biryani-served-traditional-earthenware-bowl_84443-64517.jpg?_wi=3", imageAlt: "Affordable Prices"
+ imageSrc: "http://img.b2bpic.net/free-psd/authentic-chicken-biryani-served-traditional-earthenware-bowl_84443-64517.jpg", imageAlt: "Affordable Prices"
},
{
id: "3", title: "24 Hour Service", descriptions: [
"Always open for your food cravings", "Late-night dining satisfaction anytime", "Perfect for students and night shift workers"
],
- imageSrc: "http://img.b2bpic.net/free-photo/top-baked-chicken-with-cheese-clay-bowl_140725-12284.jpg?_wi=3", imageAlt: "24 Hour Service"
+ imageSrc: "http://img.b2bpic.net/free-photo/top-baked-chicken-with-cheese-clay-bowl_140725-12284.jpg", imageAlt: "24 Hour Service"
},
{
id: "4", title: "Fast & Friendly", descriptions: [
"Quick food preparation without compromise", "Warm and welcoming service experience", "Dedicated team for exceptional hospitality"
],
- imageSrc: "http://img.b2bpic.net/free-photo/kebab-set-table_140725-9560.jpg?_wi=3", imageAlt: "Fast & Friendly"
+ imageSrc: "http://img.b2bpic.net/free-photo/kebab-set-table_140725-9560.jpg", imageAlt: "Fast & Friendly"
}
]}
/>
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..e86547e 100644
--- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
+++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
@@ -1,51 +1,43 @@
-"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?: string | number;
+ fill?: string;
+ dominantBaseline?: 'hanging' | 'middle' | 'auto';
+ textAnchor?: 'start' | 'middle' | 'end';
}
-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',
+ fill = 'currentColor',
+ dominantBaseline = 'middle',
+ textAnchor = 'middle',
+}) => {
return (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
+};
export default SvgTextLogo;