Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fb993e426b | |||
| 48485e6882 | |||
| f70199db7f | |||
| aa29c36370 |
@@ -1,54 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import { Lato } from "next/font/google";
|
import "@/styles/globals.css";
|
||||||
import "./globals.css";
|
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-halant", subsets: ["latin"],
|
|
||||||
weight: ["300", "400", "500", "600", "700"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const inter = Inter({
|
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const lato = Lato({
|
|
||||||
variable: "--font-lato", subsets: ["latin"],
|
|
||||||
weight: ["100", "300", "400", "700", "900"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Bucky Burger - Burgers & Tacos à Antananarivo", description: "Découvrez les meilleurs burgers, tacos et buckets à Antananarivo. Service rapide, saveur unique, 5 locations. Commandez maintenant par téléphone ou WhatsApp.", keywords: "burger, restaurant rapide, tacos, Antananarivo, Madagascar, fast food", metadataBase: new URL("https://buckyburger.mg"),
|
title: "Bucky Burger - Le Roi du Burger à Antananarivo", description: "Découvrez les meilleurs burgers, tacos et buckets à Antananarivo. Service rapide, qualité premium et 5 locations conveniables."};
|
||||||
alternates: {
|
|
||||||
canonical: "https://buckyburger.mg"},
|
|
||||||
openGraph: {
|
|
||||||
title: "Bucky Burger - Le Roi du Burger", description: "Burgers délicieux, tacos savoureux et buckets croustillants à Antananarivo", url: "https://buckyburger.mg", siteName: "Bucky Burger", type: "website", images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/burger-fresh-bun-with-sesame-seeds_140725-7777.jpg", alt: "Bucky Burger - Hero Image"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image", title: "Bucky Burger - Le Roi du Burger à Madagascar", description: "Découvrez nos burgers, tacos et buckets délicieux", images: ["http://img.b2bpic.net/free-photo/burger-fresh-bun-with-sesame-seeds_140725-7777.jpg"],
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="fr">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${lato.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1416,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user