-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
247 lines (229 loc) · 14.5 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
<!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">
<title>Coffe Website by Gerald Ndyamukama</title>
<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=Raleway:wght@300;400;500;600&family=Oswald:wght@600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/all.min.css"> <!-- make me happy one day Gerald-->
<link rel="stylesheet" href="css/gerald.css">
<link rel="stylesheet" href="css/my.css">
<!--
-->
</head>
<body>
<!-- Intro -->
<div id="intro" class="parallax-window" data-parallax="scroll" data-image-src="img/Gerald1.jpg">
<nav id="tm-nav" class="fixed w-full">
<div class="tm-container mx-auto px-2 md:py-6 text-right">
<button class="md:hidden py-2 px-2" id="menu-toggle"><i class="fas fa-2x fa-bars tm-text-gold"></i></button>
<ul class="mb-3 md:mb-0 text-2xl font-normal flex justify-end flex-col md:flex-row">
<li class="inline-block mb-4 mx-4"><a href="#intro" class="tm-text-gold py-1 md:py-3 px-4">Intro</a></li>
<li class="inline-block mb-4 mx-4"><a href="#menu" class="tm-text-gold py-1 md:py-3 px-4">Menu</a></li>
<li class="inline-block mb-4 mx-4"><a href="#about" class="tm-text-gold py-1 md:py-3 px-4">About</a></li>
<li class="inline-block mb-4 mx-4"><a href="#contact" class="tm-text-gold py-1 md:py-3 px-4">Contact</a></li>
</ul>
</div>
</nav>
<div class="container mx-auto px-2 tm-intro-width">
<div class="sm:pb-60 sm:pt-48 py-20">
<div class="bg-black bg-opacity-70 p-12 mb-5 text-center">
<h1 class="text-white text-5xl tm-logo-font mb-5">Gerald Coffee </h1>
<p class="tm-text-gold tm-text-2xl">welcome we enjoy and boost energy</p>
</div>
<div class="bg-black bg-opacity-70 p-10 mb-5">
<p class="text-white leading-8 text-sm font-light">
If you have any question, please <a rel="nofollow" href="[email protected]" target="_parent">send us a message</a>. </p>
</div>
<div class="text-center">
<div class="inline-block">
<a href="#menu" class="flex justify-center items-center bg-black bg-opacity-70 py-6 px-8 rounded-lg font-semibold tm-text-2xl tm-text-gold hover:text-gray-200 transition">
<i class="fas fa-coffee mr-3"></i>
<span>Let's explore...</span>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Cafe Menu -->
<div id="menu" class="parallax-window" data-parallax="scroll" data-image-src="img/Gerald2.jpg">
<div class="container mx-auto tm-container py-24 sm:py-48">
<div class="text-center mb-16">
<h2 class="bg-white tm-text-brown py-6 px-12 text-4xl font-medium inline-block rounded-md">Our Cafe Menu</h2>
</div>
<div class="flex flex-col lg:flex-row justify-around items-center">
<div class="flex-1 m-5 rounded-xl px-4 py-6 sm:px-8 sm:py-10 tm-bg-brown tm-item-container">
<div class="flex items-start mb-6 tm-menu-item">
<img src="img/menu-item-1.jpg" alt="Image" class="rounded-md">
<div class="ml-3 sm:ml-6">
<h3 class="text-lg sm:text-xl mb-2 sm:mb-3 tm-text-yellow">Hot Cappuccino</h3>
<div class="text-white text-md sm:text-lg font-light mb-1">S Tsh4000</div>
<div class="text-white text-md sm:text-lg font-light">L Tsh5000</div>
</div>
</div>
<div class="flex items-start mb-6 tm-menu-item">
<img src="img/menu-item-2.jpg" alt="Image" class="rounded-md">
<div class="ml-3 sm:ml-6">
<h3 class="text-lg sm:text-xl mb-2 sm:mb-3 tm-text-yellow">Hot Americano</h3>
<div class="text-white text-md sm:text-lg font-light mb-1">STsh3500</div>
<div class="text-white text-md sm:text-lg font-light">L Tsh4800</div>
</div>
</div>
<div class="flex items-start mb-6 tm-menu-item">
<img src="img/menu-item-3.jpg" alt="Image" class="rounded-md">
<div class="ml-3 sm:ml-6">
<h3 class="text-lg sm:text-xl mb-2 sm:mb-3 tm-text-yellow">Hot Latte </h3>
<div class="text-white text-md sm:text-lg font-light mb-1">M Tsh 5600</div>
<div class="text-white text-md sm:text-lg font-light">L Tsh 6000</div>
</div>
</div>
<div class="flex items-start mb-6 tm-menu-item">
<img src="img/menu-item-4.jpg" alt="Image" class="rounded-md">
<div class="ml-3 sm:ml-6">
<h3 class="text-lg sm:text-xl tm-text-yellow mb-1">Hot Espresso</h3>
<h3 class="text-lg sm:text-xl mb-2 sm:mb-3 tm-text-yellow">Hot Chocolate</h3>
<div class="text-white text-md sm:text-lg font-light">Size M Tsh 4500 . L Tsh 5500</div>
</div>
</div>
</div>
<div class="flex-1 m-5 rounded-xl px-4 py-6 sm:px-8 sm:py-10 tm-bg-brown tm-item-container">
<div class="flex items-start justify-end mb-6 tm-menu-item-2">
<div class="text-right mr-6">
<h3 class="text-lg sm:text-xl mb-2 sm:mb-3 tm-text-yellow">Iced Cappuccino</h3>
<div class="text-white text-md sm:text-lg font-light mb-1">Small Tsh5800</div>
<div class="text-white text-md sm:text-lg font-light">Large Tsh8000</div>
</div>
<img src="img/menu-item-5.jpg" alt="Image" class="rounded-md">
</div>
<div class="flex items-start justify-end mb-6 tm-menu-item-2">
<div class="text-right mr-6">
<h3 class="text-lg sm:text-xl mb-2 sm:mb-3 tm-text-yellow">Iced Americano</h3>
<div class="text-white text-md sm:text-lg font-light mb-1">Small Tsh3400</div>
<div class="text-white text-md sm:text-lg font-light">Large Tsh5000</div>
</div>
<img src="img/menu-item-6.jpg" alt="Image" class="rounded-md">
</div>
<div class="flex items-start justify-end mb-6 tm-menu-item-2">
<div class="text-right mr-6">
<h3 class="text-lg sm:text-xl mb-2 sm:mb-3 tm-text-yellow">Iced Milky Latte</h3>
<div class="text-white text-md sm:text-lg font-light mb-1">Small Tsh5000</div>
<div class="text-white text-md sm:text-lg font-light">Large Tsh7000</div>
</div>
<img src="img/menu-item-7.jpg" alt="Image" class="rounded-md">
</div>
<div class="flex items-start justify-end mb-6 tm-menu-item-2">
<div class="text-right mr-6">
<h3 class="text-lg sm:text-xl tm-text-yellow mb-1">Iced Espresso</h3>
<h3 class="text-lg sm:text-xl mb-2 sm:mb-3 tm-text-yellow">Iced Mocha</h3>
<div class="text-white text-md sm:text-lg font-light">Small Tsh7000 . Large Tsh8500</div>
</div>
<img src="img/menu-item-8.jpg" alt="Image" class="rounded-md">
</div>
</div>
</div>
</div>
</div>
<div id="about" class="parallax-window" data-parallax="scroll" data-image-src="img/Gerald3.jpg">
<div class="container mx-auto tm-container py-24 sm:py-48">
<div class="tm-item-container sm:ml-auto sm:mr-12 mx-auto sm:px-0 px-4">
<div class="bg-white bg-opacity-80 p-12 pb-14 rounded-xl mb-5">
<h2 class="mb-6 tm-text-green text-4xl font-medium">About our cafe</h2>
<p class="mb-6 text-base leading-8">
At Gerald Coffe, we craft every cup with passion and precision. Our premium beans are handpicked from the finest coffee-growing regions and expertly roasted to unlock rich, bold flavors. Whether you’re starting your day or taking a moment to relax, our coffee offers a smooth and satisfying experience that’s perfect for any occasion. Taste the difference with every sip!
</p>
<p class="text-base leading-8">
If you wish to <a rel="nofollow" href="[email protected]" target="_parent">support us</a>,
</p>
</div>
<a href="#contact" class="inline-block tm-bg-green transition text-white text-xl pt-3 pb-4 px-8 rounded-md">
<i class="far fa-comments mr-4"></i>
Contact
</a>
</div>
</div>
</div>
<div id="contact" class="parallax-window relative" data-parallax="scroll" data-image-src="img/Gerald4.jpg">
<div class="container mx-auto tm-container pt-24 pb-48 sm:py-48">
<div class="flex flex-col lg:flex-row justify-around items-center lg:items-stretch">
<div class="flex-1 rounded-xl px-10 py-12 m-5 bg-white bg-opacity-80 tm-item-container">
<h2 class="text-3xl mb-6 tm-text-green">Contact Us</h2>
<p class="mb-6 text-lg leading-8">
</p>
<p class="mb-10 text-lg">
<span class="block mb-2">Tel: <a href="tel:0100200340" class="hover:text-yellow-600 transition">+255 754 318 464</a></span>
<span class="block">Email: <a href="mailto:[email protected]" class="hover:text-yellow-600 transition">[email protected]</a></span>
</p>
<div class="text-center">
<a href="https://www.google.com/maps" class="inline-block text-white text-2xl pl-10 pr-12 py-6 rounded-lg transition tm-bg-green">
<i class="fas fa-map-marked-alt mr-8"></i>
Open Maps
</a>
</div>
</div>
<div class="flex-1 rounded-xl p-12 pb-14 m-5 bg-black bg-opacity-50 tm-item-container">
<form action="" method="POST" class="text-lg">
<input type="text" name="name" class="input w-full bg-black border-b bg-opacity-0 text-white px-0 py-4 mb-4 tm-border-gold" placeholder="Name" required="" />
<input type="email" name="email" class="input w-full bg-black border-b bg-opacity-0 text-white px-0 py-4 mb-4 tm-border-gold" placeholder="Email" required="" />
<textarea rows="6" name="message" class="input w-full bg-black border-b bg-opacity-0 text-white px-0 py-4 mb-4 tm-border-gold" placeholder="Message..." required=""></textarea>
<div class="text-right">
<button type="submit" class="text-white hover:text-yellow-500 transition">Send it</button>
</div>
</form>
</div>
</div>
<footer class="absolute bottom-0 left-0 w-full">
<div class="text-white container mx-auto tm-container p-8 text-lg flex flex-col md:flex-row justify-between">
<span>Copyright 2022 Gerald Coffee. All rights reserved.</span>
<span class="mt-5 md:mt-0">Design: <a href="" target="_parent">Gerald Ndyamukama</a></span>
</div>
</footer>
</div>
</div>
<script src="js/jquery-3.6.0.min.js"></script>
<script src="js/parallax.min.js"></script>
<script src="js/jquery.singlePageNav.min.js"></script>
<script>
function checkAndShowHideMenu() {
if(window.innerWidth < 768) {
$('#tm-nav ul').addClass('hidden');
} else {
$('#tm-nav ul').removeClass('hidden');
}
}
$(function(){
var tmNav = $('#tm-nav');
tmNav.singlePageNav();
checkAndShowHideMenu();
window.addEventListener('resize', checkAndShowHideMenu);
$('#menu-toggle').click(function(){
$('#tm-nav ul').toggleClass('hidden');
});
$('#tm-nav ul li').click(function(){
if(window.innerWidth < 768) {
$('#tm-nav ul').addClass('hidden');
}
});
$(document).scroll(function() {
var distanceFromTop = $(document).scrollTop();
if(distanceFromTop > 100) {
tmNav.addClass('scroll');
} else {
tmNav.removeClass('scroll');
}
});
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
});
</script>
</body>
</html>