From b6b720026da1289fe8ec0c69316b3b24050cedb6 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 28 Mar 2026 09:01:39 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 188 +++++++++++------------------------------------ 1 file changed, 42 insertions(+), 146 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 7e2ae58..89a3989 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -29,21 +29,13 @@ export default function LandingPage() { @@ -52,30 +44,21 @@ export default function LandingPage() {
window.location.href = "/phone/iphone-15-pro" }, { - id: "p2", - brand: "Samsung", - name: "Galaxy S24 Ultra", - price: "$1,199", - rating: 5, - reviewCount: "980", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/close-up-shot-of-a-high-end-smartphone-s-1774687993141-5c38d2a3.png?_wi=2", + id: "galaxy-s24-ultra", brand: "Samsung", name: "Galaxy S24 Ultra", price: "15,200,000 UZS", rating: 5, + reviewCount: "980", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/close-up-shot-of-a-high-end-smartphone-s-1774687993141-5c38d2a3.png?_wi=2", onProductClick: () => window.location.href = "/phone/galaxy-s24-ultra" }, { - id: "p3", - brand: "Xiaomi", - name: "Xiaomi 14 Pro", - price: "$899", - rating: 4, - reviewCount: "560", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/close-up-shot-of-a-high-end-smartphone-s-1774687993141-5c38d2a3.png?_wi=3", + id: "xiaomi-14-pro", brand: "Xiaomi", name: "Xiaomi 14 Pro", price: "11,400,000 UZS", rating: 4, + reviewCount: "560", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/close-up-shot-of-a-high-end-smartphone-s-1774687993141-5c38d2a3.png?_wi=3", onProductClick: () => window.location.href = "/phone/xiaomi-14-pro" }, { - id: "p4", - brand: "Apple", - name: "iPhone 15", - price: "$799", - rating: 4, - reviewCount: "430", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/close-up-shot-of-a-high-end-smartphone-s-1774687993141-5c38d2a3.png?_wi=4", + id: "iphone-15", brand: "Apple", name: "iPhone 15", price: "10,100,000 UZS", rating: 4, + reviewCount: "430", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/close-up-shot-of-a-high-end-smartphone-s-1774687993141-5c38d2a3.png?_wi=4", onProductClick: () => window.location.href = "/phone/iphone-15" }, ]} title="Our Collection" @@ -138,40 +101,15 @@ export default function LandingPage() { useInvertedBackground={false} testimonials={[ { - id: "t1", - name: "Sarah Jenkins", - handle: "@sarahj", - testimonial: "The design of my new phone is absolutely stunning, and the performance is unmatched.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-tech-enthusia-1774687994906-5ad70ffe.png?_wi=1", - }, + id: "t1", name: "Sarah Jenkins", handle: "@sarahj", testimonial: "The design of my new phone is absolutely stunning, and the performance is unmatched.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-tech-enthusia-1774687994906-5ad70ffe.png?_wi=1"}, { - id: "t2", - name: "Marcus Chen", - handle: "@mchen", - testimonial: "Fastest delivery I've ever experienced and the product quality is top-notch.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-creative-prof-1774687992837-99cd747b.png", - }, + id: "t2", name: "Marcus Chen", handle: "@mchen", testimonial: "Fastest delivery I've ever experienced and the product quality is top-notch.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-creative-prof-1774687992837-99cd747b.png"}, { - id: "t3", - name: "Elena Rodriguez", - handle: "@elena_r", - testimonial: "Perfect device for my photography work. The camera sensor is incredible.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-business-exec-1774687993767-6d61c3cc.png", - }, + id: "t3", name: "Elena Rodriguez", handle: "@elena_r", testimonial: "Perfect device for my photography work. The camera sensor is incredible.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-business-exec-1774687993767-6d61c3cc.png"}, { - id: "t4", - name: "David Smith", - handle: "@dsmith", - testimonial: "I love the sleek interface and the battery life is just extraordinary.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-designer-high-1774687993830-5fab5be0.png", - }, + id: "t4", name: "David Smith", handle: "@dsmith", testimonial: "I love the sleek interface and the battery life is just extraordinary.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-designer-high-1774687993830-5fab5be0.png"}, { - id: "t5", - name: "Alex Rivera", - handle: "@arivera", - testimonial: "NexusCell has redefined how I buy tech. Incredible support and fast shipping.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-tech-enthusia-1774687994906-5ad70ffe.png?_wi=2", - }, + id: "t5", name: "Alex Rivera", handle: "@arivera", testimonial: "NexusCell has redefined how I buy tech. Incredible support and fast shipping.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BZDbDSeGvWNcjEe8zGm3Bu9QTK/professional-portrait-of-a-tech-enthusia-1774687994906-5ad70ffe.png?_wi=2"}, ]} title="Loved by Tech Enthusiasts" description="See what our customers have to say about their new devices." @@ -187,37 +125,16 @@ export default function LandingPage() { description="Flexible plans designed to get you the latest tech without breaking the bank." plans={[ { - id: "basic", - tag: "Starter", - price: "$30", - period: "/mo", - description: "Perfect for essential upgrades.", - button: { - text: "Select Basic", - }, - featuresTitle: "Included", - features: [ - "Phone protection", - "Standard shipping", - "Basic support", - ], + id: "basic", tag: "Starter", price: "350,000 UZS", period: "/mo", description: "Perfect for essential upgrades.", button: { + text: "Select Basic"}, + featuresTitle: "Included", features: [ + "Phone protection", "Standard shipping", "Basic support"], }, { - id: "pro", - tag: "Pro", - price: "$50", - period: "/mo", - description: "The ultimate mobile experience.", - button: { - text: "Select Pro", - }, - featuresTitle: "Included", - features: [ - "Priority support", - "Free upgrades", - "Accidental damage coverage", - "Fast shipping", - ], + id: "pro", tag: "Pro", price: "600,000 UZS", period: "/mo", description: "The ultimate mobile experience.", button: { + text: "Select Pro"}, + featuresTitle: "Included", features: [ + "Priority support", "Free upgrades", "Accidental damage coverage", "Fast shipping"], }, ]} /> @@ -228,9 +145,7 @@ export default function LandingPage() { useInvertedBackground={false} title="Defining Premium Mobile" description={[ - "At NexusCell, we bridge the gap between innovation and accessibility. Our mission is to provide global access to the most advanced mobile technology on the market today, packaged with a customer-first experience.", - "We curate only the finest hardware, ensuring that every device you receive meets our rigorous standards for performance, aesthetic beauty, and longevity.", - ]} + "At NexusCell, we bridge the gap between innovation and accessibility. Our mission is to provide global access to the most advanced mobile technology on the market today, packaged with a customer-first experience.", "We curate only the finest hardware, ensuring that every device you receive meets our rigorous standards for performance, aesthetic beauty, and longevity."]} />
@@ -238,50 +153,31 @@ export default function LandingPage() { Date: Sat, 28 Mar 2026 09:01:39 +0000 Subject: [PATCH 2/2] Add src/app/phone/[slug]/page.tsx --- src/app/phone/[slug]/page.tsx | 66 +++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 src/app/phone/[slug]/page.tsx diff --git a/src/app/phone/[slug]/page.tsx b/src/app/phone/[slug]/page.tsx new file mode 100644 index 0000000..f0bb27e --- /dev/null +++ b/src/app/phone/[slug]/page.tsx @@ -0,0 +1,66 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; +import { useParams } from 'next/navigation'; + +export default function PhoneDetailPage() { + const params = useParams(); + const slug = params.slug as string; + + return ( + + + + +
+

{slug.replace(/-/g, ' ')}

+
+
+ Product Image +
+
+

Technical Specifications

+

Price: 12,500,000 UZS

+
    +
  • Display: 6.7-inch OLED
  • +
  • Processor: Latest Gen Chipset
  • +
  • Battery: 5000mAh
  • +
  • Camera: 50MP Triple System
  • +
+
+
+
+ + +
+
+ ); +} -- 2.49.1