Skip to content

Commit

Permalink
Viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 4, 2023
1 parent 36c71e5 commit 59a9dd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions apps/dashboard/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
7 changes: 5 additions & 2 deletions apps/website/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand All @@ -27,13 +30,13 @@ export const metadata: Metadata = {

export default function Layout({
children,
params,
params: { locale = "en" },
}: {
children: ReactElement;
params: { locale: string };
}) {
return (
<html lang={params.locale} suppressHydrationWarning>
<html lang={locale} suppressHydrationWarning>
<body className={cn(fontSans.variable, "whitespace-pre-line")}>
<ThemeProvider
attribute="class"
Expand Down

0 comments on commit 59a9dd6

Please sign in to comment.