-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (53 loc) · 2.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/css2?family=Caveat&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap" rel="stylesheet">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hobby Amp</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.4.0/dist/confetti.browser.min.js"></script>
<style>
body {
font-family: 'Roboto', sans-serif;
background-color: #f7f3dc;
}
.caveat-font {
font-family: 'Caveat', cursive;
}
.comfortaa-font {
font-family: 'Comfortaa', sans-serif;
}
</style>
</head>
<body>
<!-- Header -->
<div class="text-center pt-8">
<h1 class="text-4xl font-bold caveat-font text-gray-800">Hobby Amp</h1>
</div>
<!-- Main Content -->
<main class="container mx-auto px-4 py-16 flex flex-col md:flex-row items-center">
<div class="w-full md:w-1/2 text-center md:text-left">
<h2 class="text-3xl comfortaa-font font-bold text-gray-800 mb-4">Hi Phylis!</h2>
<p class="text-gray-600 comfortaa-font mb-8">Discover where you’ll be dining at today...</p>
<div class="flex justify-center md:justify-start">
<button id="restaurant-btn" class="bg-[#9e5a0d] text-white py-3 px-6 comfortaa-font rounded-md shadow-md hover:bg-[#a29d82]">Restaurant</button>
<button id="cafe-btn" class="bg-[#a29d82] text-white py-3 px-6 comfortaa-font rounded-md hover:bg-[#9e5a0d] ml-4">Cafe</button>
</div>
<div class="animate-bounce mt-14 hidden md:block">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-yellow-800 transform rotate-90 animate-bounce" style="margin-left:130px" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 14l-7 7m0 0l-7-7m7 7V3"></path>
</svg>
</div>
<div id="result" class="mt-8 text-center md:text-left"></div>
<div id="confetti" class="mt-8 text-center md:text-left"></div>
</div>
<div class="w-full md:w-1/2 mt-8 md:mt-0 flex justify-center">
<img src="assets/left.jpg" alt="Coffee" class="w-[300px] h-[300px] md:w-[500px] md:h-[500px] rounded-lg shadow-2xl">
</div>
</main>
<!-- Main JavaScript -->
<script src="js/main.js"></script>
</body>
</html>