Datasets:
Download tasks/c35/repo/src/components/GettingStarted.jsx from Roy-DOU/Webdev-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c35/repo/src/components/GettingStarted.jsx
- Command line
-
hf download hf://datasets/Roy-DOU/Webdev-Bench/tasks/c35/repo/src/components/GettingStarted.jsx
-
curl -L -o GettingStarted.jsx https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c35/repo/src/components/GettingStarted.jsx
1.77 kB
| import cardQr from '../assets/card-qr.png' | |
| import phone2 from '../assets/phone-card2.png' | |
| import phone3 from '../assets/phone-card3.png' | |
| import phone4 from '../assets/phone-card4.png' | |
| import phone5 from '../assets/phone-card5.png' | |
| import chipPay from '../assets/chip-pay.png' | |
| import { AllOnWhatsApp } from './ScanCallout.jsx' | |
| const CARDS = [ | |
| { cls: 'card-1', title: 'SCAN', img: cardQr, imgCls: 'card-qr-img' }, | |
| { cls: 'card-2', title: 'CREATE AN ACCOUNT ON WHATSAPP WITH YOUR BVN PHONE NUMBER', img: phone2 }, | |
| { cls: 'card-3', title: 'VERIFY YOUR IDENTITY', img: phone3 }, | |
| { cls: 'card-4', title: 'SEND AN AUTHORISATION CODE TO LINK YOUR BANK ACCOUNT TO OWO', img: phone4 }, | |
| { cls: 'card-5', title: 'CHOOSE YOUR OWOTAG [@___]. PICK SOMETHING COOL!', img: phone5 }, | |
| ] | |
| export default function GettingStarted() { | |
| return ( | |
| <section className="getting-started" id="getting-started"> | |
| <h2 className="section-heading"> | |
| Send money like | |
| <br /> | |
| you chat, with Owo | |
| </h2> | |
| <div className="steps-strip"> | |
| <span className="steps-tab">HOW TO GET STARTED</span> | |
| {CARDS.map((c, i) => ( | |
| <article key={c.cls} className={`step-card ${c.cls}`} style={{ zIndex: i + 2 }}> | |
| <h3>{c.title}</h3> | |
| <img className={c.imgCls || 'card-phone'} src={c.img} alt="" /> | |
| <span className="card-fold" aria-hidden="true" /> | |
| </article> | |
| ))} | |
| </div> | |
| <div className="pay-callout"> | |
| <h2 className="callout-heading callout-orange"> | |
| Start <img className="qr-chip" src={chipPay} alt="QR code" /> paying | |
| <br /> | |
| as easy as | |
| <br /> | |
| you chat | |
| </h2> | |
| <AllOnWhatsApp /> | |
| </div> | |
| </section> | |
| ) | |
| } | |