From 59a9dd616d895457dcc2387a405822aed88ddf09 Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Mon, 4 Dec 2023 13:01:47 +0100 Subject: [PATCH] Viewport --- apps/dashboard/src/app/layout.tsx | 3 +++ apps/website/src/app/layout.tsx | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/src/app/layout.tsx b/apps/dashboard/src/app/layout.tsx index 82c071bc00..a59d357a1d 100644 --- a/apps/dashboard/src/app/layout.tsx +++ b/apps/dashboard/src/app/layout.tsx @@ -20,6 +20,9 @@ export const metadata: Metadata = { title: "Midday | The financial OS for your business", description: "Automate financial tasks, stay organized, and make informed decisions effortlessly.", +}; + +export const viewport = { themeColor: [ { media: "(prefers-color-scheme: light)", color: "white" }, { media: "(prefers-color-scheme: dark)", color: "black" }, diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx index 902125e49b..9d30b2c0c4 100644 --- a/apps/website/src/app/layout.tsx +++ b/apps/website/src/app/layout.tsx @@ -19,6 +19,9 @@ export const metadata: Metadata = { title: "Midday | The financial OS for your business", description: "Automate financial tasks, stay organized, and make informed decisions effortlessly.", +}; + +export const viewport = { themeColor: [ { media: "(prefers-color-scheme: light)", color: "white" }, { media: "(prefers-color-scheme: dark)", color: "black" }, @@ -27,13 +30,13 @@ export const metadata: Metadata = { export default function Layout({ children, - params, + params: { locale = "en" }, }: { children: ReactElement; params: { locale: string }; }) { return ( - +