Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #1.
This commit is contained in:
128
src/App.tsx
128
src/App.tsx
@@ -1,5 +1,4 @@
|
||||
import AboutTestimonial from '@/components/sections/about/AboutTestimonial';
|
||||
import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps';
|
||||
import FeaturesTaggedCards from '@/components/sections/features/FeaturesTaggedCards';
|
||||
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
|
||||
import NavbarCentered from '@/components/ui/NavbarCentered';
|
||||
@@ -7,88 +6,57 @@ import NavbarCentered from '@/components/ui/NavbarCentered';
|
||||
export default function App() {
|
||||
return (
|
||||
<>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarCentered
|
||||
logo="SweetCrumb"
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "Our Story",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Specials",
|
||||
id: "products",
|
||||
},
|
||||
]}
|
||||
ctaButton={{
|
||||
text: "Order Now",
|
||||
href: "#order",
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarCentered
|
||||
logo="SweetCrumb"
|
||||
navItems={[
|
||||
{ name: "Home", href: "#hero" },
|
||||
{ name: "Our Story", href: "#about" },
|
||||
{ name: "Specials", href: "#products" },
|
||||
]}
|
||||
ctaButton={{
|
||||
text: "Order Now", href: "#order"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboard
|
||||
tag="Est. 1994"
|
||||
title="Baking Warmth Daily"
|
||||
description="Authentic, artisanal bread and pastries baked from scratch every morning in the heart of the city."
|
||||
primaryButton={{
|
||||
text: "Browse Menu",
|
||||
href: "#products",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Learn More",
|
||||
href: "#about",
|
||||
}}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=eubn7c"
|
||||
/>
|
||||
</div>
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboard
|
||||
tag="Est. 1994"
|
||||
title="Baking Warmth Daily"
|
||||
description="Authentic, artisanal bread and pastries baked from scratch every morning in the heart of the city."
|
||||
primaryButton={{
|
||||
text: "Browse Menu", href: "#products"}}
|
||||
secondaryButton={{
|
||||
text: "Learn More", href: "#about"}}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=eubn7c"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<AboutTestimonial
|
||||
tag="Our Philosophy"
|
||||
quote="Our bread is the product of time, love, and the finest local ingredients. We believe in simplicity and patience."
|
||||
author="Elena Rossi"
|
||||
role="Head Baker"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ix09w5"
|
||||
/>
|
||||
</div>
|
||||
<div id="about" data-section="about">
|
||||
<AboutTestimonial
|
||||
tag="Our Philosophy"
|
||||
quote="Our bread is the product of time, love, and the finest local ingredients. We believe in simplicity and patience."
|
||||
author="Elena Rossi"
|
||||
role="Head Baker"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ix09w5"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="products" data-section="products">
|
||||
<FeaturesTaggedCards
|
||||
tag="Signature Baked Goods"
|
||||
title="Fresh from the Oven"
|
||||
description="Explore our daily selection of handcrafted delights made with traditional techniques."
|
||||
items={[
|
||||
{
|
||||
tag: "Signature",
|
||||
title: "Butter Croissants",
|
||||
description: "Layers of buttery, flaky pastry folded 27 times.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=1wtxpt",
|
||||
},
|
||||
{
|
||||
tag: "Artisan",
|
||||
title: "Rustic Sourdough",
|
||||
description: "Naturally leavened loaf with a crackling crust.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cdpsmo",
|
||||
},
|
||||
{
|
||||
tag: "Seasonal",
|
||||
title: "Berry Tart",
|
||||
description: "Fresh berries on a bed of vanilla cream.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=beel6i",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<FeaturesDetailedSteps />
|
||||
</div>
|
||||
<div id="products" data-section="products">
|
||||
<FeaturesTaggedCards
|
||||
tag="Signature Baked Goods"
|
||||
title="Fresh from the Oven"
|
||||
description="Explore our daily selection of handcrafted delights made with traditional techniques."
|
||||
items={[
|
||||
{
|
||||
tag: "Signature", title: "Butter Croissants", description: "Layers of buttery, flaky pastry folded 27 times.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=1wtxpt"},
|
||||
{
|
||||
tag: "Artisan", title: "Rustic Sourdough", description: "Naturally leavened loaf with a crackling crust.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cdpsmo"},
|
||||
{
|
||||
tag: "Seasonal", title: "Berry Tart", description: "Fresh berries on a bed of vanilla cream.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=beel6i"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user