Compare commits
4 Commits
version_7
...
version_11
| Author | SHA1 | Date | |
|---|---|---|---|
| a8950d99d3 | |||
| 993de45e65 | |||
| 9741023bee | |||
| 3e2e6b4c01 |
@@ -10,6 +10,7 @@ import FaqBase from '@/components/sections/faq/FaqBase';
|
|||||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||||
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||||
import { Sparkles, Star, HelpCircle } from "lucide-react";
|
import { Sparkles, Star, HelpCircle } from "lucide-react";
|
||||||
|
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
return (
|
return (
|
||||||
@@ -43,7 +44,7 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hero-section" data-section="hero-section">
|
<div id="hero-section" data-section="hero-section">
|
||||||
<HeroBillboard
|
<HeroBillboardCarousel
|
||||||
title="Artisanal Baked Goods"
|
title="Artisanal Baked Goods"
|
||||||
description="Handcrafted with passion and premium ingredients for an unforgettable taste experience"
|
description="Handcrafted with passion and premium ingredients for an unforgettable taste experience"
|
||||||
background={{ variant: "radial-gradient" }}
|
background={{ variant: "radial-gradient" }}
|
||||||
@@ -51,22 +52,16 @@ export default function LandingPage() {
|
|||||||
tagIcon={null}
|
tagIcon={null}
|
||||||
tagAnimation="fade-in"
|
tagAnimation="fade-in"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "View Our Menu", href: "#menu", dataWebildId: "btn-1" },
|
{ text: "View Our Menu", href: "#menu", dataWebildId: "btn-carousel-1" },
|
||||||
{ text: "Order Online", href: "#order", dataWebildId: "btn-2" }
|
{ text: "Order Online", href: "#order", dataWebildId: "btn-carousel-2" }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
avatars={[]}
|
mediaItems={[
|
||||||
avatarText=""
|
{ imageSrc: "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg", imageAlt: "Fresh baked croissants" },
|
||||||
videoSrc="https://storage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
|
{ imageSrc: "https://img.b2bpic.net/free-photo/futuristic-moon-background_23-2150930890.jpg", imageAlt: "Artisan sourdough bread" },
|
||||||
videoAriaLabel="Baking process demonstration video"
|
{ imageSrc: "https://img.b2bpic.net/free-photo/futuristic-city-architecture_23-2151918947.jpg", imageAlt: "Delicious pastries display" },
|
||||||
mediaAnimation="zoom-in"
|
{ imageSrc: "https://img.b2bpic.net/free-photo/beautiful-landscape-with-mountains_23-2151151078.jpg", imageAlt: "Warm & Crumb bakery interior" }
|
||||||
marqueeItems={[
|
|
||||||
{ text: "Organic Ingredients", icon: null, dataWebildId: "marquee-1" },
|
|
||||||
{ text: "Fresh Daily", icon: null, dataWebildId: "marquee-2" },
|
|
||||||
{ text: "Handcrafted", icon: null, dataWebildId: "marquee-3" }
|
|
||||||
]}
|
]}
|
||||||
marqueeSpeed={1}
|
|
||||||
showMarqueeCard={true}
|
|
||||||
ariaLabel="Welcome to Warm & Crumb Bakery"
|
ariaLabel="Welcome to Warm & Crumb Bakery"
|
||||||
className=""
|
className=""
|
||||||
containerClassName=""
|
containerClassName=""
|
||||||
@@ -74,18 +69,10 @@ export default function LandingPage() {
|
|||||||
titleClassName=""
|
titleClassName=""
|
||||||
descriptionClassName=""
|
descriptionClassName=""
|
||||||
tagClassName=""
|
tagClassName=""
|
||||||
avatarGroupClassName=""
|
|
||||||
buttonContainerClassName=""
|
buttonContainerClassName=""
|
||||||
buttonClassName=""
|
buttonClassName=""
|
||||||
buttonTextClassName=""
|
buttonTextClassName=""
|
||||||
mediaWrapperClassName=""
|
mediaWrapperClassName=""
|
||||||
imageClassName=""
|
|
||||||
marqueeClassName=""
|
|
||||||
marqueeItemClassName=""
|
|
||||||
marqueeCardClassName=""
|
|
||||||
marqueeImageClassName=""
|
|
||||||
marqueeTextClassName=""
|
|
||||||
marqueeIconClassName=""
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -183,6 +170,14 @@ export default function LandingPage() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</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">
|
<div id="faq-section" data-section="faq-section">
|
||||||
<FaqBase
|
<FaqBase
|
||||||
title="Frequently Asked Questions"
|
title="Frequently Asked Questions"
|
||||||
|
|||||||
@@ -4,18 +4,18 @@
|
|||||||
|
|
||||||
/* --background: #f7f6f7;;
|
/* --background: #f7f6f7;;
|
||||||
--card: #1a1a1a;;
|
--card: #1a1a1a;;
|
||||||
--foreground: #ffff00;;
|
--foreground: #000000;;
|
||||||
--primary-cta: #ffcc00;;
|
--primary-cta: #ffcc00;;
|
||||||
--secondary-cta: #ffff00;;
|
--secondary-cta: #ffcc00;;
|
||||||
--accent: #ff9900;;
|
--accent: #ff9900;;
|
||||||
--background-accent: #333300;; */
|
--background-accent: #333300;; */
|
||||||
|
|
||||||
--background: #000000;;
|
--background: #000000;;
|
||||||
--card: #1a1a1a;;
|
--card: #1a1a1a;;
|
||||||
--foreground: #ffff00;;
|
--foreground: #000000;;
|
||||||
--primary-cta: #ffcc00;;
|
--primary-cta: #ffcc00;;
|
||||||
--primary-cta-text: #f7f6f7;;
|
--primary-cta-text: #f7f6f7;;
|
||||||
--secondary-cta: #ffff00;;
|
--secondary-cta: #ffcc00;;
|
||||||
--secondary-cta-text: #0c1325;;
|
--secondary-cta-text: #0c1325;;
|
||||||
--accent: #ff9900;;
|
--accent: #ff9900;;
|
||||||
--background-accent: #333300;;
|
--background-accent: #333300;;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import { useButtonAnimation } from "@/components/hooks/useButtonAnimation";
|
|||||||
import type { LucideIcon } from "lucide-react";
|
import type { LucideIcon } from "lucide-react";
|
||||||
import type { ButtonConfig, ButtonAnimationType } from "@/types/button";
|
import type { ButtonConfig, ButtonAnimationType } from "@/types/button";
|
||||||
import type { Avatar } from "@/components/shared/AvatarGroup";
|
import type { Avatar } from "@/components/shared/AvatarGroup";
|
||||||
|
import { useRef, useEffect } from "react";
|
||||||
|
|
||||||
type HeroBillboardBackgroundProps = Extract<
|
type HeroBillboardBackgroundProps = Extract<
|
||||||
HeroBackgroundVariantProps,
|
HeroBackgroundVariantProps,
|
||||||
@@ -67,9 +68,13 @@ interface HeroBillboardProps {
|
|||||||
marqueeImageClassName?: string;
|
marqueeImageClassName?: string;
|
||||||
marqueeTextClassName?: string;
|
marqueeTextClassName?: string;
|
||||||
marqueeIconClassName?: string;
|
marqueeIconClassName?: string;
|
||||||
|
backgroundVideoSrc?: string;
|
||||||
|
backgroundVideoFallbackSrc?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const HeroBillboard = ({
|
const HeroBillboard = ({
|
||||||
|
backgroundVideoSrc,
|
||||||
|
backgroundVideoFallbackSrc = "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg",
|
||||||
title,
|
title,
|
||||||
description,
|
description,
|
||||||
background,
|
background,
|
||||||
|
|||||||
Reference in New Issue
Block a user