use new viewport for embed color
All checks were successful
deploy / deploy (push) Successful in 1m1s
All checks were successful
deploy / deploy (push) Successful in 1m1s
This commit is contained in:
parent
7cd65e72c9
commit
1ded83d7e2
@ -45,7 +45,7 @@ export async function generateMetadata(): Promise<Metadata> {
|
|||||||
description +
|
description +
|
||||||
`
|
`
|
||||||
Players currently online: ${formatNumber(lastActivePlayers)}
|
Players currently online: ${formatNumber(lastActivePlayers)}
|
||||||
Scores set: ${formatNumber(lastScoreCount)}`,
|
Scores set Today: ${formatNumber(lastScoreCount)}`,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,12 @@ import "./globals.css";
|
|||||||
|
|
||||||
const font = Inter({ subsets: ["latin-ext"], weight: "500" });
|
const font = Inter({ subsets: ["latin-ext"], weight: "500" });
|
||||||
|
|
||||||
|
// TODO: use type when NextJS fixes the type:
|
||||||
|
// export const viewport: Viewport = {
|
||||||
|
export const viewport: any = {
|
||||||
|
themeColor: "#3B82F6",
|
||||||
|
};
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
metadataBase: new URL(ssrSettings.siteUrl),
|
metadataBase: new URL(ssrSettings.siteUrl),
|
||||||
title: {
|
title: {
|
||||||
@ -26,7 +32,6 @@ export const metadata: Metadata = {
|
|||||||
locale: "en_US",
|
locale: "en_US",
|
||||||
type: "website",
|
type: "website",
|
||||||
},
|
},
|
||||||
themeColor: "#3B82F6",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
|
Loading…
Reference in New Issue
Block a user