Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 32ce3fd308 | |||
| e152cbfbf5 | |||
| 846faa74ef | |||
| c11357c5fc | |||
| 4df22e2cea | |||
| c49888827f | |||
| fba5d05279 | |||
| b00bc90751 |
@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|||||||
import Tag from "@/tag/Tag";
|
import Tag from "@/tag/Tag";
|
||||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||||
import { Inter_Tight } from "next/font/google";
|
import { Inter_Tight } from "next/font/google";
|
||||||
|
import { Public_Sans } from "next/font/google";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -19,10 +20,14 @@ export const metadata: Metadata = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const interTight = Inter_Tight({
|
|
||||||
variable: "--font-inter-tight",
|
const publicSans = Public_Sans({
|
||||||
|
variable: "--font-public-sans",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
const inter = Inter({
|
||||||
|
variable: "--font-inter",
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
@@ -33,7 +38,7 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${interTight.variable} antialiased`}>
|
<body className={`${publicSans.variable} ${inter.variable} antialiased`}>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export default function LandingPage() {
|
|||||||
>
|
>
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<div className="fixed bottom-6 right-6 z-50">
|
<div className="fixed bottom-6 right-6 z-50">
|
||||||
<a href="tel:+33400000000" className="flex items-center gap-2 bg-primary text-primary-foreground px-6 py-3 rounded-full shadow-lg hover:scale-105 transition-transform font-semibold">
|
<a href="tel:+33784943226" className="flex items-center gap-2 bg-primary text-primary-foreground px-6 py-3 rounded-full shadow-lg hover:scale-105 transition-transform font-semibold">
|
||||||
<Phone className="w-5 h-5" />
|
<Phone className="w-5 h-5" />
|
||||||
<span>Commander par téléphone</span>
|
<span>Commander par téléphone</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -51,10 +51,10 @@ export default function LandingPage() {
|
|||||||
background={{ variant: "rotated-rays-static" }}
|
background={{ variant: "rotated-rays-static" }}
|
||||||
title="L'Atelier de la Place"
|
title="L'Atelier de la Place"
|
||||||
description="Boulangerie artisanale à Saint-Étienne. Produits faits maison chaque jour avec passion et farine de qualité."
|
description="Boulangerie artisanale à Saint-Étienne. Produits faits maison chaque jour avec passion et farine de qualité."
|
||||||
buttons={[{ text: "Commander par téléphone", href: "tel:+33400000000" }]}
|
buttons={[{ text: "Commander par téléphone", href: "tel:+33784943226" }]}
|
||||||
carouselItems={[
|
carouselItems={[
|
||||||
{ id: "h1", imageSrc: "http://img.b2bpic.net/free-photo/top-view-rustic-bread-with-seeds_23-2148695486.jpg" },
|
{ id: "h1", imageSrc: "http://img.b2bpic.net/free-photo/top-view-rustic-bread-with-seeds_23-2148695486.jpg" },
|
||||||
{ id: "h2", imageSrc: "http://img.b2bpic.net/free-photo/top-view-homemade-bread-with-milk-jam_23-2148566693.jpg" },
|
{ id: "h2", imageSrc: "http://img.b2bpic.net/top-view-homemade-bread-with-milk-jam_23-2148566693.jpg" },
|
||||||
{ id: "h3", imageSrc: "http://img.b2bpic.net/croissant-with-jam-white-cutting-board-flat-lay_176474-8182.jpg" },
|
{ id: "h3", imageSrc: "http://img.b2bpic.net/croissant-with-jam-white-cutting-board-flat-lay_176474-8182.jpg" },
|
||||||
{ id: "h4", imageSrc: "http://img.b2bpic.net/homemade-delicious-rustic-summer-berry-tartles_114579-11156.jpg" },
|
{ id: "h4", imageSrc: "http://img.b2bpic.net/homemade-delicious-rustic-summer-berry-tartles_114579-11156.jpg" },
|
||||||
{ id: "h5", imageSrc: "http://img.b2bpic.net/close-up-almonds-cherry-tomatoes-fig-slices-healthy-hot-dogs-with-chequered-napkin-white-backdrop_23-2147956764.jpg" },
|
{ id: "h5", imageSrc: "http://img.b2bpic.net/close-up-almonds-cherry-tomatoes-fig-slices-healthy-hot-dogs-with-chequered-napkin-white-backdrop_23-2147956764.jpg" },
|
||||||
@@ -105,6 +105,9 @@ export default function LandingPage() {
|
|||||||
]}
|
]}
|
||||||
title="Pourquoi nous choisir ?"
|
title="Pourquoi nous choisir ?"
|
||||||
description="L'engagement de L'Atelier de la Place pour une qualité irréprochable."
|
description="L'engagement de L'Atelier de la Place pour une qualité irréprochable."
|
||||||
|
containerClassName="py-8 md:py-12"
|
||||||
|
iconContainerClassName="flex items-center justify-center p-3"
|
||||||
|
iconClassName="w-8 h-8 text-amber-800"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -132,7 +135,7 @@ export default function LandingPage() {
|
|||||||
{ name: "nom", type: "text", placeholder: "Votre nom" },
|
{ name: "nom", type: "text", placeholder: "Votre nom" },
|
||||||
{ name: "tel", type: "tel", placeholder: "Votre numéro" },
|
{ name: "tel", type: "tel", placeholder: "Votre numéro" },
|
||||||
]}
|
]}
|
||||||
buttonText="Appeler le 04 00 00 00 00"
|
buttonText="Appeler le 07 84 94 32 26"
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/man-putting-homemade-wheat-bread-with-flour-it-white-towel-with-two-hands_114579-2680.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/man-putting-homemade-wheat-bread-with-flour-it-white-towel-with-two-hands_114579-2680.jpg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -143,11 +146,11 @@ export default function LandingPage() {
|
|||||||
logoText="L'Atelier de la Place"
|
logoText="L'Atelier de la Place"
|
||||||
columns={[
|
columns={[
|
||||||
{ title: "L'Atelier", items: [{ label: "11 Rue Président Wilson", href: "#" }, { label: "42000 Saint-Étienne", href: "#" }] },
|
{ title: "L'Atelier", items: [{ label: "11 Rue Président Wilson", href: "#" }, { label: "42000 Saint-Étienne", href: "#" }] },
|
||||||
{ title: "Service", items: [{ label: "Appel au 04 00 00 00 00", href: "tel:+33400000000" }] }
|
{ title: "Service", items: [{ label: "Appel au 07 84 94 32 26", href: "tel:+33784943226" }] }
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
font-family: var(--font-inter-tight), sans-serif;
|
font-family: var(--font-inter), sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
@@ -24,5 +24,5 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-family: var(--font-inter-tight), sans-serif;
|
font-family: var(--font-public-sans), sans-serif;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user