fix: move themeColor to viewport, remove desc
This commit is contained in:
+8
-5
@@ -1,12 +1,12 @@
|
|||||||
import type { Metadata } from 'next';
|
import type { Metadata, Viewport } from 'next';
|
||||||
import './globals.css';
|
import './globals.css';
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: '⛧',
|
title: '⛧',
|
||||||
description: '',
|
// description: '',
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: '⛧',
|
title: '⛧',
|
||||||
description: '.',
|
// description: '',
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
url: 'https://neru.rip/ok.jpg',
|
url: 'https://neru.rip/ok.jpg',
|
||||||
@@ -14,10 +14,13 @@ export const metadata: Metadata = {
|
|||||||
height: 1104,
|
height: 1104,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
}
|
||||||
themeColor: '#fbcfe8'
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const viewport: Viewport = {
|
||||||
|
themeColor: '#fbcfe8',
|
||||||
|
}
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children
|
children
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
|
|||||||
Reference in New Issue
Block a user