-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·164 lines (148 loc) · 8.05 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
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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<!-- CSS SENDIRI -->
<link rel="stylesheet" type="text/css" href="css/style.css" />
<title>Portofolio | Aji Nur Aji</title>
</head>
<body>
<!-- navbar -->
<nav class="navbar navbar-dark bg-primary">
<div class="container-fluid">
<span class="navbar-brand mb-0 h1">MY PORTFOLIO</span>
</div>
</nav>
<!-- akhir navbar -->
<!-- jumbotron -->
<section class="jumbotron text-center">
<img src="img/aji.png" alt="AjiNurAji" width="180" class="rounded-circle img-thumbnail mb-3"/>
<h1 class="display-4 fw-bold fs-3">AJI NUR AJI</h1>
<p class="lead">Student | SMKN 4 KUNINGAN</p>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#ffffff" fill-opacity="1" d="M0,224L48,208C96,192,192,160,288,138.7C384,117,480,107,576,112C672,117,768,139,864,165.3C960,192,1056,224,1152,202.7C1248,181,1344,107,1392,69.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>
</section>
<!-- akhir 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 fs-6">
<div class="col">
<p>Hallo perkenalkan saya Aji Nur Aji, Umur saya 15 tahun. Hobi saya bermain game, Selain bermain game saya juga suka membuat website dengan ngoding di android/handphone, Seperti website ini saya membuatnya dengan melihat tutorial pada YouTube.</p></div>
<div class="col">
<p>Saya seorang pelajar di SMKN 4 KUNINGAN dengan jurusan RPL (Rekayasa Perangkat Lunak). Kenapa saya memilih jurusan ini?? Karena saya ingin belajar menjadi programmer dan bisa mengetahui tentang bahasa pemrograman.</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,160L34.3,181.3C68.6,203,137,245,206,256C274.3,267,343,245,411,224C480,203,549,181,617,181.3C685.7,181,754,203,823,208C891.4,213,960,203,1029,170.7C1097.1,139,1166,85,1234,74.7C1302.9,64,1371,96,1406,112L1440,128L1440,320L1405.7,320C1371.4,320,1303,320,1234,320C1165.7,320,1097,320,1029,320C960,320,891,320,823,320C754.3,320,686,320,617,320C548.6,320,480,320,411,320C342.9,320,274,320,206,320C137.1,320,69,320,34,320L0,320Z"></path></svg>
</section>
<!-- akhir about -->
<!-- sosmed -->
<section id="sosmed">
<div class="container">
<div class="row text-center mb-3">
<div class="col">
<h2> Social Media</h2>
</div>
</div>
<div class="row">
<div class="col-md-6 mb-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">Instagram</h5>
<p class="card-text">Follow instagram saya nanti saya follback kok!!.</p>
<a href="https://www.instagram.com/ajinuraji09" class="btn btn-primary"><i class="bi bi-instagram"></i> Follow</a>
</div>
</div>
</div>
<div class="col-md-6 mb-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">Facebook</h5>
<p class="card-text">Mari kita berteman di Facebook!!.</p>
<a href="https://www.facebook.com/ajinur.aji.58" class="btn btn-primary"><i class="bi bi-facebook"></i> Berteman</a>
</div>
</div>
</div>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#ffffff" fill-opacity="1" d="M0,96L48,128C96,160,192,224,288,213.3C384,203,480,117,576,74.7C672,32,768,32,864,69.3C960,107,1056,181,1152,208C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>
</section>
<!-- akhir sosmed -->
<!-- contact -->
<section id="contact">
<div class="container">
<div class="row text-center mb-3">
<div class="col">
<h2>Contact Me</h2>
<p>Jika ada bug atau kesalahan silahkan isi form di bawah ini!!!</p>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-8">
<div class="alert alert-primary alert-dismissible fade show d-none" role="alert">
<strong>Terimakasih!</strong> Pesan/Saran anda telah kami terima.
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<form name="pesan/saran-portofolio">
<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" required/>
</div>
<div class="mb-3">
<label for="email" class="form-label"/>Email</label>
<input type="email" class="form-control" id="email" aria-describedby="email" name="email" required/>
</div>
<div class="mb-3">
<label for="pesan" class="form-label">Pesan/Saran</label>
<textarea class="form-control" id="pesan" rows="3" name="pesan" required></textarea>
</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,224L80,218.7C160,213,320,203,480,213.3C640,224,800,256,960,250.7C1120,245,1280,203,1360,181.3L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>
</section>
<!-- akhir contact -->
<!-- footter -->
<footer class="bg-primary text-center text-white">
Created By <b>AJI NUR AJI</b>
</footer>
<!-- akhir footer -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script>
const scriptURL ='https://script.google.com/macros/s/AKfycbzZeAGwyu9pOl6SZEQvcnDoM7t8eJWEcZwFxj0o70z1222KJjcNh9L4x-8Mh_VeqtNs/exec';
const form = document.forms['pesan/saran-portofolio']
const btnKirim = document.querySelector('.btn-kirim')
const btnLoading = document.querySelector('.btn-loading')
const Alert = document.querySelector('.alert')
form.addEventListener('submit', e => {
e.preventDefault()
btnLoading.classList.toggle('d-none')
btnKirim.classList.toggle('d-none')
fetch(scriptURL, { method: 'POST', body: new FormData(form) })
.then(response => {
btnLoading.classList.toggle('d-none')
btnKirim.classList.toggle('d-none')
Alert.classList.toggle('d-none')
form.reset()
console.log('Success!', response)
})
.catch(error => console.error('Error!', error.message))
})
</script>
</body>
</html>