File size: 1,768 Bytes
d77bae9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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>
  )
}