Change the Umami script source from HTTP to HTTPS to enhance security and ensure that the script is loaded securely. This improves the overall integrity of the application by preventing mixed content issues.
32 lines
748 B
TypeScript
32 lines
748 B
TypeScript
// app/layout.tsx
|
|
|
|
"use client";
|
|
|
|
import "./globals.css";
|
|
|
|
import {Roboto} from 'next/font/google';
|
|
import React from "react";
|
|
//import ClientCookieConsentBanner from "./components/ClientCookieConsentBanner";
|
|
|
|
|
|
const roboto = Roboto({
|
|
variable: '--font-roboto',
|
|
weight: '400',
|
|
subsets: ['latin'],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
|
|
return (
|
|
<html lang="en">
|
|
<script defer src="https://umami.denshooter.de/script.js" data-website-id="1f213877-deef-4238-8df1-71a5a3bcd142"></script>
|
|
<body className={roboto.variable}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
} |