Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="smallMedium"
|
||||
sizing="mediumSizeLargeTitles"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-radial"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -47,14 +47,14 @@ export default function LandingPage() {
|
||||
tag="Ristorante & Pub • Corigliano-Rossano, Calabria"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
kpis={[
|
||||
{ value: "15+", label: "Anni di Esperienza" },
|
||||
{ value: "500+", label: "Clienti Felici" },
|
||||
{ value: "4.9★", label: "Valutazione Media" }
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/two-men-cafe_23-2147775893.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/two-men-cafe_23-2147775893.jpg"
|
||||
imageAlt="Caminetto accogliente di Don Giovanni House"
|
||||
imagePosition="right"
|
||||
mediaAnimation="blur-reveal"
|
||||
@@ -107,9 +107,8 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
titleClassName="text-5xl font-bold"
|
||||
descriptionClassName="text-lg"
|
||||
buttonContainerClassName="flex gap-4 mt-8"
|
||||
cardTitleClassName="text-5xl font-bold"
|
||||
cardDescriptionClassName="text-lg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -117,13 +116,13 @@ export default function LandingPage() {
|
||||
<TestimonialCardFive
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Marco Rossi, Direttore Vendite", date: "Date: 15 Novembre 2024", title: "Atmosfera incredibile, uno dei locali più belli della zona", quote: "Sono tornato a Don Giovanni House più volte con famiglia e amici. L'atmosfera è calorosa, il servizio impeccabile e la qualità dei piatti è eccellente. Il caminetto con i divanetti crea un'atmosfera magica.", tag: "Cena in Famiglia", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-with-glasses_23-2148290343.jpg", avatarAlt: "Marco Rossi", imageSrc: "http://img.b2bpic.net/free-photo/two-men-cafe_23-2147775893.jpg?_wi=2", imageAlt: "Interno accogliente di Don Giovanni House"
|
||||
id: "1", name: "Marco Rossi, Direttore Vendite", date: "Date: 15 Novembre 2024", title: "Atmosfera incredibile, uno dei locali più belli della zona", quote: "Sono tornato a Don Giovanni House più volte con famiglia e amici. L'atmosfera è calorosa, il servizio impeccabile e la qualità dei piatti è eccellente. Il caminetto con i divanetti crea un'atmosfera magica.", tag: "Cena in Famiglia", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-with-glasses_23-2148290343.jpg", avatarAlt: "Marco Rossi", imageSrc: "http://img.b2bpic.net/free-photo/two-men-cafe_23-2147775893.jpg", imageAlt: "Interno accogliente di Don Giovanni House"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Giulia Marino, Event Planner", date: "Date: 22 Ottobre 2024", title: "Perfetto per celebrazioni e momenti speciali", quote: "Ho organizzato un evento importante qui e il team ha reso tutto perfetto. Lo spazio è elegante, il cibo eccezionale e l'atmosfera premurosa. I nostri ospiti non hanno smesso di complimentarsi.", tag: "Evento Aziendale", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-elegant-bearded-man-dressed-wool-jacket-bow-tie_613910-3110.jpg", avatarAlt: "Giulia Marino", imageSrc: "http://img.b2bpic.net/free-photo/person-holding-glass-refreshing-cocktail-drink_23-2149384477.jpg", imageAlt: "Cocktail premium di Don Giovanni House"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Antonio Calabrese, Imprenditore", date: "Date: 08 Settembre 2024", title: "Pizza ottima, cocktail eccellenti e ambiente accogliente", quote: "Questa è la mia destinazione preferita quando voglio trascorrere una serata speciale. La qualità della pizza è insuperabile, i cocktail sono creativi e il personale è sempre disponibile.", tag: "Serata Speciale", avatarSrc: "http://img.b2bpic.net/free-photo/expressive-woman-posing-outdoor_344912-2955.jpg", avatarAlt: "Antonio Calabrese", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sliced-mushroom-pizza-delicious-dough-with-fresh-vegetables-dark-surface-dough-meal-food-italian-bake_140725-102076.jpg?_wi=1", imageAlt: "Pizza artigianale gourmet"
|
||||
id: "3", name: "Antonio Calabrese, Imprenditore", date: "Date: 08 Settembre 2024", title: "Pizza ottima, cocktail eccellenti e ambiente accogliente", quote: "Questa è la mia destinazione preferita quando voglio trascorrere una serata speciale. La qualità della pizza è insuperabile, i cocktail sono creativi e il personale è sempre disponibile.", tag: "Serata Speciale", avatarSrc: "http://img.b2bpic.net/free-photo/expressive-woman-posing-outdoor_344912-2955.jpg", avatarAlt: "Antonio Calabrese", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sliced-mushroom-pizza-delicious-dough-with-fresh-vegetables-dark-surface-dough-meal-food-italian-bake_140725-102076.jpg", imageAlt: "Pizza artigianale gourmet"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Francesca Di Benedetto, Blogger Food", date: "Date: 30 Agosto 2024", title: "Un posto dove sentirsi davvero a casa", quote: "Ho visitato Don Giovanni House per la mia rubrica gastronomica e sono rimasta affascinata. Design sofisticato, piatti creativi e un'ospitalità che va oltre le aspettative. Consiglio vivamente!", tag: "Food Experience", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-middle-aged-businessman-posing-looking-camera_1163-4800.jpg", avatarAlt: "Francesca Di Benedetto", imageSrc: "http://img.b2bpic.net/free-photo/delicious-steak-with-spicy-sauce_140725-951.jpg", imageAlt: "Carni selezionate gourmet"
|
||||
@@ -136,8 +135,8 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
titleClassName="text-5xl font-bold"
|
||||
descriptionClassName="text-lg"
|
||||
cardTitleClassName="text-5xl font-bold"
|
||||
cardDescriptionClassName="text-lg"
|
||||
cardTitleClassName="text-2xl font-bold"
|
||||
cardQuoteClassName="text-base leading-relaxed"
|
||||
/>
|
||||
@@ -150,7 +149,7 @@ export default function LandingPage() {
|
||||
id: "1", category: "Ambiente", title: "L'arte del design: come nasce l'atmosfera unica", excerpt: "Scopri come il design industrial-vittoriano crea un'atmosfera unica che fa sentire i nostri ospiti a casa.", imageSrc: "http://img.b2bpic.net/free-photo/sitting-table-with-chairs-yellow-sofa-restaurant-with-panoramic-view_114579-1523.jpg", imageAlt: "Atmosfera elegante di Don Giovanni House", authorName: "Don Giovanni Team", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-with-glasses_23-2148290343.jpg", date: "12 Gennaio 2025"
|
||||
},
|
||||
{
|
||||
id: "2", category: "Cucina", title: "Pizza artigianale: tradizione e innovazione", excerpt: "Come i nostri chef combinano ricette tradizionali calabresi con tecniche moderne per creare pizza indimenticabile.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sliced-mushroom-pizza-delicious-dough-with-fresh-vegetables-dark-surface-dough-meal-food-italian-bake_140725-102076.jpg?_wi=2", imageAlt: "Pizza artigianale gourmet", authorName: "Chef Marco", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-elegant-bearded-man-dressed-wool-jacket-bow-tie_613910-3110.jpg", date: "08 Gennaio 2025"
|
||||
id: "2", category: "Cucina", title: "Pizza artigianale: tradizione e innovazione", excerpt: "Come i nostri chef combinano ricette tradizionali calabresi con tecniche moderne per creare pizza indimenticabile.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sliced-mushroom-pizza-delicious-dough-with-fresh-vegetables-dark-surface-dough-meal-food-italian-bake_140725-102076.jpg", imageAlt: "Pizza artigianale gourmet", authorName: "Chef Marco", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-elegant-bearded-man-dressed-wool-jacket-bow-tie_613910-3110.jpg", date: "08 Gennaio 2025"
|
||||
},
|
||||
{
|
||||
id: "3", category: "Lifestyle", title: "L'aperitivo italiano: un rituale sociale", excerpt: "Scopri come l'aperitivo è più di una bevanda, è un momento di condivisione e convivialità con Don Giovanni.", imageSrc: "http://img.b2bpic.net/free-photo/two-woman-holding-glasses-fruit-cocktails-with-orange-strawberry-apple-strawberry_140725-658.jpg", imageAlt: "Aperitivo italiano con cocktail e stuzzichini", authorName: "Don Giovanni Team", authorAvatar: "http://img.b2bpic.net/free-photo/expressive-woman-posing-outdoor_344912-2955.jpg", date: "03 Gennaio 2025"
|
||||
@@ -164,8 +163,8 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
titleClassName="text-5xl font-bold"
|
||||
descriptionClassName="text-lg"
|
||||
cardTitleClassName="text-5xl font-bold"
|
||||
cardDescriptionClassName="text-lg"
|
||||
carouselMode="buttons"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1,51 +1,41 @@
|
||||
"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?: string | 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 = 'Your Logo',
|
||||
fontSize = 32,
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
fontWeight = 'bold',
|
||||
fill = 'currentColor',
|
||||
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} ${fontSize * 1.5}`}
|
||||
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"
|
||||
}}
|
||||
y={fontSize}
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
dominantBaseline="auto"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user