Switch to version 1: modified src/app/layout.tsx

This commit is contained in:
2026-03-06 02:28:38 +00:00
parent e59dc764f4
commit c4e9ebb32c

View File

@@ -1,22 +1,57 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./styles/variables.css";
import { Manrope } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const inter = Inter({ subsets: ["latin"] });
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const manrope = Manrope({
variable: "--font-manrope", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "FLORA SHOP - Fleuriste Marrakech", description: "Livraison de fleurs le jour même à Marrakech. Des bouquets élégants et frais."
title: "FLORA SHOP - Fleuriste Marrakech | Livraison Fleurs Même Jour", description: "Fleuriste professionnel à Marrakech. Bouquets élégants, livraison rapide le jour même. ⭐ 4.9/5. Commandez par téléphone ou WhatsApp maintenant.", keywords: "fleuriste Marrakech, livraison fleurs, bouquets, flower delivery, same-day delivery", metadataBase: new URL("https://flora-shop-marrakech.com"),
alternates: {
canonical: "https://flora-shop-marrakech.com"},
openGraph: {
title: "FLORA SHOP - Fleuriste Marrakech", description: "Découvrez nos magnifiques bouquets avec livraison le jour même à Marrakech.", url: "https://flora-shop-marrakech.com", siteName: "FLORA SHOP", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/exotic-rustic-bunch-flowers-mixed-colors_114579-1969.jpg", alt: "Beautiful flowers from FLORA SHOP"},
],
},
twitter: {
card: "summary_large_image", title: "FLORA SHOP - Fleuriste Marrakech", description: "Livraison fleurs express le jour même à Marrakech", images: ["http://img.b2bpic.net/free-photo/exotic-rustic-bunch-flowers-mixed-colors_114579-1969.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<html lang="fr">
<body className={inter.className}>{children}
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${manrope.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1384,6 +1419,7 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}