summaryrefslogtreecommitdiff
path: root/apps/web/src/app/metadata.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/app/metadata.ts')
-rw-r--r--apps/web/src/app/metadata.ts35
1 files changed, 15 insertions, 20 deletions
diff --git a/apps/web/src/app/metadata.ts b/apps/web/src/app/metadata.ts
index 6f9e6023..0608974d 100644
--- a/apps/web/src/app/metadata.ts
+++ b/apps/web/src/app/metadata.ts
@@ -1,37 +1,32 @@
-import { Metadata } from "next";
-
-const title = "OpenCut";
-const description =
- "A simple but powerful video editor that gets the job done. In your browser.";
-const openGraphImageUrl = "https://opencut.app/open-graph/default.jpg";
-const twitterImageUrl = "/open-graph/default.jpg";
+import type { Metadata } from "next";
+import { SITE_INFO, SITE_URL } from "@/constants/site";
export const baseMetaData: Metadata = {
- metadataBase: new URL("https://opencut.app"),
- title: title,
- description: description,
+ metadataBase: new URL(SITE_URL),
+ title: SITE_INFO.title,
+ description: SITE_INFO.description,
openGraph: {
- title: title,
- description: description,
- url: "https://opencut.app",
- siteName: "OpenCut",
+ title: SITE_INFO.title,
+ description: SITE_INFO.description,
+ url: SITE_URL,
+ siteName: SITE_INFO.title,
locale: "en_US",
type: "website",
images: [
{
- url: openGraphImageUrl,
+ url: SITE_INFO.openGraphImage,
width: 1200,
height: 630,
- alt: "OpenCut",
+ alt: "OpenCut Wordmark",
},
],
},
twitter: {
card: "summary_large_image",
- title: title,
- description: description,
+ title: SITE_INFO.title,
+ description: SITE_INFO.description,
creator: "@opencutapp",
- images: [twitterImageUrl],
+ images: [SITE_INFO.twitterImage],
},
pinterest: {
richPin: false,
@@ -82,7 +77,7 @@ export const baseMetaData: Metadata = {
},
appleWebApp: {
capable: true,
- title: title,
+ title: SITE_INFO.title,
},
manifest: "/manifest.json",
other: {