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';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: '⛧',
|
||||
description: '',
|
||||
// description: '',
|
||||
openGraph: {
|
||||
title: '⛧',
|
||||
description: '.',
|
||||
// description: '',
|
||||
images: [
|
||||
{
|
||||
url: 'https://neru.rip/ok.jpg',
|
||||
@@ -14,10 +14,13 @@ export const metadata: Metadata = {
|
||||
height: 1104,
|
||||
},
|
||||
],
|
||||
},
|
||||
themeColor: '#fbcfe8'
|
||||
}
|
||||
};
|
||||
|
||||
export const viewport: Viewport = {
|
||||
themeColor: '#fbcfe8',
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children
|
||||
}: Readonly<{
|
||||
|
||||
Reference in New Issue
Block a user