The open-source CapCut alternative
fix: move landing page image to cdn
Maze Winther8d3ccf0d56d3
diff --git a/apps/web/next.config.ts b/apps/web/next.config.tsindex 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.pngdeleted file mode 100644index 1a33bb29..00000000Binary files a/apps/web/public/landing-page-dark.png and /dev/null differdiff --git a/apps/web/public/landing-page-light.png b/apps/web/public/landing-page-light.pngdeleted file mode 100644index 348886db..00000000Binary files a/apps/web/public/landing-page-light.png and /dev/null differdiff --git a/apps/web/src/components/landing/hero.tsx b/apps/web/src/components/landing/hero.tsxindex 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"><ImageclassName="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"