-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
108 lines (101 loc) · 5.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Discover Homeboy Coffee Shop in Adelaide, serving ethically sourced coffee and fresh bakery treats.">
<title>Homeboy Coffee Shop</title>
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
</head>
<body class="bg-gray-100 font-sans">
<!-- Header -->
<div id="header"></div>
<!-- Main Content -->
<main>
<!-- Hero Section -->
<section class="relative bg-cover bg-center h-screen" style="background-image: url('images/homeboy-hero.jpg');">
<div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center">
<div class="text-center text-white px-6">
<h1 class="text-4xl md:text-5xl font-bold mb-4">Brewing Happiness in Adelaide</h1>
<p class="text-lg md:text-xl mb-6">Serving ethically sourced coffee and local bakery treats.</p>
<div class="space-y-4 sm:space-y-0 sm:space-x-4 flex flex-col sm:flex-row justify-center">
<a href="menu" class="bg-blue-500 text-white px-4 py-2 rounded shadow hover:bg-blue-700">Explore Our Menu</a>
<a href="contact" class="bg-white text-blue-500 px-4 py-2 rounded shadow hover:bg-gray-200">Visit Us Today</a>
<a href="order" class="bg-green-500 text-white px-4 py-2 rounded shadow hover:bg-green-700">Order Online</a>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-12 bg-gray-50">
<div class="container mx-auto text-center px-6">
<h2 class="text-2xl md:text-3xl font-semibold mb-8">Why Choose Homeboy?</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Ethically Sourced -->
<div class="p-4 border rounded-lg shadow hover:shadow-lg hover:bg-gray-200 transition duration-300">
<img src="images/ethically-sourced.png" alt="Ethically Sourced" class="mx-auto mb-4 w-16 h-16">
<h3 class="text-lg md:text-xl font-bold mb-2">Ethically Sourced</h3>
<p>We partner with farmers who care for the planet.</p>
</div>
<!-- Local Bakery -->
<div class="p-4 border rounded-lg shadow hover:shadow-lg hover:bg-gray-200 transition duration-300">
<img src="images/local-bakery.png" alt="Local Bakery" class="mx-auto mb-4 w-16 h-16">
<h3 class="text-lg md:text-xl font-bold mb-2">Local Bakery</h3>
<p>Freshly baked treats daily from local partners.</p>
</div>
<!-- Fast Takeaway -->
<div class="p-4 border rounded-lg shadow hover:shadow-lg hover:bg-gray-200 transition duration-300">
<img src="images/takeaway.png" alt="Fast Takeaway" class="mx-auto mb-4 w-16 h-16">
<h3 class="text-lg md:text-xl font-bold mb-2">Fast Takeaway</h3>
<p>Convenient options for coffee on the go.</p>
</div>
</div>
</div>
</section>
<!-- Menu Highlights Section -->
<section class="py-12 bg-white">
<div class="container mx-auto text-center px-6">
<h2 class="text-2xl md:text-3xl font-semibold mb-8">Customer Favorites</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="p-4 border rounded-lg shadow hover:shadow-lg hover:bg-gray-100 transition duration-300">
<img src="images/latte.jpg" alt="Latte" class="rounded w-32 h-32 mx-auto mb-4 object-cover">
<h3 class="text-lg md:text-xl font-bold mb-2">Signature Latte</h3>
<p>Rich and creamy perfection.</p>
</div>
<div class="p-4 border rounded-lg shadow hover:shadow-lg hover:bg-gray-100 transition duration-300">
<img src="images/scone.jpg" alt="Fresh Scone" class="rounded w-32 h-32 mx-auto mb-4 object-cover">
<h3 class="text-lg md:text-xl font-bold mb-2">Fresh Scone</h3>
<p>Paired perfectly with jam and cream.</p>
</div>
<div class="p-4 border rounded-lg shadow hover:shadow-lg hover:bg-gray-100 transition duration-300">
<img src="images/espresso.png" alt="Espresso" class="rounded w-32 h-32 mx-auto mb-4 object-cover">
<h3 class="text-lg md:text-xl font-bold mb-2">Espresso Shot</h3>
<p>Bold flavors for true coffee lovers.</p>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<div id="footer"></div>
<!-- JavaScript for Reusable Header and Footer -->
<script>
// Load Header
fetch('header')
.then(response => response.text())
.then(data => {
document.getElementById('header').innerHTML = data;
});
// Load Footer
fetch('footer')
.then(response => response.text())
.then(data => {
document.getElementById('footer').innerHTML = data;
});
</script>
<!-- Main Script -->
<script src="js/script.js"></script>
</body>
</html>