add embed color

This commit is contained in:
Lee 2023-07-02 20:20:33 +01:00
parent 9cd05ec227
commit 1ac5c4ba72
2 changed files with 6 additions and 1 deletions

@ -19,7 +19,8 @@
},
"metadata": {
"title": "Your Name",
"description": "website description"
"description": "website description",
"color": "#6441a5"
},
"links": [
{

@ -1,6 +1,7 @@
import { Inter } from "next/font/google";
import "./globals.css";
import Head from "next/head";
import Config from "../../config.json";
const inter = Inter({ subsets: ["latin"] });
@ -14,6 +15,9 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<Head>
<meta name="theme-color" content={Config.metadata.color} />
</Head>
<body className={inter.className}>{children}</body>
</html>
);