feat: white label transformation and bugfix for audio stream

This commit is contained in:
Hördle Bot
2025-11-27 11:19:32 +01:00
parent 7a65c58214
commit d69ac28bb3
9 changed files with 249 additions and 84 deletions

View File

@@ -3,6 +3,8 @@ import { Geist, Geist_Mono } from "next/font/google";
import Script from "next/script";
import "./globals.css";
import { config } from "@/lib/config";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
@@ -14,12 +16,12 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "Hördle",
description: "Daily music guessing game - Guess the song from short audio clips",
title: config.appName,
description: config.appDescription,
};
export const viewport: Viewport = {
themeColor: "#000000",
themeColor: config.colors.themeColor,
width: "device-width",
initialScale: 1,
maximumScale: 1,
@@ -38,8 +40,8 @@ export default function RootLayout({
<head>
<Script
defer
data-domain="hoerdle.elpatron.me"
src="https://plausible.elpatron.me/js/script.js"
data-domain={config.plausibleDomain}
src={config.plausibleScriptSrc}
strategy="beforeInteractive"
/>
</head>