diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-08-12 12:38:24 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-08-12 12:38:24 +0200 |
| commit | 8d3ccf0d56d3de1f5f4bfe78c42dc5694c00e6a8 (patch) | |
| tree | 215802f63cfe89a50e10b3bee754c0b5c564a774 | |
| parent | a1e48613b404544bfa8a4b23185054bb3651fb51 (diff) | |
| download | opencut-8d3ccf0d56d3de1f5f4bfe78c42dc5694c00e6a8.tar.gz | |
fix: move landing page image to cdn
| -rw-r--r-- | apps/web/next.config.ts | 4 | ||||
| -rw-r--r-- | apps/web/public/landing-page-dark.png | bin | 223614 -> 0 bytes | |||
| -rw-r--r-- | apps/web/public/landing-page-light.png | bin | 283708 -> 0 bytes | |||
| -rw-r--r-- | apps/web/src/components/landing/hero.tsx | 2 |
4 files changed, 5 insertions, 1 deletions
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 980c5827..5142905b 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -30,6 +30,10 @@ const nextConfig: NextConfig = { protocol: "https", hostname: "avatars.githubusercontent.com", }, + { + protocol: "https", + hostname: "res.cloudinary.com", + }, ], }, }; diff --git a/apps/web/public/landing-page-dark.png b/apps/web/public/landing-page-dark.png Binary files differdeleted file mode 100644 index 1a33bb29..00000000 --- a/apps/web/public/landing-page-dark.png +++ /dev/null diff --git a/apps/web/public/landing-page-light.png b/apps/web/public/landing-page-light.png Binary files differdeleted file mode 100644 index 348886db..00000000 --- a/apps/web/public/landing-page-light.png +++ /dev/null diff --git a/apps/web/src/components/landing/hero.tsx b/apps/web/src/components/landing/hero.tsx index 46d99b0c..892fbfa9 100644 --- a/apps/web/src/components/landing/hero.tsx +++ b/apps/web/src/components/landing/hero.tsx @@ -15,7 +15,7 @@ export function Hero() { <div className="min-h-[calc(100vh-4.5rem)] supports-[height:100dvh]:min-h-[calc(100dvh-4.5rem)] flex flex-col justify-between items-center text-center px-4"> <Image className="absolute top-0 left-0 -z-50 size-full object-cover invert dark:invert-0 opacity-85" - src="/landing-page-bg.png" + src="https://res.cloudinary.com/dzjgehvid/image/upload/v1754994895/landing-page-dark_vzpyoc.png" height={1903.5} width={1269} alt="landing-page.bg" |
