From efbcb8bfcdfc4b3458062e7748c994184f404b41 Mon Sep 17 00:00:00 2001 From: Oleg Proskurin Date: Thu, 18 Dec 2025 00:21:07 +0700 Subject: [PATCH] feat: optimize homepage --- apps/landing/next.config.ts | 2 +- apps/landing/src/app/_components/ApiExampleSection.tsx | 2 -- apps/landing/src/app/_components/BackgroundBlobs.tsx | 2 -- apps/landing/src/app/_components/GeminiSection.tsx | 2 -- apps/landing/src/app/_components/HeroGlow.tsx | 2 -- apps/landing/src/app/_components/HowItWorksSection.tsx | 2 -- apps/landing/src/app/_components/IntegrationsSection.tsx | 2 -- apps/landing/src/app/_components/KeyFeaturesSection.tsx | 2 -- apps/landing/src/app/_components/ProblemSolutionSection.tsx | 2 -- apps/landing/src/app/_components/PromptUrlsSection.tsx | 2 -- apps/landing/src/app/_components/ShapeTheFutureSection.tsx | 2 -- 11 files changed, 1 insertion(+), 21 deletions(-) diff --git a/apps/landing/next.config.ts b/apps/landing/next.config.ts index 7bf33a2..c2c35d9 100644 --- a/apps/landing/next.config.ts +++ b/apps/landing/next.config.ts @@ -4,7 +4,7 @@ const nextConfig: NextConfig = { output: 'standalone', trailingSlash: true, images: { - unoptimized: true, + // Enable Next.js image optimization for better performance }, eslint: { ignoreDuringBuilds: true, diff --git a/apps/landing/src/app/_components/ApiExampleSection.tsx b/apps/landing/src/app/_components/ApiExampleSection.tsx index 5610299..45ba3c4 100644 --- a/apps/landing/src/app/_components/ApiExampleSection.tsx +++ b/apps/landing/src/app/_components/ApiExampleSection.tsx @@ -1,5 +1,3 @@ -'use client'; - import { Terminal } from 'lucide-react'; export function ApiExampleSection() { diff --git a/apps/landing/src/app/_components/BackgroundBlobs.tsx b/apps/landing/src/app/_components/BackgroundBlobs.tsx index a32780d..9c74d56 100644 --- a/apps/landing/src/app/_components/BackgroundBlobs.tsx +++ b/apps/landing/src/app/_components/BackgroundBlobs.tsx @@ -1,5 +1,3 @@ -'use client'; - const blobs = [ { className: 'w-[600px] h-[600px] top-[-200px] right-[-100px]', diff --git a/apps/landing/src/app/_components/GeminiSection.tsx b/apps/landing/src/app/_components/GeminiSection.tsx index f313c46..76ad61a 100644 --- a/apps/landing/src/app/_components/GeminiSection.tsx +++ b/apps/landing/src/app/_components/GeminiSection.tsx @@ -1,5 +1,3 @@ -'use client'; - import { Zap, Check, Crown, Type, Brain, Target, Image, Award } from 'lucide-react'; const flashFeatures = [ diff --git a/apps/landing/src/app/_components/HeroGlow.tsx b/apps/landing/src/app/_components/HeroGlow.tsx index 9770b01..f35c5b5 100644 --- a/apps/landing/src/app/_components/HeroGlow.tsx +++ b/apps/landing/src/app/_components/HeroGlow.tsx @@ -1,5 +1,3 @@ -'use client'; - export function HeroGlow() { return (