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": {
|
"metadata": {
|
||||||
"title": "Your Name",
|
"title": "Your Name",
|
||||||
"description": "website description"
|
"description": "website description",
|
||||||
|
"color": "#6441a5"
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
|
import Head from "next/head";
|
||||||
import Config from "../../config.json";
|
import Config from "../../config.json";
|
||||||
|
|
||||||
const inter = Inter({ subsets: ["latin"] });
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
@ -14,6 +15,9 @@ export default function RootLayout({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<Head>
|
||||||
|
<meta name="theme-color" content={Config.metadata.color} />
|
||||||
|
</Head>
|
||||||
<body className={inter.className}>{children}</body>
|
<body className={inter.className}>{children}</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user