From 0988149c96000fc1c63cc2433686334dd2fb3f50 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Fri, 28 Mar 2025 22:53:27 +0100 Subject: [PATCH] feat: ajoute balise Google --- src/layouts/MainLayout.astro | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro index 9cbb2ad..1f8e685 100644 --- a/src/layouts/MainLayout.astro +++ b/src/layouts/MainLayout.astro @@ -1,15 +1,12 @@ --- -// Importing necessary components import Meta from "@components/Meta.astro"; import Navbar from "@components/sections/navbar&footer/Navbar.astro"; import FooterSection from "@components/sections/navbar&footer/FooterSection.astro"; import { SITE } from "@data/constants"; import type { Thing, WithContext } from "schema-dts"; -// Setting expected props const { title = SITE.title, meta, structuredData, lang = "fr" } = Astro.props; -// Interface to type-check the properties interface Props { title?: string; meta?: string; @@ -18,18 +15,11 @@ interface Props { } --- - - - {title} + -
@@ -72,3 +59,11 @@ We set the language of the page to English and add classes for scrollbar and scr + +