diff options
| author | muhammed sinan <muhammedsinan7749@gmail.com> | 2025-06-25 19:57:35 +0530 |
|---|---|---|
| committer | muhammed sinan <muhammedsinan7749@gmail.com> | 2025-06-25 19:57:35 +0530 |
| commit | e786d437a5b158fac22d47ad770d2a0d7e283668 (patch) | |
| tree | c8d3fbc78ab57377bb6fd691e0161b7854fe22fb /apps/web/src | |
| parent | 067b6e3d7373d37dbc4542acf9f2ecce1dc1b9f6 (diff) | |
| download | opencut-e786d437a5b158fac22d47ad770d2a0d7e283668.tar.gz | |
made the project app PWA and moved metadata into a sperate file app folder
Diffstat (limited to 'apps/web/src')
| -rw-r--r-- | apps/web/src/app/favicon.ico | bin | 4286 -> 0 bytes | |||
| -rw-r--r-- | apps/web/src/app/layout.tsx | 36 | ||||
| -rw-r--r-- | apps/web/src/app/metadata.ts | 64 |
3 files changed, 65 insertions, 35 deletions
diff --git a/apps/web/src/app/favicon.ico b/apps/web/src/app/favicon.ico Binary files differdeleted file mode 100644 index cb20127b..00000000 --- a/apps/web/src/app/favicon.ico +++ /dev/null diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index 5d33100d..c76dc451 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -1,4 +1,3 @@ -import type { Metadata } from "next"; import { Inter } from "next/font/google"; import { ThemeProvider } from "next-themes"; import { Analytics } from "@vercel/analytics/react"; @@ -12,40 +11,7 @@ const inter = Inter({ variable: "--font-inter", }); -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 { metadata } from './metadata' export default function RootLayout({ children, diff --git a/apps/web/src/app/metadata.ts b/apps/web/src/app/metadata.ts new file mode 100644 index 00000000..4db2e8de --- /dev/null +++ b/apps/web/src/app/metadata.ts @@ -0,0 +1,64 @@ +import { Metadata } from "next"; + +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, + }, + icons: { + icon: [ + { url: "/favicon.ico" }, + { url: "/icons/favicon-16x16.png", sizes: "16x16", type: "image/png" }, + { url: "/icons/favicon-32x32.png", sizes: "32x32", type: "image/png" }, + { url: "/icons/favicon-96x96.png", sizes: "96x96", type: "image/png" }, + ], + apple: [ + { url: "/icons/apple-icon-57x57.png", sizes: "57x57", 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-76x76.png", sizes: "76x76", type: "image/png" }, + { url: "/icons/apple-icon-114x114.png", sizes: "114x114", 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-180x180.png", sizes: "180x180", type: "image/png" }, + ], + shortcut: ["/favicon.ico"] + }, + appleWebApp: { + capable: true, + title: "OpenCut", + }, + manifest: "/manifest.json", + other: { + "msapplication-config": "/browserconfig.xml" + } +};
\ No newline at end of file |
