summaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-08-12 12:38:24 +0200
committerMaze Winther <mazewinther@gmail.com>2025-08-12 12:38:24 +0200
commit8d3ccf0d56d3de1f5f4bfe78c42dc5694c00e6a8 (patch)
tree215802f63cfe89a50e10b3bee754c0b5c564a774 /apps/web
parenta1e48613b404544bfa8a4b23185054bb3651fb51 (diff)
downloadopencut-8d3ccf0d56d3de1f5f4bfe78c42dc5694c00e6a8.tar.gz
fix: move landing page image to cdn
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/next.config.ts4
-rw-r--r--apps/web/public/landing-page-dark.pngbin223614 -> 0 bytes
-rw-r--r--apps/web/public/landing-page-light.pngbin283708 -> 0 bytes
-rw-r--r--apps/web/src/components/landing/hero.tsx2
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
deleted file mode 100644
index 1a33bb29..00000000
--- a/apps/web/public/landing-page-dark.png
+++ /dev/null
Binary files differ
diff --git a/apps/web/public/landing-page-light.png b/apps/web/public/landing-page-light.png
deleted file mode 100644
index 348886db..00000000
--- a/apps/web/public/landing-page-light.png
+++ /dev/null
Binary files differ
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"