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 ( - +