Merge version_1 into main #2
@@ -18,7 +18,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="smallMedium"
|
||||
sizing="mediumSizeLargeTitles"
|
||||
background="noise"
|
||||
background="circleGradient"
|
||||
cardStyle="soft-shadow"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -53,15 +53,15 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "Rajesh Kumar", handle: "Regular Customer", testimonial: "Juices and milkshakes are yummy and delicious! Best place for family outings.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=onwfwv&_wi=1", imageAlt: "Rajesh Kumar"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=onwfwv", imageAlt: "Rajesh Kumar"
|
||||
},
|
||||
{
|
||||
name: "Priya Sharma", handle: "Satisfied Customer", testimonial: "Very good place to visit with family. Fresh ingredients and friendly staff.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x0noax&_wi=1", imageAlt: "Priya Sharma"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x0noax", imageAlt: "Priya Sharma"
|
||||
},
|
||||
{
|
||||
name: "Vikram Singh", handle: "Local Resident", testimonial: "Affordable price and good service. Highly recommended for quick bites!", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tnm730&_wi=1", imageAlt: "Vikram Singh"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tnm730", imageAlt: "Vikram Singh"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
@@ -69,7 +69,7 @@ export default function LandingPage() {
|
||||
{ text: "View Menu", href: "#features" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
background={{ variant: "noise" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
@@ -127,7 +127,7 @@ export default function LandingPage() {
|
||||
title: "Quick Service", description: "Fast, friendly service whether you dine in, take out, or order delivery.", icon: Zap
|
||||
}
|
||||
]}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=u9gpnf&_wi=1"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=u9gpnf"
|
||||
imageAlt="Lemone Family Restaurant - Cozy Interior"
|
||||
mediaAnimation="slide-up"
|
||||
imagePosition="right"
|
||||
@@ -149,28 +149,22 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Rajesh Kumar", role: "Regular Customer", company: "Local Resident", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=onwfwv&_wi=2", imageAlt: "Rajesh Kumar"
|
||||
id: "1", name: "Rajesh Kumar", role: "Regular Customer", company: "Local Resident", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=onwfwv", imageAlt: "Rajesh Kumar"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Priya Sharma", role: "Family Visitor", company: "Student", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x0noax&_wi=2", imageAlt: "Priya Sharma"
|
||||
id: "2", name: "Priya Sharma", role: "Family Visitor", company: "Student", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x0noax", imageAlt: "Priya Sharma"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Vikram Singh", role: "Office Worker", company: "Tech Professional", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tnm730&_wi=2", imageAlt: "Vikram Singh"
|
||||
id: "3", name: "Vikram Singh", role: "Office Worker", company: "Tech Professional", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tnm730", imageAlt: "Vikram Singh"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Anjali Reddy", role: "Business Owner", company: "Entrepreneur", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=oysybc", imageAlt: "Anjali Reddy"
|
||||
id: "4", name: "Anjali Reddy", role: "Business Owner", company: "Entrepreneur", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=oysybc", imageAlt: "Anjali Reddy"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Deepak Patel", role: "Daily Customer", company: "Sales Executive", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=l0vj51", imageAlt: "Deepak Patel"
|
||||
id: "5", name: "Deepak Patel", role: "Daily Customer", company: "Sales Executive", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=l0vj51", imageAlt: "Deepak Patel"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Sneha Nair", role: "Food Enthusiast", company: "Marketing Manager", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cfswgo", imageAlt: "Sneha Nair"
|
||||
id: "6", name: "Sneha Nair", role: "Food Enthusiast", company: "Marketing Manager", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cfswgo", imageAlt: "Sneha Nair"
|
||||
}
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
@@ -203,7 +197,7 @@ export default function LandingPage() {
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterMedia
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=u9gpnf&_wi=2"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=u9gpnf"
|
||||
imageAlt="Lemone Family Restaurant Footer"
|
||||
logoText="Lemone Family Restaurant"
|
||||
copyrightText="© 2025 Lemone Family Restaurant. All rights reserved. 📍 Kodungaiyur, Chennai."
|
||||
|
||||
@@ -1,51 +1,26 @@
|
||||
"use client";
|
||||
import { SVGProps } from 'react';
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
export default function SvgTextLogo({ className = '', ...props }: SvgTextLogoProps) {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox="0 0 200 50"
|
||||
className={className}
|
||||
{...props}
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x="10"
|
||||
y="35"
|
||||
fontSize="32"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
Logo
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user