forked from ginchoco/1Letter1Smile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathletter.html
265 lines (214 loc) · 12.2 KB
/
letter.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--========== BOX ICONS ==========-->
<link href='https://cdn.jsdelivr.net/npm/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<!--========== CSS ==========-->
<link rel="stylesheet" href="assets/css/styles.css">
<title>1Letter1Smile Mockup</title>
</head>
<!--========== SCROLL TOP ==========-->
<a href="#" class="scrolltop" id="scroll-top">
<i class='bx bx-chevron-up scrolltop__icon'></i>
</a>
<!--========== HEADER ==========-->
<header class="l-header" id="header">
<nav class="nav bd-container">
<a href="index.html" class="nav__logo"><img src="assets/img/logo.png" alt=""></a>
<div class="nav__menu" id="nav-menu">
<ul class="nav__list">
<li class="nav__item"><a href="letter.html" class="nav__link">Write a Letter</a></li>
<li class="nav__item"><a href="login.html" class="nav__link">Register/Login</a></li>
<li class="nav__item"><a href="about.html" class="nav__link">About</a></li>
<li class="nav__item"><a href="#contact" class="nav__link">More</a></li>
<li><i class='bx bx-moon change-theme' id="theme-button"></i></li>
</ul>
</div>
<div class="nav__toggle" id="nav-toggle">
<i class='bx bx-menu'></i>
</div>
</nav>
</header>
<main class="l-main">
<!--========== HOME ==========-->
<section class="home" id="home">
<div class="letter__container bd-container bd-grid">
<img src="assets/img/teen.gif" alt="" class="home__letter__img">
<div class="home__letter__data">
<!-- <img src="assets/img/logo.png" alt="" class="logo__img"> -->
<img src="assets/img/heart.gif" alt="" class="home__logo">
<h1 class="home__letter__title">Write a Letter </h1>
<h2 class="home__letter__subtitle">Start here</h2>
</div>
<img src="assets/img/grandma.gif" alt="" class="home__letter__img">
</div>
</section>
<!--========== MENU ==========-->
<section class="menu section bd-container" id="menu">
<span class="section-subtitle">Step 1</span>
<h2 class="section-title">Select your recipient</h2>
<p>Your letter can potentially be sent to many people all over the world (many isolated people are waiting for your sweet words).</p>
<div class="menu__container bd-grid">
<div class="menu__content">
<a href="#letter" class="ref">
<img src="assets/img/elderlywoman.png" alt="" class="menu__img">
</a>
<h3 class="menu__name">Elderly Woman</h3>
</div>
<div class="menu__content">
<a href="#letter" class="ref">
<img src="assets/img/elderlyman.png" alt="" class="menu__img">
</a>
<h3 class="menu__name">Elderly Man</h3>
</div>
</div>
</section>
<!-- WRITE YOUR LETTER -->
<section class="letter" id="letter">
<div class="letter__content">
<span class="section-subtitle">Step 2</span>
<h2 class="section-title">Write your letter</h2>
<p class="paragraph" id="paragraph">Brainstorm some kind words, a funny story, or a happy memory that you'd like
to share. Your letter must be at least 250 words long and you can include a photo! This can be of
yourself, of nature, or even something you baked. </p>
<div class="letter__form">
<form action="" class="letter__paper">
<div class="letter__box__heading">
<!-- <input type="text" placeholder="Dear Sir/Madam," class="letter__input__heading" maxlength="20"> -->
<textarea placeholder="Dear Sir/Madam," class="textarea" maxlength="11"></textarea>
</div>
<div class="letter__box__body">
<textarea placeholder="Start writing here" class="textarea" maxlength="4000"></textarea>
</div>
<div class="letter__box__signature">
<input type="text" placeholder="Sincerely, Y/N" class="letter__input__signature" maxlength="30">
</div>
</form>
</div>
<a href="#" class="upload__button">Upload photo</a>
<!-- <form action="/action_page.php">
<input type="file" id="myFile" name="filename" class="upload__button">Upload photo
<input type="submit">
</form> -->
<span class="letter__file" id="letter__file">No file</span>
<p>* Attach a photo to your letter to make it more personable!</p>
<div class="information__box terms">
<label class="check">
<input type="checkbox">
<span class="checkmark">I've double checked my letter</span>
</label>
</div>
</div>
</section>
<!--========== LOCATION ==========-->
<section class="location" id="location">
<div class="location__content">
<span class="section-subtitle">Step 3</span>
<h2 class="section-title">Choose your location</h2>
<p> Select the country and care home your letter sent will be sent to.
<br> Don't have a place in mind? We can choose for you.</p>
</div>
<div id="location__map" class="location__map"></div>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://d3js.org/d3.geo.projection.v0.min.js"></script>
<script src="https://d3js.org/topojson.v1.min.js"></script>
<script src="map.js"></script>
<link rel="stylesheet" href="styles.css">
<h2 class="section-subtitle">You've selected:</h2>
<a href="#information" class="location__button">Choose for me</a>
</section>
<!--========== INFORMATION ==========-->
<section class="information" id="information">
<span class="section-subtitle">Step 4</span>
<h2 class="section-title">Your Information</h2>
<p>Verify your age and include your information. You may include a personal phone number only if you are 18 years or older.</p>
<div class="information__form">
<div class="information__box">
<label>First Name</label>
<input type="text" class="information__input" id="firstname">
</div>
<div class="information__box">
<label>Last Name</label>
<input type="text" class="information__input">
</div>
<div class="information__box">
<label>City</label>
<input type="text" class="information__input">
</div>
<div class="information__box">
<label>Postal Code</label>
<input type="text" class="information__input">
</div>
<div class="information__box">
<label>Country</label>
<input type="text" class="information__input">
</div>
<div class="information__box">
<label class="information__terms">
<input type="checkbox">
<span class="checkmark">I agree for my letter to be anonymously published on 1Letter1Smile</span>
</label>
<label class="information__terms">
<input type="checkbox">
<span class="checkmark">I agree to Terms and Conditions</span>
</label>
</div>
</div>
<a href="review.html" class="send__button">Review and Send</a>
</section>
</main>
<!--========== FOOTER ==========-->
<footer class="footer section bd-container">
<div class="footer__container bd-grid">
<div class="footer__content">
<a href="#" class="footer__logo">1Letter1Smile</a>
<span class="footer__description">Non Profit</span>
<div>
<a href="https://www.facebook.com/1-lettre-1-sourire-104735304495540/" class="footer__social"><i class='bx bxl-facebook'></i></a>
<a href="https://www.instagram.com/1lettre1sourire/?hl=fr" class="footer__social"><i class='bx bxl-instagram'></i></a>
<a href="#" class="footer__social"><i class='bx bxl-twitter'></i></a>
</div>
</div>
<div class="footer__content">
<h3 class="footer__title">Services</h3>
<ul>
<li><a href="letter.html" class="footer__link">Write a Letter</a></li>
<li><a href="about.html" class="footer__link">About</a></li>
<li><a href="faq.html" class="footer__link">FAQs</a></li>
<li><a href="sponsor.html" class="footer__link">Our Sponsors</a></li>
</ul>
</div>
<div class="footer__content">
<h3 class="footer__title">Information</h3>
<ul>
<li><a href="login.html" class="footer__link">Register/Login</a></li>
<li><a href="#" class="footer__link">Donate</a></li>
<li><a href="#" class="footer__link">Privacy policy</a></li>
<li><a href="#" class="footer__link">Terms of services</a></li>
</ul>
</div>
<div class="footer__content">
<h3 class="footer__title">Address</h3>
<ul>
<li>Lille - France</li>
<li>+33 6 46 48 08 02.</li>
<li>[email protected]</li>
</ul>
</div>
</div>
<p class="footer__copy">© 2020 1Letter1Smile. All right reserved</p>
</footer>
<!--========== SCROLL REVEAL ==========-->
<script src="https://unpkg.com/scrollreveal"></script>
<!--========== MAIN JS ==========-->
<script src="assets/js/main.js"></script>
<!-- LOADER
<div class="loading">
<div class="loading__dot"></div>
<div class="loading__dot"></div>
<div class="loading__dot"></div>
</div> -->
</body>
</html>