summaryrefslogtreecommitdiff
path: root/apps/web/src
diff options
context:
space:
mode:
authoriza <59828082+izadoesdev@users.noreply.github.com>2025-06-25 08:00:07 +0300
committerGitHub <noreply@github.com>2025-06-25 08:00:07 +0300
commit151b3dfc51dc81d5763d21ceebafa2bf1f2b6b3f (patch)
treeefda59fa447a49edbbd810c293eb728f0f7f5ddf /apps/web/src
parent4a8ff91ae383ec7d696981a92b6addc652458a80 (diff)
parent22ae5d0e374d9ccf7d5f5e3dce4f3df2feb6ab67 (diff)
downloadopencut-151b3dfc51dc81d5763d21ceebafa2bf1f2b6b3f.tar.gz
Merge pull request #74 from letyassine/fix-og-image
fix: metadata for og image
Diffstat (limited to 'apps/web/src')
-rw-r--r--apps/web/src/app/layout.tsx29
-rw-r--r--apps/web/src/app/opengraph-image.jpgbin55439 -> 0 bytes
2 files changed, 29 insertions, 0 deletions
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index 1cd4b3b9..5d33100d 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -16,6 +16,35 @@ export const metadata: Metadata = {
title: "OpenCut",
description:
"A simple but powerful video editor that gets the job done. In your browser.",
+ openGraph: {
+ title: "OpenCut",
+ description:
+ "A simple but powerful video editor that gets the job done. In your browser.",
+ url: "https://opencut.app",
+ siteName: "OpenCut",
+ locale: "en_US",
+ type: "website",
+ images: [
+ {
+ url: "https://opencut.app/opengraph-image.jpg",
+ width: 1200,
+ height: 630,
+ alt: "OpenCut",
+ },
+ ],
+ },
+ twitter: {
+ card: "summary_large_image",
+ title: "OpenCut",
+ description:
+ "A simple but powerful video editor that gets the job done. In your browser.",
+ creator: "@opencutapp",
+ images: ["/opengraph-image.jpg"],
+ },
+ robots: {
+ index: true,
+ follow: true,
+ },
};
export default function RootLayout({
diff --git a/apps/web/src/app/opengraph-image.jpg b/apps/web/src/app/opengraph-image.jpg
deleted file mode 100644
index d45c0854..00000000
--- a/apps/web/src/app/opengraph-image.jpg
+++ /dev/null
Binary files differ