b
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import type { Metadata, Viewport } from "next";
|
import type { Metadata, Viewport } from "next";
|
||||||
import { Inter, Playfair_Display } from "next/font/google";
|
import { Inter, Playfair_Display } from "next/font/google";
|
||||||
import "../globals.css";
|
import "../globals.css";
|
||||||
|
import Script from "next/script";
|
||||||
import Navbar from "@/components/Navbar";
|
import Navbar from "@/components/Navbar";
|
||||||
import Footer from "@/components/Footer";
|
import Footer from "@/components/Footer";
|
||||||
import WhatsAppButton from "@/components/WhatsAppButton";
|
import WhatsAppButton from "@/components/WhatsAppButton";
|
||||||
@@ -122,6 +123,9 @@ export default async function RootLayout({
|
|||||||
className={`${inter.variable} ${playfair.variable} h-full antialiased scroll-smooth`}
|
className={`${inter.variable} ${playfair.variable} h-full antialiased scroll-smooth`}
|
||||||
suppressHydrationWarning
|
suppressHydrationWarning
|
||||||
>
|
>
|
||||||
|
<head>
|
||||||
|
<Script defer src="https://panel.ayris.tech/api/analytics/script" data-domain="kitebeachakyaka.com.tr" strategy="afterInteractive" />
|
||||||
|
</head>
|
||||||
<body className="min-h-full flex flex-col bg-background text-foreground" suppressHydrationWarning>
|
<body className="min-h-full flex flex-col bg-background text-foreground" suppressHydrationWarning>
|
||||||
<script
|
<script
|
||||||
type="application/ld+json"
|
type="application/ld+json"
|
||||||
|
|||||||
+4
-3
@@ -20,9 +20,10 @@ export default function sitemap(): MetadataRoute.Sitemap {
|
|||||||
changeFrequency,
|
changeFrequency,
|
||||||
priority,
|
priority,
|
||||||
alternates: {
|
alternates: {
|
||||||
languages: Object.fromEntries(
|
languages: {
|
||||||
langs.map((l) => [l, `${baseUrl}/${l}${path}`])
|
'x-default': `${baseUrl}/tr${path}`,
|
||||||
),
|
...Object.fromEntries(langs.map((l) => [l, `${baseUrl}/${l}${path}`])),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}))
|
}))
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user