Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="smallMedium"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="blurBottom"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -43,7 +43,7 @@ export default function LandingPage() {
|
||||
<HeroSplit
|
||||
title="Artisanal Flavors, Timeless Traditions"
|
||||
description="Welcome to La Pasion, where passion meets perfection. Experience authentic Spanish and Mexican cuisine crafted with the finest ingredients and generations of family tradition."
|
||||
background={{ variant: "blurBottom" }}
|
||||
background={{ variant: "plain" }}
|
||||
tag="Est. 1995"
|
||||
tagIcon={Heart}
|
||||
buttons={[
|
||||
@@ -78,13 +78,13 @@ export default function LandingPage() {
|
||||
tagIcon={Sparkles}
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Pan de Pueblo", price: "$6.99", variant: "Rustic Whole Wheat", imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-baguettes-cloth-maroon-background-with-copy-space_141793-5212.jpg?_wi=1", imageAlt: "Artisanal Pan de Pueblo bread"
|
||||
id: "1", name: "Pan de Pueblo", price: "$6.99", variant: "Rustic Whole Wheat", imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-baguettes-cloth-maroon-background-with-copy-space_141793-5212.jpg", imageAlt: "Artisanal Pan de Pueblo bread"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Croissant de Mantequilla", price: "$4.99", variant: "Butter Fresh Daily", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pan-de-muerto-dough_23-2149023944.jpg?_wi=1", imageAlt: "French butter croissant"
|
||||
id: "2", name: "Croissant de Mantequilla", price: "$4.99", variant: "Butter Fresh Daily", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pan-de-muerto-dough_23-2149023944.jpg", imageAlt: "French butter croissant"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Paella Valenciana", price: "$24.99", variant: "Seafood Serves 2-3", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-meal-with-noodles-seafood-shrimp-oysters_181624-45309.jpg?_wi=1", imageAlt: "Traditional Paella Valenciana"
|
||||
id: "3", name: "Paella Valenciana", price: "$24.99", variant: "Seafood Serves 2-3", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-meal-with-noodles-seafood-shrimp-oysters_181624-45309.jpg", imageAlt: "Traditional Paella Valenciana"
|
||||
}
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
@@ -105,19 +105,19 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
plans={[
|
||||
{
|
||||
id: "small", title: "Intimate Gathering", price: "$299", period: "for 10 guests", imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-baguettes-cloth-maroon-background-with-copy-space_141793-5212.jpg?_wi=2", imageAlt: "Intimate catering package", button: { text: "Inquire Now", href: "contact" },
|
||||
id: "small", title: "Intimate Gathering", price: "$299", period: "for 10 guests", imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-baguettes-cloth-maroon-background-with-copy-space_141793-5212.jpg", imageAlt: "Intimate catering package", button: { text: "Inquire Now", href: "contact" },
|
||||
features: [
|
||||
"Fresh baked bread selection", "3 main course options", "Dessert pastry assortment", "Beverage service included"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "medium", title: "Family Celebration", price: "$599", period: "for 25 guests", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-meal-with-noodles-seafood-shrimp-oysters_181624-45309.jpg?_wi=2", imageAlt: "Family celebration catering", button: { text: "Inquire Now", href: "contact" },
|
||||
id: "medium", title: "Family Celebration", price: "$599", period: "for 25 guests", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-meal-with-noodles-seafood-shrimp-oysters_181624-45309.jpg", imageAlt: "Family celebration catering", button: { text: "Inquire Now", href: "contact" },
|
||||
features: [
|
||||
"Full bakery display", "5 main course options", "Premium dessert selection", "Dedicated service staff", "Custom table settings"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "large", title: "Grand Event", price: "$1,299", period: "for 50+ guests", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pan-de-muerto-dough_23-2149023944.jpg?_wi=2", imageAlt: "Grand event catering", button: { text: "Inquire Now", href: "contact" },
|
||||
id: "large", title: "Grand Event", price: "$1,299", period: "for 50+ guests", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pan-de-muerto-dough_23-2149023944.jpg", imageAlt: "Grand event catering", button: { text: "Inquire Now", href: "contact" },
|
||||
features: [
|
||||
"Complete menu customization", "Live cooking station", "Full dessert bar", "Professional serving team", "Setup and cleanup included", "Beverage packages available"
|
||||
]
|
||||
@@ -138,10 +138,10 @@ export default function LandingPage() {
|
||||
speed={40}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Maria Garcia", handle: "Local Food Critic", testimonial: "The most authentic Spanish paella I've had outside of Madrid. La Pasion truly captures the heart and soul of traditional cooking. Their bread alone is worth the visit!", imageSrc: "http://img.b2bpic.net/free-photo/female-employee-black-suit-looks-positive_114579-21797.jpg?_wi=1", imageAlt: "Maria Garcia"
|
||||
id: "1", name: "Maria Garcia", handle: "Local Food Critic", testimonial: "The most authentic Spanish paella I've had outside of Madrid. La Pasion truly captures the heart and soul of traditional cooking. Their bread alone is worth the visit!", imageSrc: "http://img.b2bpic.net/free-photo/female-employee-black-suit-looks-positive_114579-21797.jpg", imageAlt: "Maria Garcia"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Carlos Rodriguez", handle: "@FoodBloggerCR", testimonial: "30 years of excellence and they haven't missed a beat. Every pastry is perfection, every dish tells a story. This is a gem in our community.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-office-2_1262-1488.jpg?_wi=1", imageAlt: "Carlos Rodriguez"
|
||||
id: "2", name: "Carlos Rodriguez", handle: "@FoodBloggerCR", testimonial: "30 years of excellence and they haven't missed a beat. Every pastry is perfection, every dish tells a story. This is a gem in our community.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-office-2_1262-1488.jpg", imageAlt: "Carlos Rodriguez"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Elena Morales", handle: "Event Planner", testimonial: "La Pasion catered our wedding and it was absolutely unforgettable. The attention to detail, the flavors, the presentation - everything was beyond expectations.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-green-shirt-posing-gray-wall_114579-63120.jpg", imageAlt: "Elena Morales"
|
||||
@@ -150,10 +150,10 @@ export default function LandingPage() {
|
||||
id: "4", name: "Miguel Torres", handle: "Restaurant Owner", testimonial: "A true institution. Their commitment to quality and tradition is something that inspired my own restaurant. Highly recommend for any occasion.", imageSrc: "http://img.b2bpic.net/free-photo/man-button-up-his-jacket-smiles_23-2148401389.jpg", imageAlt: "Miguel Torres"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Sofia Hernandez", handle: "Daily Customer", testimonial: "I've been coming here since I was a child. La Pasion is more than a restaurant - it's a family gathering place where memories are made over delicious food.", imageSrc: "http://img.b2bpic.net/free-photo/female-employee-black-suit-looks-positive_114579-21797.jpg?_wi=2", imageAlt: "Sofia Hernandez"
|
||||
id: "5", name: "Sofia Hernandez", handle: "Daily Customer", testimonial: "I've been coming here since I was a child. La Pasion is more than a restaurant - it's a family gathering place where memories are made over delicious food.", imageSrc: "http://img.b2bpic.net/free-photo/female-employee-black-suit-looks-positive_114579-21797.jpg", imageAlt: "Sofia Hernandez"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Juan Delgado", handle: "@TravelBlogger", testimonial: "Hidden gem! If you want authentic Spanish and Mexican cuisine, this is the place. Everything tastes like it was made with love, because it was.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-office-2_1262-1488.jpg?_wi=2", imageAlt: "Juan Delgado"
|
||||
id: "6", name: "Juan Delgado", handle: "@TravelBlogger", testimonial: "Hidden gem! If you want authentic Spanish and Mexican cuisine, this is the place. Everything tastes like it was made with love, because it was.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-office-2_1262-1488.jpg", imageAlt: "Juan Delgado"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
||||
@@ -1,51 +1,44 @@
|
||||
"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;
|
||||
fontSize?: number;
|
||||
fontFamily?: string;
|
||||
fontWeight?: number;
|
||||
fill?: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
fontSize = 48,
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
fontWeight = 700,
|
||||
fill = '#000000',
|
||||
className = '',
|
||||
}) => {
|
||||
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 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
|
||||
width="200"
|
||||
height="60"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
>
|
||||
<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="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="middle"
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user