Skip to content

Commit

Permalink
Add theme color to layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kaje94 committed Nov 25, 2023
1 parent fe57238 commit dfb5317
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Toaster } from "react-hot-toast";
import type { Metadata } from "next";
import type { Metadata, Viewport } from "next";
import { Footer } from "@/components/LayoutElements/Footer";
import { NavBar } from "@/components/LayoutElements/NavBar";
import { ScrollToTop } from "@/components/LayoutElements/ScrollToTop";
Expand Down Expand Up @@ -62,6 +62,10 @@ export const metadata: Metadata = {
],
};

export const viewport: Viewport = {
themeColor: "#000033",
};

export default function RootLayout({ children }: ChildrenProps) {
return (
<html lang="en">
Expand Down

0 comments on commit dfb5317

Please sign in to comment.