Skip to content

Commit

Permalink
Merge pull request #8 from PezhmanGhavami/enhance/meta-data-enhancement
Browse files Browse the repository at this point in the history
enhance/added theme-color to meta
  • Loading branch information
PezhmanGhavami authored Jul 20, 2024
2 parents 03e281d + 54b676e commit cdc979c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { Viewport } from "next";

import "./globals.css";
import { Inter } from "next/font/google";

const inter = Inter({ subsets: ["latin"] });
export const viewport: Viewport = {
themeColor: "#171717",
};

export const generateMetadata = async () => {
return {
Expand Down Expand Up @@ -33,7 +36,7 @@ export default function RootLayout({
}>) {
return (
<html className="scroll-smooth" lang="en">
<body className={inter.className}>{children}</body>
<body>{children}</body>
</html>
);
}
4 changes: 2 additions & 2 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"theme_color": "##171717",
"background_color": "##171717",
"display": "standalone"
}

0 comments on commit cdc979c

Please sign in to comment.