summaryrefslogtreecommitdiff
path: root/apps/web/src/app/metadata.ts
diff options
context:
space:
mode:
authorKha Nguyen <hi@khanguyen.com>2025-07-23 23:47:18 -0500
committerKha Nguyen <hi@khanguyen.com>2025-07-23 23:47:18 -0500
commite8dc0f62daf570a9f4b183dce593e0ddb9a30774 (patch)
treed3d53425705508fb3595bec7e4328eeba6804d4b /apps/web/src/app/metadata.ts
parent92079777b9c3f8f157163124fa5b02386391cc2f (diff)
parent81ad5c1782bfed92c2fdcd78b5131748871f098e (diff)
downloadopencut-e8dc0f62daf570a9f4b183dce593e0ddb9a30774.tar.gz
Merge branch 'main' into fix/improve-shortcuts
Diffstat (limited to 'apps/web/src/app/metadata.ts')
-rw-r--r--apps/web/src/app/metadata.ts32
1 files changed, 18 insertions, 14 deletions
diff --git a/apps/web/src/app/metadata.ts b/apps/web/src/app/metadata.ts
index 6f9e6023..de8cf6f0 100644
--- a/apps/web/src/app/metadata.ts
+++ b/apps/web/src/app/metadata.ts
@@ -1,25 +1,29 @@
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";
+export const SITE_INFO = {
+ title: "OpenCut",
+ description:
+ "A simple but powerful video editor that gets the job done. In your browser.",
+ url: "https://opencut.app",
+ openGraphImage: "https://opencut.app/open-graph/default.jpg",
+ twitterImage: "/open-graph/default.jpg",
+ favicon: "/favicon.ico",
+};
export const baseMetaData: Metadata = {
metadataBase: new URL("https://opencut.app"),
- title: title,
- description: description,
+ title: SITE_INFO.title,
+ description: SITE_INFO.description,
openGraph: {
- title: title,
- description: description,
+ title: SITE_INFO.title,
+ description: SITE_INFO.description,
url: "https://opencut.app",
siteName: "OpenCut",
locale: "en_US",
type: "website",
images: [
{
- url: openGraphImageUrl,
+ url: SITE_INFO.openGraphImage,
width: 1200,
height: 630,
alt: "OpenCut",
@@ -28,10 +32,10 @@ export const baseMetaData: Metadata = {
},
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 +86,7 @@ export const baseMetaData: Metadata = {
},
appleWebApp: {
capable: true,
- title: title,
+ title: SITE_INFO.title,
},
manifest: "/manifest.json",
other: {