generated from Fascinated/nextjs-13-template-with-tailwindcss
add embed color
This commit is contained in:
parent
9cd05ec227
commit
1ac5c4ba72
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user