-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
194 lines (176 loc) · 9.81 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
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
<!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/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous" />
<!-- My CSS -->
<link rel="stylesheet" href="style.css" />
<title>Portfolio | Zulhamdani</title>
<link rel="shortcut icon" href="./img/icon.png" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap" rel="stylesheet">
</head>
<body id="home">
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark shadow-sm fixed-top" style="background-color: #002844;">
<div class="container">
<a class="navbar-brand" href="#" ><img src="./img/logo.png" style="height: 50px; width: auto; padding: 0px;"/></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" style="color: #E6F4F1;">Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about" style="color: #E6F4F1;">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#projects" style="color: #E6F4F1;">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact" style="color: #E6F4F1;">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Akhir Navbar -->
<!-- Jumbotron-->
<section class="jumbotron text-center">
<img src="./img/f.png" alt="Zulhamdani" class="rounded-circle img-thumbnail" />
<h4 class="display-4" style="color: #E6F4F1;">Hello, I am Zulhamdani. Nice to meet You!</h4>
<h3 class="lead" style="color: #E6F4F1;">Welcome to my tiny portfolio. Kindly to know your opinion.</h3>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#fff" fill-opacity="1" d="M0,160L60,181.3C120,203,240,245,360,234.7C480,224,600,160,720,122.7C840,85,960,75,1080,74.7C1200,75,1320,85,1380,90.7L1440,96L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>
</section>
<!-- Akhir Jumbotron -->
<!-- About -->
<section id="about">
<div class="container">
<div class="row text-center mb-5">
<div class="col">
<h2 style="color: #2A83A4;">About Me</h2>
</div>
</div>
<div class="row justify-content-center fs-6 text-center">
<div class="col-md-4">
<p style="color: #2A83A4;">I am a front-end developer who would like to develope my thinking by programming and developing web. I have a strong will to increase my programming skill and learn something new especially about programming. Beside the front-end-er, I am very interested in graphic design.</p>
</div>
<div class="col-md-4">
<p style="color: #2A83A4;">I aware that i am a beginner in programming but I have a strong will to learn the new technology with everysingle of my bone.</p>
</div>
</div>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#2A83A4" fill-opacity="1" d="M0,320L48,304C96,288,192,256,288,224C384,192,480,160,576,165.3C672,171,768,213,864,224C960,235,1056,213,1152,186.7C1248,160,1344,128,1392,112L1440,96L1440,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 About -->
<!-- Project -->
<section id="projects">
<div class="container">
<div class="row text-center mb-3">
<div class="col">
<h2 style="color: #E6F4F1;">My Projects</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-4 mb-3" style="width: 800px;">
<div class="card">
<img src="./img/govie.png" class="card-img-top" alt="Project-1">
<div class="card-body" style="background-color: #fff;">
<p class="card-text" style="color: #2A83A4;"> <a href="https://go-vie-by-zulhamdani.netlify.app/">GO-VIE </a>is a web for reviewing movie and game which able added and edited by users.</p>
<p style="color: #2A83A4;">Fitur:</p>
<li style="color: #2A83A4;">
Login page
</li>
<li style="color: #2A83A4;">
Register Page
</li>
<li style="color: #2A83A4;">
Add and edit movie/game
</li>
<button class="rep">
<a href="https://github.com/zulhamdani23/sanbercode-final-project">Repository </a>
</button>
</div>
</div>
</div>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="#fff" fill-opacity="1" d="M0,224L48,202.7C96,181,192,139,288,128C384,117,480,139,576,154.7C672,171,768,181,864,186.7C960,192,1056,192,1152,170.7C1248,149,1344,107,1392,85.3L1440,64L1440,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 Project -->
<!-- Contact -->
<section id="contact">
<div class="container">
<div class="row text-center mb-5">
<div class="col text-center">
<h2 style="color: #2A83A4;">Contact Me</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-4">
<div class="alert alert-warning alert-dismissible fade show d-none alert" style="background-color: #2A83A4; color: white;" role="alert">
<strong>Thank You!</strong> Have a good day!
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<form name="submit-to-google-sheet">
<div class="mb-3">
<label for="name" class="form-label" style="color: #2A83A4;">I am</label>
<input type="text" class="form-control" id="name" aria-describedby="name" name="name">
</div>
<div class="mb-3">
<label for="email" class="form-label" style="color: #2A83A4;">My Email</label>
<input type="email" class="form-control" id="email" aria-describedby="email" name="email">
</div>
<div class="mb-3">
<label for="pesan" class="form-label" style="color: #2A83A4;">Message</label>
<textarea class="form-control" name="message" id="pesan" rows="3"></textarea>
</div>
<button type="submit" class="btn-send" style="background-color: #2A83A4; color: white;">Send</button>
<button class="btn d-none btn-loading" 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="#2A83A4" fill-opacity="1" d="M0,192L48,192C96,192,192,192,288,181.3C384,171,480,149,576,160C672,171,768,213,864,213.3C960,213,1056,171,1152,165.3C1248,160,1344,192,1392,208L1440,224L1440,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 Contack -->
<!-- Foter -->
<footer class="text-white text-center pb-2" style="background-color: #002844; padding-top: 15px;">
<p>© 2022 Developed by <a href="https://wwww.github.com/zulhamdani23" class="text-white fw-bold">Zulhamdani</a>
</p>
</footer>
<!-- Akhir Footer -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbyiTvZipI1HN55y8qYCFAvDVsxRrMaFZixqShWAZdqNvhwD_AuVpOFLwnGJi_VAuR-b/exec'
const form = document.forms['submit-to-google-sheet']
const btnSend = document.querySelector(".btn-send")
const btnLoading = document.querySelector(".btn-loading")
const myAlert = document.querySelector(".alert")
form.addEventListener('submit', e => {
e.preventDefault()
btnLoading.classList.toggle('d-none');
btnSend.classList.toggle('d-none');
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => {
btnLoading.classList.toggle('d-none');
btnSend.classList.toggle('d-none');
myAlert.classList.toggle('d-none')
form.reset();
console.log('Success!', response)
})
.catch(error => console.error('Error!', error.message))
})
</script>
</body>
</html>