-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
417 lines (392 loc) · 19.2 KB
/
Copy pathindex.html
File metadata and controls
417 lines (392 loc) · 19.2 KB
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!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">
<!-- bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<!-- icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<!-- AOS -->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<!-- css -->
<link rel="stylesheet" href="style/style.css">
<!-- tab name -->
<title>My Portofolio | Ardy Wirasaputra</title>
</head>
<body id="home">
<!-- navbar -->
<nav class="navbar navbar-expand-lg bg-primary shadow-sm navbar-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#home">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#projects">Project</a>
</li>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact Me</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- end navbar -->
<!-- jumbotron -->
<section class="jumbotron text-center">
<img src="img/ardy.jpg" alt="Ardy Wirasaputra" width="200px" class="rounded-circle img-thumbnail">
<h1 class="display-4">Ardy Wirasaputra</h1>
<p class="lead"></p>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill="#ffffff" fill-opacity="1"
d="M0,128L40,149.3C80,171,160,213,240,234.7C320,256,400,256,480,234.7C560,213,640,171,720,165.3C800,160,880,192,960,186.7C1040,181,1120,139,1200,122.7C1280,107,1360,117,1400,122.7L1440,128L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z">
</path>
</svg>
</section>
<!-- end jumbotron -->
<!-- about -->
<section id="about">
<div class="container">
<div class="row text-center mb-3">
<div class="col">
<h2>About Me</h2>
</div>
</div>
<div class="row justify-content-center fs-5 text-center">
<div class="col-md-4 mb-2" data-aos="fade-right" data-aos-duration="1000">
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Earum provident recusandae excepturi
nam eligendi ipsum cum dicta assumenda alias maiores.</p>
</div>
<div class="col-md-4 mb-2" data-aos="fade-left" data-aos-duration="1500">
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. At voluptatibus id est quia minus
ipsum. At eius excepturi amet blanditiis quaerat voluptatibus optio eligendi adipisci.</p>
</div>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill="#e2edff" fill-opacity="1"
d="M0,192L40,186.7C80,181,160,171,240,186.7C320,203,400,245,480,240C560,235,640,181,720,160C800,139,880,149,960,144C1040,139,1120,117,1200,112C1280,107,1360,117,1400,122.7L1440,128L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z">
</path>
</svg>
</section>
<!-- end about -->
<!-- projects -->
<section id="projects">
<div class="container">
<div class="row text-center mb-3">
<div class="col">
<h2>My Projects</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-4 mb-3" data-aos="zoom-in-right" data-aos-duration="500">
<div class="card">
<img src="img/projects/1.jpg" class="card-img-top" alt="poject1">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-3" data-aos="zoom-in-right" data-aos-duration="500" data-aos-delay="75">
<div class="card">
<img src="img/projects/2.jpg" class="card-img-top" alt="project2">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-3" data-aos="zoom-in-right" data-aos-duration="500" data-aos-delay="100">
<div class="card">
<img src="img/projects/3.jpg" class="card-img-top" alt="project3">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-3" data-aos="zoom-in-right" data-aos-duration="500" data-aos-delay="125">
<div class="card">
<img src="img/projects/4.jpg" class="card-img-top" alt="project4">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-3" data-aos="zoom-in-right" data-aos-duration="500" data-aos-delay="150">
<div class="card">
<img src="img/projects/5.jpg" class="card-img-top" alt="project5">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk
of the card's content.</p>
</div>
</div>
</div>
</div>
</div>
<!-- my keyboard -->
<section id="my-keyboars">
<div class="container">
<div class="row text-center mb-3">
<div class="col">
<h2>My Keyboard</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-6 col-lg-4 mb-3">
<div class="keyboard-box">
<h4 class="keyboard-name">Keychron K2</h4>
<img src="img/keyboards/keyboard1.png" alt="keyboard1" class="img-fluid keyboard-img">
<a href="#" class="btn btn-light keyboard-detail-button">Show Details</a>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-3">
<div class="keyboard-box">
<h4 class="keyboard-name">Keychron K3</h4>
<img src="img/keyboards/keyboard2.png" alt="keyboard2" class="img-fluid keyboard-img">
<a href="#" class="btn btn-light keyboard-detail-button">Show Details</a>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-3">
<div class="keyboard-box">
<h4 class="keyboard-name">Keychron K2</h4>
<img src="img/keyboards/keyboard1.png" alt="keyboard1" class="img-fluid keyboard-img">
<a href="#" class="btn btn-light keyboard-detail-button">Show Details</a>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-3">
<div class="keyboard-box">
<h4 class="keyboard-name">Keychron K3</h4>
<img src="img/keyboards/keyboard2.png" alt="keyboard2" class="img-fluid keyboard-img">
<a href="#" class="btn btn-light keyboard-detail-button">Show Details</a>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-3">
<div class="keyboard-box">
<h4 class="keyboard-name">Keychron K2</h4>
<img src="img/keyboards/keyboard1.png" alt="keyboard1" class="img-fluid keyboard-img">
<a href="#" class="btn btn-light keyboard-detail-button">Show Details</a>
</div>
</div>
</div>
</div>
</section>
<!-- end my keyboard -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill="#ffffff" fill-opacity="1"
d="M0,192L40,176C80,160,160,128,240,133.3C320,139,400,181,480,208C560,235,640,245,720,224C800,203,880,149,960,154.7C1040,160,1120,224,1200,250.7C1280,277,1360,267,1400,261.3L1440,256L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z">
</path>
</svg>
</section>
<!-- end projects -->
<!-- gallery -->
<section id="gallery">
<div class="container">
<div class="row text-center mb-3">
<div class="col">
<h2>Gallery</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
<div class="col-md-3">
<a href="#">
<img src="img/projects/1.jpg" alt="gambar 1" class="img-fluid gallery-img">
</a>
</div>
</div>
</div>
</section>
<!-- end gallery -->
<!-- contact -->
<section id="contact">
<div class="container">
<div class="row text-center mb-3">
<div class="col">
<h2>Contact Me</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-6">
<div class="alert alert-success alert-dismissible fade show d-none" role="alert">
<strong>Terima kasih!</strong> Pesan anda sudah kami terima
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<form name="ardywsptr-contact-form">
<div class="mb-3">
<label for="name" class="form-label">Nama Lengkap</label>
<input type="text" class="form-control" id="name" aria-describedby="name" name="nama">
</div>
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control" id="email" aria-describedby="emailHelp"
name="email">
</div>
<div class="form-floating mb-3">
<textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea"
style="height: 100px" name="pesan"></textarea>
<label for="floatingTextarea">Masukan pesan</label>
</div>
<button type="submit" class="btn btn-primary btn-kirim">Kirim</button>
<button class="btn btn-primary btn-loading d-none" type="button" disabled>
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Loading...
</button>
</form>
</div>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill="#0d6efd" fill-opacity="1"
d="M0,224L40,224C80,224,160,224,240,208C320,192,400,160,480,165.3C560,171,640,213,720,234.7C800,256,880,256,960,245.3C1040,235,1120,213,1200,218.7C1280,224,1360,256,1400,272L1440,288L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z">
</path>
</svg>
</section>
<!-- end contact -->
<!-- footer -->
<footer class="bg-primary text-white text-center pb-4">
<p>Created with <i class="bi bi-heart-fill text-danger"></i> by <a href="https://github.com/Ardywsptr"
class="text-white fw-bold">Ardy Wirasaputra</a>
</p>
</footer>
<!-- end footer -->
<!-- script bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous">
</script>
<!-- script AOS -->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
const galleryImage = document.querySelectorAll(".gallery-img");
galleryImage.forEach((img, i) => {
img.dataset.aos = "fade-down";
img.dataset.aosDelay = i * 100;
img.dataset.aosDuration = 1000;
})
AOS.init({
easing: 'ease-in-out-back',
once: true,
});
</script>
<!-- script GSAP -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/TextPlugin.min.js"></script>
<script>
// dengan plugin
gsap.registerPlugin(TextPlugin);
gsap.to(".lead", {
duration: 2,
delay: 1,
text: "Student | Web Developer"
})
// tanpa plugin
gsap.from(".jumbotron img", {
duration: 1,
y: -100,
opacity: 0,
ease: "bounce.out"
})
</script>
<!-- end script GSAP -->
<!-- javascript DOM -->
<script>
const scriptURL =
'https://script.google.com/macros/s/AKfycbxRfVAR43n5syKICh26fm_Jxoo3cHEWgefiV-1c92JIqL-V_iVeO0y_Rv223oOUk0cWKw/exec';
const form = document.forms['ardywsptr-contact-form'];
const btnKirim = document.querySelector(".btn-kirim");
const btnLoading = document.querySelector(".btn-loading");
const myAlert = document.querySelector(".alert");
form.addEventListener('submit', e => {
e.preventDefault()
// ketika tombol submit diklik
// tampilkan tombol loading, hilangkan tombol kirim
btnLoading.classList.toggle("d-none");
btnKirim.classList.toggle("d-none");
fetch(scriptURL, {
method: 'POST',
body: new FormData(form)
})
.then(response => {
// tampilkan tombol kirim, hilangkan tombol loading
btnLoading.classList.toggle("d-none");
btnKirim.classList.toggle("d-none");
// tampilkan alert
myAlert.classList.toggle("d-none");
// reset formnya
form.reset();
console.log('Success!', response)
})
.catch(error => console.error('Error!', error.message))
})
</script>
<!-- script til js -->
<script type="text/javascript" src="js/vanilla-tilt.min.js"></script>
<script type="text/javascript">
VanillaTilt.init(document.querySelectorAll(".keyboard-box"), {
max: 25,
speed: 1000,
glare: true
});
</script>
<!-- script til js -->
</body>
</html>