From 65e6a248d1bfbe2c326580f11efe2eae7f404689 Mon Sep 17 00:00:00 2001 From: "nabijonovdavronbek619@gmail.com" Date: Thu, 27 Nov 2025 11:46:23 +0500 Subject: [PATCH] update intial page --- app/page.tsx | 64 ++--------------------------------------- components/ShowCase.tsx | 5 +++- 2 files changed, 6 insertions(+), 63 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 295f8fd..5813ded 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,65 +1,5 @@ -import Image from "next/image"; +import { redirect } from "next/navigation"; export default function Home() { - return ( -
-
- Next.js logo -
-

- To get started, edit the page.tsx file. -

-

- Looking for a starting point or more instructions? Head over to{" "} - - Templates - {" "} - or the{" "} - - Learning - {" "} - center. -

-
-
- - Vercel logomark - Deploy Now - - - Documentation - -
-
-
- ); + redirect('/uz') } diff --git a/components/ShowCase.tsx b/components/ShowCase.tsx index 0f43a78..a1ba494 100644 --- a/components/ShowCase.tsx +++ b/components/ShowCase.tsx @@ -54,6 +54,8 @@ export function ShowCase({ return (
+ + {/* background image */}
+
{/* Left Content */} @@ -113,7 +116,7 @@ export function ShowCase({ src={images[currentImageIndex]} alt={`Pump ${currentImageIndex + 1}`} fill - className="object-cover" + className="object-contain" priority={currentImageIndex === 0} onMouseEnter={() => setAutoPlay(false)} onMouseLeave={() => setAutoPlay(true)}