From 87aa54d7867ee2e158bdd86da10633b2a086ba06 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 07:02:14 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 53 ++++++++++-------------------------------------- 1 file changed, 11 insertions(+), 42 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6126139..bb5154e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,30 +9,9 @@ import MetricCardOne from "@/components/sections/metrics/MetricCardOne"; import FaqDouble from "@/components/sections/faq/FaqDouble"; import ContactFaq from "@/components/sections/contact/ContactFaq"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; -import VirtualTryOnUpload from "@/components/virtualTryOn/VirtualTryOnUpload"; -import VirtualTryOnPreview from "@/components/virtualTryOn/VirtualTryOnPreview"; import { Clock, Package, Sparkles, Target, Zap } from "lucide-react"; -import { useState } from "react"; export default function LandingPage() { - const [userPhoto, setUserPhoto] = useState(null); - const [clothesPhoto, setClothesPhoto] = useState(null); - const [showPreview, setShowPreview] = useState(false); - - const handleUserPhotoUpload = (photo: string) => { - setUserPhoto(photo); - }; - - const handleClothesPhotoUpload = (photo: string) => { - setClothesPhoto(photo); - }; - - const handleStartTryOn = () => { - if (userPhoto && clothesPhoto) { - setShowPreview(true); - } - }; - return (
- {!showPreview ? ( -
- - +
+
+

Upload Your Photo

+

Select a clear full-body photo for accurate measurements

+
- ) : ( - setShowPreview(false)} - /> - )} +
+

Upload Clothing Photo

+

Choose the clothes you want to try on

+ +
+
-- 2.49.1