Skip to content

Commit 9cf1888

Browse files
committed
Move themeColor to viewport
1 parent 945dca6 commit 9cf1888

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/app/layout.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
import { CssBaseline } from "@mui/material";
22
import { ThemeProvider } from "@mui/material/styles";
33
import { AppRouterCacheProvider } from "@mui/material-nextjs/v15-appRouter";
4-
import { Metadata } from "next";
4+
import { Metadata, Viewport } from "next";
55
import { Lato } from "next/font/google";
66

77
import { Footer } from "@/components/Footer";
88
import { TopBar } from "@/components/TopBar";
99
import { theme } from "@/utils/theme";
1010

11+
export const viewPort: Viewport = {
12+
themeColor: "#e99939",
13+
};
14+
1115
export const metadata: Metadata = {
1216
title: {
1317
default: "Toska",
@@ -17,7 +21,6 @@ export const metadata: Metadata = {
1721
"Toska on Helsingin yliopiston tietojenkäsittelytieteen osaston sovelluskehitysakatemia, joka kehittää yliopiston opetushallinnollisia sovelluksia",
1822
creator: "Toska",
1923
authors: [{ name: "Toska", url: "https://toska.dev" }],
20-
themeColor: "#e99939",
2124
};
2225

2326
const lato = Lato({

0 commit comments

Comments
 (0)