Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 846faa74ef | |||
| c11357c5fc | |||
| 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
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export default function LandingPage() {
|
|||||||
buttons={[{ text: "Commander par téléphone", href: "tel:+33400000000" }]}
|
buttons={[{ text: "Commander par téléphone", href: "tel:+33400000000" }]}
|
||||||
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>
|
||||||
|
|
||||||
|
|||||||
@@ -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