mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix: metadata
This commit is contained in:
@@ -1,66 +1,88 @@
|
|||||||
import { Metadata } from "next";
|
import { Metadata } from "next";
|
||||||
|
|
||||||
const title = "OpenCut";
|
const title = "OpenCut";
|
||||||
const description = "A simple but powerful video editor that gets the job done. In your browser.";
|
const description =
|
||||||
|
"A simple but powerful video editor that gets the job done. In your browser.";
|
||||||
const openGraphImageUrl = "https://opencut.app/opengraph-image.jpg";
|
const openGraphImageUrl = "https://opencut.app/opengraph-image.jpg";
|
||||||
const twitterImageUrl = "/opengraph-image.jpg";
|
const twitterImageUrl = "/opengraph-image.jpg";
|
||||||
|
|
||||||
export const baseMetaData: Metadata = {
|
export const baseMetaData: Metadata = {
|
||||||
|
metadataBase: new URL("https://opencut.app"),
|
||||||
|
title: title,
|
||||||
|
description: description,
|
||||||
|
openGraph: {
|
||||||
title: title,
|
title: title,
|
||||||
description: description,
|
description: description,
|
||||||
openGraph: {
|
url: "https://opencut.app",
|
||||||
title: title,
|
siteName: "OpenCut",
|
||||||
description: description,
|
locale: "en_US",
|
||||||
url: "https://opencut.app",
|
type: "website",
|
||||||
siteName: "OpenCut",
|
images: [
|
||||||
locale: "en_US",
|
{
|
||||||
type: "website",
|
url: openGraphImageUrl,
|
||||||
images: [
|
width: 1200,
|
||||||
{
|
height: 630,
|
||||||
url: openGraphImageUrl,
|
alt: "OpenCut",
|
||||||
width: 1200,
|
},
|
||||||
height: 630,
|
],
|
||||||
alt: "OpenCut",
|
},
|
||||||
},
|
twitter: {
|
||||||
],
|
card: "summary_large_image",
|
||||||
},
|
title: title,
|
||||||
twitter: {
|
description: description,
|
||||||
card: "summary_large_image",
|
creator: "@opencutapp",
|
||||||
title: title,
|
images: [twitterImageUrl],
|
||||||
description: description,
|
},
|
||||||
creator: "@opencutapp",
|
robots: {
|
||||||
images: [twitterImageUrl],
|
index: true,
|
||||||
},
|
follow: true,
|
||||||
robots: {
|
},
|
||||||
index: true,
|
icons: {
|
||||||
follow: true,
|
icon: [
|
||||||
},
|
{ url: "/favicon.ico" },
|
||||||
icons: {
|
{ url: "/icons/favicon-16x16.png", sizes: "16x16", type: "image/png" },
|
||||||
icon: [
|
{ url: "/icons/favicon-32x32.png", sizes: "32x32", type: "image/png" },
|
||||||
{ url: "/favicon.ico" },
|
{ url: "/icons/favicon-96x96.png", sizes: "96x96", type: "image/png" },
|
||||||
{ url: "/icons/favicon-16x16.png", sizes: "16x16", type: "image/png" },
|
],
|
||||||
{ url: "/icons/favicon-32x32.png", sizes: "32x32", type: "image/png" },
|
apple: [
|
||||||
{ url: "/icons/favicon-96x96.png", sizes: "96x96", type: "image/png" },
|
{ url: "/icons/apple-icon-57x57.png", sizes: "57x57", type: "image/png" },
|
||||||
],
|
{ url: "/icons/apple-icon-60x60.png", sizes: "60x60", type: "image/png" },
|
||||||
apple: [
|
{ url: "/icons/apple-icon-72x72.png", sizes: "72x72", type: "image/png" },
|
||||||
{ url: "/icons/apple-icon-57x57.png", sizes: "57x57", type: "image/png" },
|
{ url: "/icons/apple-icon-76x76.png", sizes: "76x76", type: "image/png" },
|
||||||
{ url: "/icons/apple-icon-60x60.png", sizes: "60x60", type: "image/png" },
|
{
|
||||||
{ url: "/icons/apple-icon-72x72.png", sizes: "72x72", type: "image/png" },
|
url: "/icons/apple-icon-114x114.png",
|
||||||
{ url: "/icons/apple-icon-76x76.png", sizes: "76x76", type: "image/png" },
|
sizes: "114x114",
|
||||||
{ url: "/icons/apple-icon-114x114.png", sizes: "114x114", type: "image/png" },
|
type: "image/png",
|
||||||
{ url: "/icons/apple-icon-120x120.png", sizes: "120x120", type: "image/png" },
|
},
|
||||||
{ url: "/icons/apple-icon-144x144.png", sizes: "144x144", type: "image/png" },
|
{
|
||||||
{ url: "/icons/apple-icon-152x152.png", sizes: "152x152", type: "image/png" },
|
url: "/icons/apple-icon-120x120.png",
|
||||||
{ url: "/icons/apple-icon-180x180.png", sizes: "180x180", type: "image/png" },
|
sizes: "120x120",
|
||||||
],
|
type: "image/png",
|
||||||
shortcut: ["/favicon.ico"]
|
},
|
||||||
},
|
{
|
||||||
appleWebApp: {
|
url: "/icons/apple-icon-144x144.png",
|
||||||
capable: true,
|
sizes: "144x144",
|
||||||
title: title,
|
type: "image/png",
|
||||||
},
|
},
|
||||||
manifest: "/manifest.json",
|
{
|
||||||
other: {
|
url: "/icons/apple-icon-152x152.png",
|
||||||
"msapplication-config": "/browserconfig.xml"
|
sizes: "152x152",
|
||||||
}
|
type: "image/png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: "/icons/apple-icon-180x180.png",
|
||||||
|
sizes: "180x180",
|
||||||
|
type: "image/png",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
shortcut: ["/favicon.ico"],
|
||||||
|
},
|
||||||
|
appleWebApp: {
|
||||||
|
capable: true,
|
||||||
|
title: title,
|
||||||
|
},
|
||||||
|
manifest: "/manifest.json",
|
||||||
|
other: {
|
||||||
|
"msapplication-config": "/browserconfig.xml",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user