-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
268 lines (245 loc) · 12.1 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
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
<!DOCTYPE html>
<html class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="dist/output.css" rel="stylesheet" />
<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;400;500;600;700;800;900&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0"
/>
<link rel="shortcut icon" href="img/icon/kafe-sederhana-logo.ico" type="image/x-icon">
<title>Kafe Sederhana</title>
</head>
<body id="home" class="font-poppins overflow-x-hidden bg-black text-slate-100">
<!-- Navbar -->
<header
class="navigation z-10 fixed w-full flex justify-center px-8 py-5 bg-slate-900 bg-opacity-80 text-slate-100 rounded-t-2xl shadow-[0_-0.5px_5px_2.5px_rgba(0,0,0,0.35)] lg:justify-around lg:rounded-none"
>
<div class="hidden lg:block">
<h2 class="font-bold text-2xl">
Kopi <span class="text-primary-300">Sederhana</span>
</h2>
</div>
<div class="hidden lg:flex items-center justify-center text-slate-100">
<ul class="flex text-lg">
<li class="px-4">
<a href="#home" class="menu-navbar">Home</a>
</li>
<li class="px-4">
<a href="#about" class="menu-navbar">About</a>
</li>
<li class="px-4">
<a href="#menu" class="menu-navbar">Menu</a>
</li>
<li class="px-4">
<a href="#contact" class="menu-navbar">Contact</a>
</li>
</ul>
</div>
<nav class="flex justify-center items-center lg:hidden">
<a href="#home" class="menu-bottom-navbar group">
<ion-icon name="home-outline" class="text-2xl group-hover:text-yellow-400 group-hover:animate-bounce"></ion-icon>
Home
</a>
<a href="#about" class="menu-bottom-navbar group">
<span
class="material-symbols-outlined group-hover:text-yellow-400 group-hover:animate-bounce"
>
info
</span>
About
</a>
<a href="#menu" class="menu-bottom-navbar group">
<span
class="material-symbols-outlined group-hover:text-yellow-400 group-hover:animate-bounce"
>
menu_book
</span>
Menu
</a>
<a href="#contact" class="menu-bottom-navbar group">
<ion-icon name="call-outline" class="text-2xl group-hover:text-yellow-400 group-hover:animate-bounce""></ion-icon>
Contact
</a>
</nav>
</header>
<!-- Navbar -->
<!-- Hero Section -->
<section
class="bg-[url('/img/bg-coffee.png')] min-h-screen bg-no-repeat bg-cover bg-center relative text-slate-100 flex items-center bg-transition"
id="hero"
>
<main class="ml-5 md:w-[65%] md:ml-14 lg:w-1/2 lg:ml-16">
<h1
class="text-5xl md:text-6xl font-bold drop-shadow-[2px_3px_3px_rgba(0,0,0,0.35)]"
>
Nikmati Secangkir Kopi <span class="text-primary-300">Sederhana</span>
</h1>
<p class="mt-6 text-xl font-light">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Illum placeat nulla numquam!
</p>
<button
class="mt-10 bg-primary-300 text-xl py-2 px-10 rounded-lg transition-all duration-300 hover:bg-primary-400 shadow-xl"
>
Pesan !
</button>
</main>
</section>
<!-- Hero Section -->
<!-- About Section -->
<section id="about" class="px-4 py-32">
<div class="w-full p-4">
<div class="flex items-center justify-center">
<h2 class="text-5xl font-bold"><span class="text-primary-300">Tentang</span> Kami</h2>
</div>
</div>
<div class="w-full p-4">
<div class="flex flex-wrap justify-center items-center">
<div class="w-full lg:w-1/2">
<img src="img/kopi.jpg" alt="" class="w-full lg:px-8">
</div>
<div class="w-full lg:w-1/2 lg:pr-8">
<h4 class="my-4 font-bold text-2xl lg:text-3xl">Kenapa Memilih Kopi Kami?</h4>
<p class="mb-4">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni dolorem sequi ipsam aperiam incidunt quis asperiores sint quaerat, corporis natus cum, dicta pariatur id corrupti?</p>
<p class="mb-4">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni dolorem sequi ipsam aperiam incidunt quis asperiores sint quaerat, corporis natus cum, dicta pariatur id corrupti?</p>
</div>
</div>
</div>
</section>
<!-- About Section -->
<!-- Menu Section -->
<section id="menu" class="px-6 pt-12 pb-32">
<div class="w-full p-4">
<div class="flex flex-col justify-center items-center">
<h4 class="text-5xl font-bold"><span class="text-primary-300">Menu</span> Kami</h4>
<p class="text-center mt-4">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Sunt, cupiditate!</p>
</div>
</div>
<div class="w-full p-4">
<div class="flex flex-wrap justify-center items-center">
<div class="w-full flex flex-col justify-center items-center mt-16 md:w-1/2 lg:w-1/3">
<img src="img/menu/spaghetti.jpg" alt="spagetti" class="w-1/2 rounded-full">
<h5 class="text-lg font-bold mt-4">Spaghetti Bolognese</h5>
<p class="font-light">IDR 25K</p>
<p class="font-light text-center">Lorem ipsum dolor sit amet.</p>
</div>
<div class="w-full flex flex-col justify-center items-center mt-16 md:w-1/2 lg:w-1/3">
<img src="img/menu/burger.jpg" alt="Burger" class="w-1/2 rounded-full">
<h5 class="text-lg font-bold mt-4">Burger Double Beef</h5>
<p class="font-light">IDR 27K</p>
<p class="font-light text-center">Lorem ipsum dolor sit amet.</p>
</div>
<div class="w-full flex flex-col justify-center items-center mt-16 md:w-1/2 lg:w-1/3">
<img src="img/menu/nasi-goreng.jpg" alt="Nasi Goreng" class="w-1/2 rounded-full">
<h5 class="text-lg font-bold mt-4">Nasi Goreng Indonesia</h5>
<p class="font-light">IDR 22K</p>
<p class="font-light text-center">Lorem ipsum dolor sit amet.</p>
</div>
<div class="w-full flex flex-col justify-center items-center mt-16 md:w-1/2 lg:w-1/3">
<img src="img/menu/kopi-latte.jpg" alt="kopi-latte" class="w-1/2 rounded-full">
<h5 class="text-lg font-bold mt-4">Kopi Latte</h5>
<p class="font-light">IDR 21K</p>
<p class="font-light text-center">Lorem ipsum dolor sit amet.</p>
</div>
<div class="w-full flex flex-col justify-center items-center mt-16 md:w-1/2 lg:w-1/3">
<img src="img/menu/lemon-tea.jpg" alt="lemon-tea" class="w-1/2 rounded-full">
<h5 class="text-lg font-bold mt-4">Lemon Tea</h5>
<p class="font-light">IDR 20K</p>
<p class="font-light text-center">Lorem ipsum dolor sit amet.</p>
</div>
<div class="w-full flex flex-col justify-center items-center mt-16 md:w-1/2 lg:w-1/3">
<img src="img/menu/alpukat.jpg" alt="avocado juice" class="w-1/2 rounded-full">
<h5 class="text-lg font-bold mt-4">Jus Alpukat</h5>
<p class="font-light">IDR 18K</p>
<p class="font-light text-center">Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
</section>
<!-- Menu Section -->
<!-- Contact Section -->
<section id="contact" class="px-6 pt-12 pb-32
">
<div class="w-full p-4">
<div class="flex flex-col justify-center items-center">
<h4 class="text-5xl font-bold"><span class="text-primary-300">Kontak</span> Kami</h4>
<p class="text-center mt-4">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Sunt, cupiditate!</p>
</div>
</div>
<div class="w-full lg:p-4 flex flex-wrap justify-center items-center">
<div class="w-full pr-4 lg:w-1/2">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d127669.0529396815!2d101.37113538605925!3d0.5137908161266619!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31d5ab80690ee7b1%3A0x94dde92c3823dbe4!2sPekanbaru%2C%20Pekanbaru%20City%2C%20Riau!5e0!3m2!1sen!2sid!4v1680331133940!5m2!1sen!2sid" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade" class="w-full h-[25rem] rounded-lg
"></iframe>
</div>
<div class="w-full lg:px-4 mt-10 lg:w-1/2">
<form class="flex flex-col" autocomplete="off">
<div class="w-full flex bg-slate-700 px-4 py-2 rounded-full bg-opacity-70 my-4">
<label for="nama" class="flex justify-center items-center">
<ion-icon name="person-outline" class="text-lg"></ion-icon>
</label>
<input type="text" name="nama" id="nama" class=" ml-2 w-full bg-transparent outline-0 text-lg" placeholder="Nama" required>
</div>
<div class="w-full flex bg-slate-700 px-4 py-2 rounded-full bg-opacity-70 my-4">
<label for="email" class="flex justify-center items-center">
<ion-icon name="mail-outline" class="text-lg"></ion-icon>
</label>
<input type="email" name="email" id="email" class=" ml-2 w-full bg-transparent outline-0 text-lg active:bg-transparent" placeholder="email">
</div>
<div class="w-full flex bg-slate-700 px-4 py-2 rounded-full bg-opacity-70 my-4">
<label for="hp" class="flex justify-center items-center">
<ion-icon name="call-outline" class="text-lg"></ion-icon>
</label>
<input type="tel" name="hp" id="hp" class=" ml-2 w-full bg-transparent outline-0 text-lg" placeholder="No HP">
</div>
<textarea name="pesan" id="pesan" cols="30" rows="5" class=" bg-slate-700 bg-opacity-70 rounded-xl text-lg p-2 outline-0 my-4" placeholder="Masukan Pesan Anda"></textarea>
<button id="button" class="bg-primary-300 py-2 rounded-full transition-all duration-150 hover:bg-primary-400">Kirim Pesan</button>
</form>
</div>
</div>
</section>
<!-- Contact Section -->
<!-- Footer -->
<footer class="px-4 pt-12 pb-36 bg-primary-300 lg:pb-12">
<div class="flex flex-wrap justify-center items-center">
<div class="w-full flex justify-center items-center">
<a href="#" class="hover:text-slate-900">
<ion-icon name="logo-instagram" class="text-3xl mx-2 "></ion-icon>
</a>
<a href="#" class="hover:text-slate-900">
<ion-icon name="logo-facebook" class="text-3xl mx-2"></ion-icon>
</a>
<a href="#" class="hover:text-slate-900">
<ion-icon name="logo-tiktok" class="text-3xl mx-2"></ion-icon>
</a>
</div>
<div class="mt-4 w-full flex justify-center items-center">
<a href="#home" class="px-4 hover:text-slate-900 text-sm">Home</a>
<a href="#about" class="px-4 hover:text-slate-900 text-sm">About</a>
<a href="#menu" class="px-4 hover:text-slate-900 text-sm">Menu</a>
<a href="#contact" class="px-4 hover:text-slate-900 text-sm">Contact</a>
</div>
<div class="w-full mt-2 flex flex-col justify-center items-center">
<hr class="w-80 text-center">
<p class="text-sm mt-2">Created by <a href="https://el-idrisi.github.io/" class="text-slate-900 font-bold hover:text-slate-800">Muhammad El-Idrisi</a> | © 2023</p>
</div>
</div>
</footer>
<!-- Footer -->
<script
type="module"
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"
></script>
<script
nomodule
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"
></script>
<script src="dist/script.js"></script>
</body>
</html>