-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (83 loc) · 3.53 KB
/
index.html
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="assets/Logo-icon-white.ico">
<link rel="stylesheet" href="main.css">
<title>PayChain</title>
</head>
<body>
<div class="navbar">
<div class="container">
<img class="logo" src="assets/Logo.svg" alt="paychain logo">
<img id="mobile-cta" src="assets/menu.svg" alt="open navigation" class="mobile-menu-open">
<nav>
<img id="mobile-close" src="assets/Close.svg" alt="close navigation" class="mobile-menu-close">
<ul class="primary-nav">
<li><a class="link" href="#">Home</a></li>
<li><a class="link" href="#">Features</a></li>
<li><a class="link" href="#">Learn</a></li>
<li><a class="link" href="#">Developers</a></li>
</ul>
<ul class="secondary-nav">
<li><a class="link" href="#">Log In</a></li>
<li><a class="link-cta" href="#">Try PayChain</a></li>
</ul>
</nav>
</div>
</div>
<section class="hero">
<div class="hero-container">
<div class="hero-left">
<h1>Shop and Pay <br> with <span>Crypto</span> </br></h1>
<p class="hero">With PayChain, you can spend crypto or US dollars everywhere Visa® debit cards are accepted.</p>
<div class="hero-cta">
<a class="primary-cta" href="#">Try PayChain</a>
<a href="#" class="secondary-cta"> See How
<img class="video-icon" src="assets/play.svg" alt="watch video">
</a>
</div>
</div>
<div class="hero-illustration">
<img src="assets/illustration.svg" alt="PayChain Illustration" class="hero-img">
</div>
</div>
</section>
<section class="other">
<div class="other-container">
<div class="stores">
<img class="maps" src="assets/map.svg" alt="stores accepted">
<div class="stores-text">
<h2>284+</h2>
<p class="other">STORES ACCEPT PAYCHAIN <br> GLOBALLY </br> </p>
</div>
</div>
<div class="logos">
<div class="logo-row-1">
<img class="sponsors" src="assets/Amazon.svg" alt="">
<img class="sponsors" src="assets/Booking.svg" alt="">
<img class="sponsors" src="assets/Shopify.svg" alt="">
</div>
<div class="logo-row-2">
<img class="sponsors" src="assets/Netflix.svg" alt="">
<img class="sponsors" src="assets/Upwork.svg" alt="">
<img class="sponsors" src="assets/Coinbase.svg" alt="">
</div>
</div>
</div>
</section>
<script>
const mobileMenuOpen = document.getElementById('mobile-cta')
nav = document.querySelector('nav')
mobileMenuClose = document.getElementById('mobile-close');
mobileMenuOpen.addEventListener('click', () => {
nav.classList.add('mobile-menu-open');
})
mobileMenuClose.addEventListener('click', () => {
nav.classList.remove('mobile-menu-open');
})
</script>
</body>
</html>