5 Commits

3 changed files with 45 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
"use client"
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
@@ -10,6 +10,7 @@ import FaqBase from '@/components/sections/faq/FaqBase';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Sparkles, Star, HelpCircle } from "lucide-react";
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
export default function LandingPage() {
return (
@@ -43,17 +44,35 @@ export default function LandingPage() {
</div>
<div id="hero-section" data-section="hero-section">
<HeroLogo
logoText="Warm & Crumb"
description="Artisan Baked Goods Delivered to Your Doorstep"
<HeroBillboardCarousel
title="Artisanal Baked Goods"
description="Handcrafted with passion and premium ingredients for an unforgettable taste experience"
background={{ variant: "radial-gradient" }}
tag="Fresh Daily"
tagIcon={null}
tagAnimation="fade-in"
buttons={[
{ text: "View Our Menu", href: "products-section" },
{ text: "Visit Us", href: "contact-section" }
{ text: "View Our Menu", href: "#menu", dataWebildId: "btn-carousel-1" },
{ text: "Order Online", href: "#order", dataWebildId: "btn-carousel-2" }
]}
buttonAnimation="slide-up"
imageSrc="https://img.b2bpic.net/free-photo/view-delicious-baked-bread-pastry-shop_23-2150379551.jpg"
imageAlt="Warm and inviting bakery interior with fresh pastries on display"
showDimOverlay={true}
mediaItems={[
{ imageSrc: "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg", imageAlt: "Fresh baked croissants" },
{ imageSrc: "https://img.b2bpic.net/free-photo/futuristic-moon-background_23-2150930890.jpg", imageAlt: "Artisan sourdough bread" },
{ imageSrc: "https://img.b2bpic.net/free-photo/futuristic-city-architecture_23-2151918947.jpg", imageAlt: "Delicious pastries display" },
{ imageSrc: "https://img.b2bpic.net/free-photo/beautiful-landscape-with-mountains_23-2151151078.jpg", imageAlt: "Warm & Crumb bakery interior" }
]}
ariaLabel="Welcome to Warm & Crumb Bakery"
className=""
containerClassName=""
textBoxClassName=""
titleClassName=""
descriptionClassName=""
tagClassName=""
buttonContainerClassName=""
buttonClassName=""
buttonTextClassName=""
mediaWrapperClassName=""
/>
</div>
@@ -151,6 +170,14 @@ export default function LandingPage() {
/>
</div>
<div className="flex justify-center gap-4 py-8">
<span className="text-4xl"></span>
<span className="text-4xl"></span>
<span className="text-4xl"></span>
<span className="text-4xl"></span>
<span className="text-4xl"></span>
</div>
<div id="faq-section" data-section="faq-section">
<FaqBase
title="Frequently Asked Questions"

View File

@@ -4,18 +4,18 @@
/* --background: #f7f6f7;;
--card: #1a1a1a;;
--foreground: #ffff00;;
--foreground: #000000;;
--primary-cta: #ffcc00;;
--secondary-cta: #ffff00;;
--secondary-cta: #ffcc00;;
--accent: #ff9900;;
--background-accent: #333300;; */
--background: #000000;;
--card: #1a1a1a;;
--foreground: #ffff00;;
--foreground: #000000;;
--primary-cta: #ffcc00;;
--primary-cta-text: #f7f6f7;;
--secondary-cta: #ffff00;;
--secondary-cta: #ffcc00;;
--secondary-cta-text: #0c1325;;
--accent: #ff9900;;
--background-accent: #333300;;

View File

@@ -9,6 +9,7 @@ import { useButtonAnimation } from "@/components/hooks/useButtonAnimation";
import type { LucideIcon } from "lucide-react";
import type { ButtonConfig, ButtonAnimationType } from "@/types/button";
import type { Avatar } from "@/components/shared/AvatarGroup";
import { useRef, useEffect } from "react";
type HeroBillboardBackgroundProps = Extract<
HeroBackgroundVariantProps,
@@ -67,9 +68,13 @@ interface HeroBillboardProps {
marqueeImageClassName?: string;
marqueeTextClassName?: string;
marqueeIconClassName?: string;
backgroundVideoSrc?: string;
backgroundVideoFallbackSrc?: string;
}
const HeroBillboard = ({
backgroundVideoSrc,
backgroundVideoFallbackSrc = "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg",
title,
description,
background,