diff --git a/src/pages/HowItWorksPage.tsx b/src/pages/HowItWorksPage.tsx index 3bdbc7c..99ffe96 100644 --- a/src/pages/HowItWorksPage.tsx +++ b/src/pages/HowItWorksPage.tsx @@ -1,99 +1,164 @@ -import React from 'react'; +import React, { useState } from 'react'; import { Link } from 'react-router-dom'; import { - PackagePlus, - BookOpen, - BellRing, - Truck, - Banknote, - TrendingUp, Check, - HelpCircle, - ArrowRight + ArrowRight, + ChevronDown, + ChevronUp } from 'lucide-react'; export const HowItWorksPage: React.FC = () => { + const [openFaq, setOpenFaq] = useState(0); + + const toggleFaq = (index: number) => { + setOpenFaq(openFaq === index ? null : index); + }; + + const stepperItems = [ + { num: '1', title: 'Create', sub: 'Profile setup', target: 'step-1' }, + { num: '2', title: 'List', sub: 'Add products', target: 'step-2' }, + { num: '3', title: 'Tell your story', sub: 'Artisan heritage', target: 'step-3' }, + { num: '4', title: 'Order', sub: 'Get notified', target: 'step-4' }, + { num: '5', title: 'Shipment', sub: 'Doorstep pickup', target: 'step-5' }, + { num: '6', title: 'Payout', sub: 'Direct deposit', target: 'step-6' }, + ]; + const steps = [ { - num: '01', + id: 'step-1', + num: '1', + stage: 'STAGE ONE', + title: 'Set up your seller profile', + desc: 'Begin with a simple, guided verification. All you need is your mobile number, bank account details, and GSTIN or enrollment number (if applicable). Our artisan regional liaison team verifies your workshop credibility to protect genuine regional crafts.', + tags: ['Mobile verification', 'GSTIN / UID', 'Bank details'], + img: '/images/how-it-works/steps/step1_onboarding@2x.png', + alt: 'Set up your seller profile', + reverse: false + }, + { + id: 'step-2', + num: '2', + stage: 'STAGE TWO', title: 'Add your products', - desc: 'Upload high-resolution craft photos from your smartphone or camera. Assign dimensions, available stock, material purity, and your selling price.', - icon: + desc: 'Upload high-resolution craft photos from your smartphone or camera. Assign dimensions, available stock, material purity, and your desired craft price. We provide smart pricing recommendations and categorization across GI tags, pottery, handloom, and metal crafts.', + tags: ['Category tagging', 'Fair pricing', 'Photos & details'], + img: '/images/how-it-works/steps/step2_products@2x.png', + alt: 'Add your products', + reverse: true }, { - num: '02', + id: 'step-3', + num: '3', + stage: 'STAGE THREE', title: "Share your craft's story", - desc: 'Buyers cherish what makes your work rare. Create an artisan bio, document the generational lineage of your technique, and attach GI tag credentials.', - icon: + desc: 'Buyers cherish what makes your work rare. Create an artisan bio, document the generational lineage of your technique, and attach short making-of clips. Each product page features the creator\'s profile, reinforcing authentic provenance and value.', + tags: ['Maker profile', 'Origin & craft heritage', 'Photos/video clips'], + img: '/images/how-it-works/steps/step3_story@2x.png', + alt: "Share your craft's story", + reverse: false }, { - num: '03', + id: 'step-4', + num: '4', + stage: 'STAGE FOUR', title: 'Receive customer orders', - desc: 'Get instant SMS and dashboard notifications whenever an admirer purchases your artwork. Review customer requirements, courier pickup windows, and invoice details.', - icon: + desc: 'Get instant SMS and dashboard notifications whenever an admirer purchases your artwork. Review customer requirements, confirm dispatch readiness with one tap, and print pre-generated shipping waybills right from your seller portal.', + tags: ['Instant SMS alerts', '1-click confirm', 'Prepare for pickup'], + img: '/images/how-it-works/steps/step4_orders@2x.png', + alt: 'Receive customer orders', + reverse: true }, { - num: '04', + id: 'step-5', + num: '5', + stage: 'STAGE FIVE', title: 'Pack & ship with Tradhox support', - desc: 'Never stress over parcel counters or couriers. We provide sturdy craft-protective packaging guidelines, while our nationwide logistics partners collect directly from your door.', - icon: + desc: 'Never stress over parcel counters or couriers. We provide sturdy craft-protective packaging guidelines, while our nationwide logistics partner picks up the packaged craft straight from your home or workshop with live GPS tracking.', + tags: ['Product FF by Tradhox', 'Doorstep pickup', '15,000+ pincode delivery'], + img: '/images/how-it-works/steps/step5_shipment@2x.png', + alt: 'Pack & ship with Tradhox support', + reverse: false }, { - num: '05', + id: 'step-6', + num: '6', + stage: 'STAGE SIX', title: 'Get paid on schedule', - desc: 'Timely payouts right to your bank account with zero hidden fees. Track sales numbers, view transparent margin statements, and download GST receipts effortlessly.', - icon: - }, - { - num: '06', - title: 'Grow with dedicated seller tools', - desc: 'Access seasonal craft trend reports, participate in festive ODOP campaigns, and expand your handmade catalog with zero listing penalty.', - icon: + desc: 'Timely payouts right to your bank account with zero hidden fees. Track sales numbers, view transparent margin statements, and monitor your scheduled settlements every 7 days through your intuitive seller dashboard.', + tags: ['7-day payout cycle', 'Direct bank transfer', 'Transparent earnings dashboard'], + img: '/images/how-it-works/steps/step6_payout@2x.png', + alt: 'Get paid on schedule', + reverse: true } ]; const faqs = [ { - q: 'Is it really free to register and list products?', - a: 'Registration and listing on Tradhox is completely free of charge. There are no monthly listing subscriptions or upfront cataloging charges. We only deduct a minimal service commission upon successful delivery.' + q: 'How much does it cost to register and list products on Tradhox?', + a: 'Registration and listing on Tradhox is completely free of charge. There are no monthly listing subscriptions or upfront fees. We operate on a transparent, modest commission only when your item successfully sells.' }, { - q: 'How does doorstep courier pickup work?', - a: 'Our verified logistics partners (Delhivery, BlueDart, Ekart) come directly to your home workshop or craft studio at your scheduled pickup slot. You simply print the auto-generated shipping label and hand over the parcel.' + q: 'Do I need to manage shipping and delivery myself?', + a: 'No, Tradhox manages doorstep pickup and nationwide logistics with verified courier partners covering over 15,000 pincodes. You simply pack the creation safely using our craft-protective guidelines, attach the auto-generated shipping label, and hand it to the courier.' }, { - q: 'When and how do I receive payments?', - a: 'Payouts are directly credited via NEFT/RTGS to your verified bank account within 7 business days following confirmed delivery with 100% deduction transparency.' + q: 'When and how do I receive payouts for my delivered crafts?', + a: 'Payouts are deposited directly into your verified bank account on a regular 7-day settlement cycle following confirmed order delivery. All deductions, platform commissions, and GST components are completely itemized with 100% transparency in your seller dashboard.' }, { - q: 'What if I do not have a GSTIN number?', - a: 'Artisans exempt from mandatory GST registration under Government rules (annual turnover under ₹20 Lakhs) can easily onboard using an Enrolment ID generated from the GST portal.' + q: 'Can I get help creating my product listings and story?', + a: 'Yes! Our dedicated regional craft liaison desk provides hands-on onboarding assistance, GI lineage documentation support, and catalog photography guidelines to ensure your heritage creations shine.' } ]; + const scrollToStep = (id: string) => { + const el = document.getElementById(id); + if (el) { + el.scrollIntoView({ behavior: 'smooth', block: 'center' }); + } + }; + return (
- {/* Header Banner */} -
-
- - - - EMPOWERING INDIAN ARTISANS - + {/* 1. Centered Hero Header Banner */} +
+
+ + {/* Breadcrumb & Pill Tag in single centered row */} +

- How it works — The Seller Journey + How it works — The Seller Journey

-
- - Zero Listing Fees +

+ A transparent, step-by-step pathway empowering verified Indian craftsmen and creative masters to showcase heritage artistry, fulfill orders effortlessly, and reach connoisseurs nationwide. +

+ +
+ + Register as a seller + + +
+ +
+ + Zero Listing Fees • @@ -107,48 +172,189 @@ export const HowItWorksPage: React.FC = () => {
- {/* The 6-Step Journey */} -
+ {/* 2. The 6-Step Journey & Stepper Navigation */} +
-
-

+

+

THE 6-STEP JOURNEY

-
-

+

From artisan workshop to nationwide doorstep delivery

-
- {steps.map((st) => ( -
-
-
-
-
- {st.icon} -
- - {st.num} - -
-

{st.title}

-

- {st.desc} -

+ {/* Quick-Jump Stepper Bar */} +
+ {stepperItems.map((item) => ( +
+
scrollToStep(item.target)} + className="card p-3 has-text-centered h-100 is-flex is-flex-direction-column is-align-items-center is-justify-content-center trad-card-interactive" + style={{ + borderRadius: '14px', + border: '1px solid var(--trad-border)', + backgroundColor: '#FFFFFF', + cursor: 'pointer', + transition: 'transform 0.2s ease, box-shadow 0.2s ease' + }} + > +
+ {item.num} +
+
+ {item.title} +
+
+ {item.sub}
))}
+ + {/* Alternating 6 Steps */} +
+ {steps.map((st) => ( +
+ {/* Visual Card (on left if not reverse) */} + {!st.reverse && ( +
+
+
+ {st.alt} +
+
+
+ )} + + {/* Text Content */} +
+
+
+
+ {st.num} +
+ + {st.stage} + +
+ +

+ {st.title} +

+ +

+ {st.desc} +

+ + {/* Feature Pills */} +
+ {st.tags.map((tag, idx) => ( + + {tag} + + ))} +
+
+
+ + {/* Visual Card (on right if reverse) */} + {st.reverse && ( +
+
+
+ {st.alt} +
+
+
+ )} +
+ ))} +
- {/* Common Questions FAQ */} + {/* 3. Common Questions FAQ Accordion */}
-
-
+
+
+

+ FREQUENTLY ASKED +

Common questions from artisans & sellers

@@ -157,41 +363,86 @@ export const HowItWorksPage: React.FC = () => {

-
- {faqs.map((f, i) => ( -
-
-

- - {f.q} -

-

- {f.a} -

+ {/* Accordion List */} +
+ {faqs.map((f, i) => { + const isOpen = openFaq === i; + return ( +
+ + + {isOpen && ( +
+

+ {f.a} +

+
+ )}
-
- ))} + ); + })}
- {/* Final CTA */} -
+ {/* 4. Encapsulated Final CTA Card */} +
-

- Ready to start selling your authentic creations? -

-

- Join thousands of master weavers, potters, and sculptors reaching appreciative customers nationwide. -

- - Register as a seller - - +

+ Ready to start selling your authentic creations? +

+

+ Join hundreds of verified masters, cooperatives, and artisanal creators reaching appreciative patrons every day. +

+ + Register as a seller + +