mirror of
https://github.com/caty21/forex-dashboard.git
synced 2026-07-27 20:37:45 +00:00
49feaf4465
app/icon.png + app/apple-icon.png (convention Next.js, auto-génère les balises <link>), manifest.json PWA mis à jour vers les mêmes PNG. Supprime les anciens SVG placeholder devenus orphelins. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 lines
896 B
TypeScript
34 lines
896 B
TypeScript
import type { Metadata, Viewport } from "next";
|
|
import "./globals.css";
|
|
import Script from "next/script";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Forex Macro Dashboard",
|
|
description: "Tableau de bord macroéconomique Forex — 8 devises majeures",
|
|
manifest: "/manifest.json",
|
|
appleWebApp: {
|
|
capable: true,
|
|
statusBarStyle: "black-translucent",
|
|
title: "FX Dashboard",
|
|
},
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
themeColor: "#090e1a",
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="fr">
|
|
<body className="min-h-screen bg-[#090e1a]">
|
|
{children}
|
|
<Script id="sw-register" strategy="afterInteractive">
|
|
{`if ('serviceWorker' in navigator) {
|
|
navigator.serviceWorker.register('/sw.js').catch(() => {});
|
|
}`}
|
|
</Script>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|