Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 17:42:29 +00:00
2 changed files with 62 additions and 192 deletions

View File

@@ -71,7 +71,7 @@ export default function HomePage() {
borderRadius="rounded"
contentWidth="smallMedium"
sizing="large"
background="noise"
background="circleGradient"
cardStyle="gradient-mesh"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="layered"
@@ -88,52 +88,32 @@ export default function HomePage() {
tag="The Atelier of Celebration"
tagIcon={Sparkles}
tagAnimation="slide-up"
background={{ variant: "noise" }}
background={{ variant: "glowing-orb" }}
leftCarouselItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/festive-table-decorating-by-decorations-utensils-new-year-eve-concept_132075-11301.jpg?_wi=1",
imageAlt: "Organic balloon installation with elegant styling",
},
imageSrc: "http://img.b2bpic.net/free-photo/festive-table-decorating-by-decorations-utensils-new-year-eve-concept_132075-11301.jpg", imageAlt: "Organic balloon installation with elegant styling"},
{
imageSrc: "http://img.b2bpic.net/free-photo/bridal-bouquet-top-view_1304-3781.jpg?_wi=1",
imageAlt: "Dusty rose balloon arrangement",
},
imageSrc: "http://img.b2bpic.net/free-photo/bridal-bouquet-top-view_1304-3781.jpg", imageAlt: "Dusty rose balloon arrangement"},
{
imageSrc: "http://img.b2bpic.net/free-photo/top-view-table-arrangement-with-plant_23-2148914883.jpg?_wi=1",
imageAlt: "Champagne gold luxury decor",
},
imageSrc: "http://img.b2bpic.net/free-photo/top-view-table-arrangement-with-plant_23-2148914883.jpg", imageAlt: "Champagne gold luxury decor"},
{
imageSrc: "http://img.b2bpic.net/free-photo/furniture-clean-white-green-decor_1203-4940.jpg?_wi=1",
imageAlt: "Pearl white sophisticated venue",
},
imageSrc: "http://img.b2bpic.net/free-photo/furniture-clean-white-green-decor_1203-4940.jpg", imageAlt: "Pearl white sophisticated venue"},
]}
rightCarouselItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/top-view-table-arrangement-with-plant_23-2148914883.jpg?_wi=2",
imageAlt: "Premium table styling with gold accents",
},
imageSrc: "http://img.b2bpic.net/free-photo/top-view-table-arrangement-with-plant_23-2148914883.jpg", imageAlt: "Premium table styling with gold accents"},
{
imageSrc: "http://img.b2bpic.net/free-photo/furniture-clean-white-green-decor_1203-4940.jpg?_wi=2",
imageAlt: "Refined celebration setup",
},
imageSrc: "http://img.b2bpic.net/free-photo/furniture-clean-white-green-decor_1203-4940.jpg", imageAlt: "Refined celebration setup"},
{
imageSrc: "http://img.b2bpic.net/free-photo/festive-table-decorating-by-decorations-utensils-new-year-eve-concept_132075-11301.jpg?_wi=2",
imageAlt: "Modern luxury balloon styling",
},
imageSrc: "http://img.b2bpic.net/free-photo/festive-table-decorating-by-decorations-utensils-new-year-eve-concept_132075-11301.jpg", imageAlt: "Modern luxury balloon styling"},
{
imageSrc: "http://img.b2bpic.net/free-photo/bridal-bouquet-top-view_1304-3781.jpg?_wi=2",
imageAlt: "Elegant rose and champagne theme",
},
imageSrc: "http://img.b2bpic.net/free-photo/bridal-bouquet-top-view_1304-3781.jpg", imageAlt: "Elegant rose and champagne theme"},
]}
buttons={[
{
text: "Request a Quote",
href: "/contact",
},
text: "Request a Quote", href: "/contact"},
{
text: "Explore Collections",
href: "/collections",
},
text: "Explore Collections", href: "/collections"},
]}
buttonAnimation="slide-up"
carouselPosition="right"
@@ -154,33 +134,13 @@ export default function HomePage() {
gridVariant="uniform-all-items-equal"
products={[
{
id: "1",
name: "The Minimalist Wedding",
price: "From €450",
imageSrc: "http://img.b2bpic.net/free-photo/young-female-florist-holding-flower-low-view_23-2148463272.jpg?_wi=1",
imageAlt: "Minimalist wedding collection with elegant gold accents",
},
id: "1", name: "The Minimalist Wedding", price: "From €450", imageSrc: "http://img.b2bpic.net/free-photo/young-female-florist-holding-flower-low-view_23-2148463272.jpg", imageAlt: "Minimalist wedding collection with elegant gold accents"},
{
id: "2",
name: "Enchanted Childhood",
price: "From €350",
imageSrc: "http://img.b2bpic.net/free-photo/big-bunch-balloons-held-by-cute-children_329181-7561.jpg?_wi=1",
imageAlt: "Premium children's party collection",
},
id: "2", name: "Enchanted Childhood", price: "From €350", imageSrc: "http://img.b2bpic.net/free-photo/big-bunch-balloons-held-by-cute-children_329181-7561.jpg", imageAlt: "Premium children's party collection"},
{
id: "3",
name: "Corporate Excellence",
price: "From €600",
imageSrc: "http://img.b2bpic.net/free-photo/professional-woman-stylish-suit-office-using-smartphone_23-2150167722.jpg?_wi=1",
imageAlt: "Sophisticated corporate event collection",
},
id: "3", name: "Corporate Excellence", price: "From €600", imageSrc: "http://img.b2bpic.net/free-photo/professional-woman-stylish-suit-office-using-smartphone_23-2150167722.jpg", imageAlt: "Sophisticated corporate event collection"},
{
id: "4",
name: "The Golden Anniversary",
price: "From €500",
imageSrc: "http://img.b2bpic.net/free-photo/decorated-table-with-orchids-candles-glasses-light_8353-9915.jpg?_wi=1",
imageAlt: "Luxury golden anniversary celebration package",
},
id: "4", name: "The Golden Anniversary", price: "From €500", imageSrc: "http://img.b2bpic.net/free-photo/decorated-table-with-orchids-candles-glasses-light_8353-9915.jpg", imageAlt: "Luxury golden anniversary celebration package"},
]}
/>
</div>
@@ -198,34 +158,22 @@ export default function HomePage() {
features={[
{
icon: Zap,
title: "Custom Balloon Styling",
description: "Professional installations for intimate homes and grand venues. Organic arrangements with premium materials and bespoke design.",
},
title: "Custom Balloon Styling", description: "Professional installations for intimate homes and grand venues. Organic arrangements with premium materials and bespoke design."},
{
icon: Box,
title: "Party-in-a-Box",
description: "Curated, ready-to-use décor sets for busy clients. Everything included for effortless celebration setup.",
},
title: "Party-in-a-Box", description: "Curated, ready-to-use décor sets for busy clients. Everything included for effortless celebration setup."},
{
icon: Briefcase,
title: "Event Consultation",
description: "Personalized planning sessions. From concept to execution, we design the celebration of your dreams.",
},
title: "Event Consultation", description: "Personalized planning sessions. From concept to execution, we design the celebration of your dreams."},
{
icon: Palette,
title: "Bespoke Design",
description: "Custom color palettes, themes, and styling. Tailored entirely to your vision and aesthetic preferences.",
},
title: "Bespoke Design", description: "Custom color palettes, themes, and styling. Tailored entirely to your vision and aesthetic preferences."},
{
icon: MapPin,
title: "Local Delivery & Setup",
description: "Professional delivery and installation throughout Vomero and Naples. Convenience and expertise combined.",
},
title: "Local Delivery & Setup", description: "Professional delivery and installation throughout Vomero and Naples. Convenience and expertise combined."},
{
icon: Phone,
title: "WhatsApp Support",
description: "Instant messaging for quick inquiries, quote requests, and real-time communication about your event.",
},
title: "WhatsApp Support", description: "Instant messaging for quick inquiries, quote requests, and real-time communication about your event."},
]}
/>
</div>
@@ -243,49 +191,17 @@ export default function HomePage() {
carouselMode="buttons"
blogs={[
{
id: "1",
category: ["Weddings", "Elegant"],
title: "Minimalist Bride's Dream",
excerpt: "A champagne and ivory wedding in Vomero featuring organic balloon installations and refined table styling.",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-enjoying-party-confetti_158595-3937.jpg?_wi=1",
imageAlt: "Elegant minimalist wedding setup",
authorName: "Festivity Factory",
authorAvatar: "http://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-1524.jpg",
date: "2025",
},
id: "1", category: ["Weddings", "Elegant"],
title: "Minimalist Bride's Dream", excerpt: "A champagne and ivory wedding in Vomero featuring organic balloon installations and refined table styling.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-enjoying-party-confetti_158595-3937.jpg", imageAlt: "Elegant minimalist wedding setup", authorName: "Festivity Factory", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-1524.jpg", date: "2025"},
{
id: "2",
category: ["Corporate", "Professional"],
title: "Corporate Gala Excellence",
excerpt: "A sophisticated corporate celebration with gold accents and professional balloon styling for 150 guests.",
imageSrc: "http://img.b2bpic.net/free-photo/senior-couples-together-luxurious-restaurant_23-2150517428.jpg?_wi=1",
imageAlt: "Professional corporate event styling",
authorName: "Festivity Factory",
authorAvatar: "http://img.b2bpic.net/free-photo/front-view-crazy-pretty-maids-honor-with-perfect-hairdo-makeup-wearing-stylish-peignoirs-standing-keeping_8353-11900.jpg",
date: "2025",
},
id: "2", category: ["Corporate", "Professional"],
title: "Corporate Gala Excellence", excerpt: "A sophisticated corporate celebration with gold accents and professional balloon styling for 150 guests.", imageSrc: "http://img.b2bpic.net/free-photo/senior-couples-together-luxurious-restaurant_23-2150517428.jpg", imageAlt: "Professional corporate event styling", authorName: "Festivity Factory", authorAvatar: "http://img.b2bpic.net/free-photo/front-view-crazy-pretty-maids-honor-with-perfect-hairdo-makeup-wearing-stylish-peignoirs-standing-keeping_8353-11900.jpg", date: "2025"},
{
id: "3",
category: ["Children", "Playful"],
title: "Enchanted Birthday Magic",
excerpt: "A premium children's party with sophisticated styling and curated decorations for unforgettable memories.",
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-celebrating-new-year-s-eve_23-2148741395.jpg?_wi=1",
imageAlt: "Luxury children's birthday celebration",
authorName: "Festivity Factory",
authorAvatar: "http://img.b2bpic.net/free-photo/family-with-little-daughter-spending-time-together-sunny-field_1157-38148.jpg",
date: "2025",
},
id: "3", category: ["Children", "Playful"],
title: "Enchanted Birthday Magic", excerpt: "A premium children's party with sophisticated styling and curated decorations for unforgettable memories.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-celebrating-new-year-s-eve_23-2148741395.jpg", imageAlt: "Luxury children's birthday celebration", authorName: "Festivity Factory", authorAvatar: "http://img.b2bpic.net/free-photo/family-with-little-daughter-spending-time-together-sunny-field_1157-38148.jpg", date: "2025"},
{
id: "4",
category: ["Milestones", "Celebration"],
title: "Golden Anniversary Celebration",
excerpt: "Luxurious styling for a 50-year celebration featuring gold, rose, and pearl tones in perfect harmony.",
imageSrc: "http://img.b2bpic.net/free-photo/group-young-people-celebrating-new-year-friends-drinks-champagne_1157-43167.jpg",
imageAlt: "Elegant golden anniversary event",
authorName: "Festivity Factory",
authorAvatar: "http://img.b2bpic.net/free-photo/girl-takes-off-her-protective-medical-face-mask_1153-8487.jpg",
date: "2025",
},
id: "4", category: ["Milestones", "Celebration"],
title: "Golden Anniversary Celebration", excerpt: "Luxurious styling for a 50-year celebration featuring gold, rose, and pearl tones in perfect harmony.", imageSrc: "http://img.b2bpic.net/free-photo/group-young-people-celebrating-new-year-friends-drinks-champagne_1157-43167.jpg", imageAlt: "Elegant golden anniversary event", authorName: "Festivity Factory", authorAvatar: "http://img.b2bpic.net/free-photo/girl-takes-off-her-protective-medical-face-mask_1153-8487.jpg", date: "2025"},
]}
/>
</div>
@@ -303,53 +219,17 @@ export default function HomePage() {
speed={40}
testimonials={[
{
id: "1",
name: "Maria Rossi",
handle: "Bride 2024",
testimonial: "Festivity Factory made my wedding day absolutely magical. The attention to detail and sophistication was beyond expectations. Every balloon, every element was perfect.",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-1524.jpg?_wi=1",
imageAlt: "Maria Rossi",
},
id: "1", name: "Maria Rossi", handle: "Bride 2024", testimonial: "Festivity Factory made my wedding day absolutely magical. The attention to detail and sophistication was beyond expectations. Every balloon, every element was perfect.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-1524.jpg", imageAlt: "Maria Rossi"},
{
id: "2",
name: "Giovanni & Elena",
handle: "Corporate Event",
testimonial: "Our gala was transformed into an elegant masterpiece. The team understood our vision perfectly and delivered professional excellence. Highly recommended!",
imageSrc: "http://img.b2bpic.net/free-photo/front-view-crazy-pretty-maids-honor-with-perfect-hairdo-makeup-wearing-stylish-peignoirs-standing-keeping_8353-11900.jpg?_wi=1",
imageAlt: "Giovanni and Elena",
},
id: "2", name: "Giovanni & Elena", handle: "Corporate Event", testimonial: "Our gala was transformed into an elegant masterpiece. The team understood our vision perfectly and delivered professional excellence. Highly recommended!", imageSrc: "http://img.b2bpic.net/free-photo/front-view-crazy-pretty-maids-honor-with-perfect-hairdo-makeup-wearing-stylish-peignoirs-standing-keeping_8353-11900.jpg", imageAlt: "Giovanni and Elena"},
{
id: "3",
name: "Francesca Marino",
handle: "Birthday Mom",
testimonial: "My daughter's party was the talk of all parents. The styling was sophisticated yet playful. Festivity Factory is the gold standard for celebrations in Naples.",
imageSrc: "http://img.b2bpic.net/free-photo/family-with-little-daughter-spending-time-together-sunny-field_1157-38148.jpg?_wi=1",
imageAlt: "Francesca Marino",
},
id: "3", name: "Francesca Marino", handle: "Birthday Mom", testimonial: "My daughter's party was the talk of all parents. The styling was sophisticated yet playful. Festivity Factory is the gold standard for celebrations in Naples.", imageSrc: "http://img.b2bpic.net/free-photo/family-with-little-daughter-spending-time-together-sunny-field_1157-38148.jpg", imageAlt: "Francesca Marino"},
{
id: "4",
name: "Antonio Ferrari",
handle: "Restaurant Owner",
testimonial: "We partnered with Festivity Factory for venue styling. Their professionalism, creativity, and reliability transformed our restaurant into an event destination.",
imageSrc: "http://img.b2bpic.net/free-photo/girl-takes-off-her-protective-medical-face-mask_1153-8487.jpg?_wi=1",
imageAlt: "Antonio Ferrari",
},
id: "4", name: "Antonio Ferrari", handle: "Restaurant Owner", testimonial: "We partnered with Festivity Factory for venue styling. Their professionalism, creativity, and reliability transformed our restaurant into an event destination.", imageSrc: "http://img.b2bpic.net/free-photo/girl-takes-off-her-protective-medical-face-mask_1153-8487.jpg", imageAlt: "Antonio Ferrari"},
{
id: "5",
name: "Lucia Benedetti",
handle: "Wedding Planner",
testimonial: "As a wedding planner, I collaborate with Festivity Factory regularly. Their bespoke designs and attention to luxury details are unmatched in the region.",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-1524.jpg?_wi=2",
imageAlt: "Lucia Benedetti",
},
id: "5", name: "Lucia Benedetti", handle: "Wedding Planner", testimonial: "As a wedding planner, I collaborate with Festivity Factory regularly. Their bespoke designs and attention to luxury details are unmatched in the region.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-1524.jpg", imageAlt: "Lucia Benedetti"},
{
id: "6",
name: "Pietro Colombo",
handle: "Anniversary Celebration",
testimonial: "Our 40th anniversary was unforgettable thanks to Festivity Factory. The golden themes and elegant styling created the perfect evening. Pure elegance!",
imageSrc: "http://img.b2bpic.net/free-photo/front-view-crazy-pretty-maids-honor-with-perfect-hairdo-makeup-wearing-stylish-peignoirs-standing-keeping_8353-11900.jpg?_wi=2",
imageAlt: "Pietro Colombo",
},
id: "6", name: "Pietro Colombo", handle: "Anniversary Celebration", testimonial: "Our 40th anniversary was unforgettable thanks to Festivity Factory. The golden themes and elegant styling created the perfect evening. Pure elegance!", imageSrc: "http://img.b2bpic.net/free-photo/front-view-crazy-pretty-maids-honor-with-perfect-hairdo-makeup-wearing-stylish-peignoirs-standing-keeping_8353-11900.jpg", imageAlt: "Pietro Colombo"},
]}
/>
</div>

View File

@@ -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;
className?: string;
fontSize?: number;
fontWeight?: string;
fill?: string;
dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'central' | 'hanging' | 'mathematical' | 'ideographic';
}
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,
className = '',
fontSize = 24,
fontWeight = 'bold',
fill = 'currentColor',
dominantBaseline = 'middle',
}) => {
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}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<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={`${text.length * fontSize * 0.5}`}
y={`${fontSize * 0.75}`}
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
textAnchor="middle"
dominantBaseline={dominantBaseline}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;