dfbdokk commited on
Commit
28deb8e
·
verified ·
1 Parent(s): 9ab9aa3

undefined - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +475 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Bakery
3
- emoji: 📉
4
  colorFrom: red
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: bakery
3
+ emoji: 🐳
4
  colorFrom: red
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,475 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Artisan Bakery</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Open+Sans:wght@300;400;500&display=swap');
11
+
12
+ body {
13
+ font-family: 'Open Sans', sans-serif;
14
+ }
15
+
16
+ h1, h2, h3, h4 {
17
+ font-family: 'Lora', serif;
18
+ }
19
+
20
+ .hero-image {
21
+ background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1608190003443-83f8141e0416?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
22
+ background-size: cover;
23
+ background-position: center;
24
+ height: 70vh;
25
+ }
26
+
27
+ .menu-item:hover .menu-item-overlay {
28
+ opacity: 1;
29
+ }
30
+
31
+ .menu-item-overlay {
32
+ transition: opacity 0.3s ease;
33
+ }
34
+
35
+ .mobile-menu {
36
+ transition: all 0.3s ease;
37
+ }
38
+ </style>
39
+ </head>
40
+ <body class="bg-[#F5E8C7] text-[#8B4513]">
41
+ <!-- Navigation -->
42
+ <nav class="bg-[#2F4F4F] text-white shadow-lg sticky top-0 z-50">
43
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
44
+ <div class="flex items-center space-x-2">
45
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" fill="none" viewBox="0 0 24 24" stroke="currentColor">
46
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2" />
47
+ </svg>
48
+ <span class="text-xl font-bold">Artisan Bakery</span>
49
+ </div>
50
+
51
+ <div class="hidden md:flex space-x-6">
52
+ <a href="#home" class="nav-link active">Home</a>
53
+ <a href="#menu" class="nav-link">Menu</a>
54
+ <a href="#contact" class="nav-link">Contact</a>
55
+ </div>
56
+
57
+ <button id="mobile-menu-button" class="md:hidden text-white focus:outline-none">
58
+ <i class="fas fa-bars text-2xl"></i>
59
+ </button>
60
+ </div>
61
+
62
+ <!-- Mobile Menu -->
63
+ <div id="mobile-menu" class="mobile-menu hidden md:hidden bg-[#2F4F4F] w-full px-4 pb-4">
64
+ <a href="#home" class="block py-2 text-white hover:bg-[#3a5f5f] px-2 rounded">Home</a>
65
+ <a href="#menu" class="block py-2 text-white hover:bg-[#3a5f5f] px-2 rounded">Menu</a>
66
+ <a href="#contact" class="block py-2 text-white hover:bg-[#3a5f5f] px-2 rounded">Contact</a>
67
+ </div>
68
+ </nav>
69
+
70
+ <!-- Page Content -->
71
+ <div id="content">
72
+ <!-- Home Section -->
73
+ <section id="home" class="page-section">
74
+ <div class="hero-image flex items-center justify-center">
75
+ <div class="text-center px-4">
76
+ <h1 class="text-4xl md:text-6xl font-bold text-white mb-4">Welcome to Artisan Bakery</h1>
77
+ <p class="text-xl md:text-2xl text-white mb-8">Handcrafted with love since 1995</p>
78
+ <a href="#menu" class="bg-[#8B4513] hover:bg-[#6d3710] text-white font-bold py-3 px-6 rounded-full transition duration-300">View Our Menu</a>
79
+ </div>
80
+ </div>
81
+
82
+ <div class="container mx-auto px-4 py-16">
83
+ <div class="text-center mb-12">
84
+ <h2 class="text-3xl font-bold mb-4">Our Story</h2>
85
+ <div class="w-24 h-1 bg-[#2F4F4F] mx-auto mb-6"></div>
86
+ <p class="max-w-3xl mx-auto text-lg">
87
+ Founded in a small kitchen with just an oven and a dream, Artisan Bakery has grown into a beloved neighborhood institution.
88
+ We use only the finest ingredients and traditional techniques to bring you breads and pastries that taste like they came
89
+ straight from a French countryside bakery.
90
+ </p>
91
+ </div>
92
+
93
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
94
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
95
+ <div class="text-[#2F4F4F] text-4xl mb-4">
96
+ <i class="fas fa-bread-slice"></i>
97
+ </div>
98
+ <h3 class="text-xl font-bold mb-2">Fresh Daily</h3>
99
+ <p>Our products are baked fresh every morning to ensure maximum flavor and quality.</p>
100
+ </div>
101
+
102
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
103
+ <div class="text-[#2F4F4F] text-4xl mb-4">
104
+ <i class="fas fa-seedling"></i>
105
+ </div>
106
+ <h3 class="text-xl font-bold mb-2">Local Ingredients</h3>
107
+ <p>We source our flour, dairy, and other ingredients from local farmers and producers.</p>
108
+ </div>
109
+
110
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
111
+ <div class="text-[#2F4F4F] text-4xl mb-4">
112
+ <i class="fas fa-heart"></i>
113
+ </div>
114
+ <h3 class="text-xl font-bold mb-2">Made with Love</h3>
115
+ <p>Every item is handcrafted by our team of passionate bakers who truly care about their craft.</p>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </section>
120
+
121
+ <!-- Menu Section -->
122
+ <section id="menu" class="page-section bg-white py-16 hidden">
123
+ <div class="container mx-auto px-4">
124
+ <div class="text-center mb-12">
125
+ <h2 class="text-3xl font-bold mb-4">Our Menu</h2>
126
+ <div class="w-24 h-1 bg-[#2F4F4F] mx-auto mb-6"></div>
127
+ <p class="max-w-3xl mx-auto text-lg">
128
+ From crusty sourdough to delicate pastries, we offer a wide variety of baked goods to satisfy every craving.
129
+ All items are available for takeout or can be enjoyed in our cozy café.
130
+ </p>
131
+ </div>
132
+
133
+ <div class="mb-12">
134
+ <h3 class="text-2xl font-bold mb-6 text-center">Breads</h3>
135
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
136
+ <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
137
+ <img src="https://images.unsplash.com/photo-1549931319-a545dcf3bc73?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"
138
+ alt="Sourdough Bread" class="w-full h-64 object-cover">
139
+ <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
140
+ <div class="text-white text-center p-4">
141
+ <h4 class="text-xl font-bold">Sourdough</h4>
142
+ <p class="mb-2">$6.50</p>
143
+ <p>Our signature bread with a perfect crust and tangy flavor</p>
144
+ </div>
145
+ </div>
146
+ </div>
147
+
148
+ <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
149
+ <img src="https://images.unsplash.com/photo-1608190003443-83f8141e0416?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"
150
+ alt="Baguette" class="w-full h-64 object-cover">
151
+ <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
152
+ <div class="text-white text-center p-4">
153
+ <h4 class="text-xl font-bold">French Baguette</h4>
154
+ <p class="mb-2">$5.00</p>
155
+ <p>Crispy crust with a light, airy interior</p>
156
+ </div>
157
+ </div>
158
+ </div>
159
+
160
+ <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
161
+ <img src="https://images.unsplash.com/photo-1509440159596-0249088772ff?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"
162
+ alt="Whole Wheat Bread" class="w-full h-64 object-cover">
163
+ <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
164
+ <div class="text-white text-center p-4">
165
+ <h4 class="text-xl font-bold">Whole Wheat</h4>
166
+ <p class="mb-2">$7.00</p>
167
+ <p>Nutritious and hearty with a rich, nutty flavor</p>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </div>
173
+
174
+ <div class="mb-12">
175
+ <h3 class="text-2xl font-bold mb-6 text-center">Pastries</h3>
176
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
177
+ <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
178
+ <img src="https://images.unsplash.com/photo-1560180474-e8563e4fd1a4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"
179
+ alt="Croissant" class="w-full h-64 object-cover">
180
+ <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
181
+ <div class="text-white text-center p-4">
182
+ <h4 class="text-xl font-bold">Butter Croissant</h4>
183
+ <p class="mb-2">$3.50</p>
184
+ <p>Flaky, buttery layers that melt in your mouth</p>
185
+ </div>
186
+ </div>
187
+ </div>
188
+
189
+ <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
190
+ <img src="https://images.unsplash.com/photo-1558315956-d3a3ed47e965?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"
191
+ alt="Cinnamon Roll" class="w-full h-64 object-cover">
192
+ <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
193
+ <div class="text-white text-center p-4">
194
+ <h4 class="text-xl font-bold">Cinnamon Roll</h4>
195
+ <p class="mb-2">$4.00</p>
196
+ <p>Sweet, gooey, and topped with cream cheese frosting</p>
197
+ </div>
198
+ </div>
199
+ </div>
200
+
201
+ <div class="menu-item relative overflow-hidden rounded-lg shadow-md">
202
+ <img src="https://images.unsplash.com/photo-1627834377411-8da5f4f09de8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"
203
+ alt="Chocolate Eclair" class="w-full h-64 object-cover">
204
+ <div class="menu-item-overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0">
205
+ <div class="text-white text-center p-4">
206
+ <h4 class="text-xl font-bold">Chocolate Éclair</h4>
207
+ <p class="mb-2">$4.50</p>
208
+ <p>Light choux pastry filled with vanilla cream and topped with chocolate</p>
209
+ </div>
210
+ </div>
211
+ </div>
212
+ </div>
213
+ </div>
214
+
215
+ <div class="text-center">
216
+ <p class="text-lg mb-4">We also offer custom cakes and catering for special occasions!</p>
217
+ <a href="#contact" class="inline-block bg-[#2F4F4F] hover:bg-[#1e3e3e] text-white font-bold py-3 px-6 rounded-full transition duration-300">
218
+ Contact Us for Special Orders
219
+ </a>
220
+ </div>
221
+ </div>
222
+ </section>
223
+
224
+ <!-- Contact Section -->
225
+ <section id="contact" class="page-section bg-[#F5E8C7] py-16 hidden">
226
+ <div class="container mx-auto px-4">
227
+ <div class="text-center mb-12">
228
+ <h2 class="text-3xl font-bold mb-4">Contact Us</h2>
229
+ <div class="w-24 h-1 bg-[#2F4F4F] mx-auto mb-6"></div>
230
+ <p class="max-w-3xl mx-auto text-lg">
231
+ Have questions or want to place an order? We'd love to hear from you! Visit us during business hours or
232
+ send us a message using the form below.
233
+ </p>
234
+ </div>
235
+
236
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-12">
237
+ <div>
238
+ <h3 class="text-2xl font-bold mb-6">Get in Touch</h3>
239
+
240
+ <div class="mb-8">
241
+ <div class="flex items-start mb-4">
242
+ <div class="text-[#2F4F4F] text-xl mr-4 mt-1">
243
+ <i class="fas fa-map-marker-alt"></i>
244
+ </div>
245
+ <div>
246
+ <h4 class="font-bold">Address</h4>
247
+ <p>123 Baker Street<br>Flourville, CA 90210</p>
248
+ </div>
249
+ </div>
250
+
251
+ <div class="flex items-start mb-4">
252
+ <div class="text-[#2F4F4F] text-xl mr-4 mt-1">
253
+ <i class="fas fa-phone-alt"></i>
254
+ </div>
255
+ <div>
256
+ <h4 class="font-bold">Phone</h4>
257
+ <p>(555) 123-4567</p>
258
+ </div>
259
+ </div>
260
+
261
+ <div class="flex items-start mb-4">
262
+ <div class="text-[#2F4F4F] text-xl mr-4 mt-1">
263
+ <i class="fas fa-envelope"></i>
264
+ </div>
265
+ <div>
266
+ <h4 class="font-bold">Email</h4>
267
+ <p>hello@artisanbakery.com</p>
268
+ </div>
269
+ </div>
270
+
271
+ <div class="flex items-start">
272
+ <div class="text-[#2F4F4F] text-xl mr-4 mt-1">
273
+ <i class="fas fa-clock"></i>
274
+ </div>
275
+ <div>
276
+ <h4 class="font-bold">Hours</h4>
277
+ <p>Monday - Friday: 7am - 6pm<br>
278
+ Saturday: 8am - 5pm<br>
279
+ Sunday: 8am - 3pm</p>
280
+ </div>
281
+ </div>
282
+ </div>
283
+
284
+ <div>
285
+ <h4 class="font-bold mb-4">Follow Us</h4>
286
+ <div class="flex space-x-4">
287
+ <a href="#" class="text-[#2F4F4F] hover:text-[#1e3e3e] text-2xl">
288
+ <i class="fab fa-facebook"></i>
289
+ </a>
290
+ <a href="#" class="text-[#2F4F4F] hover:text-[#1e3e3e] text-2xl">
291
+ <i class="fab fa-instagram"></i>
292
+ </a>
293
+ <a href="#" class="text-[#2F4F4F] hover:text-[#1e3e3e] text-2xl">
294
+ <i class="fab fa-twitter"></i>
295
+ </a>
296
+ </div>
297
+ </div>
298
+ </div>
299
+
300
+ <div>
301
+ <h3 class="text-2xl font-bold mb-6">Send Us a Message</h3>
302
+ <form id="contact-form" class="space-y-4">
303
+ <div>
304
+ <label for="name" class="block font-medium mb-1">Name</label>
305
+ <input type="text" id="name" name="name" required
306
+ class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]">
307
+ </div>
308
+
309
+ <div>
310
+ <label for="email" class="block font-medium mb-1">Email</label>
311
+ <input type="email" id="email" name="email" required
312
+ class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]">
313
+ </div>
314
+
315
+ <div>
316
+ <label for="phone" class="block font-medium mb-1">Phone (optional)</label>
317
+ <input type="tel" id="phone" name="phone"
318
+ class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]">
319
+ </div>
320
+
321
+ <div>
322
+ <label for="subject" class="block font-medium mb-1">Subject</label>
323
+ <select id="subject" name="subject"
324
+ class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]">
325
+ <option value="general">General Inquiry</option>
326
+ <option value="order">Order Inquiry</option>
327
+ <option value="catering">Catering Request</option>
328
+ <option value="feedback">Feedback</option>
329
+ </select>
330
+ </div>
331
+
332
+ <div>
333
+ <label for="message" class="block font-medium mb-1">Message</label>
334
+ <textarea id="message" name="message" rows="5" required
335
+ class="w-full px-4 py-2 border border-[#8B4513] rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2F4F4F]"></textarea>
336
+ </div>
337
+
338
+ <button type="submit"
339
+ class="bg-[#2F4F4F] hover:bg-[#1e3e3e] text-white font-bold py-3 px-6 rounded-full transition duration-300 w-full">
340
+ Send Message
341
+ </button>
342
+ </form>
343
+
344
+ <div id="form-success" class="hidden mt-4 p-4 bg-green-100 text-green-800 rounded-lg">
345
+ Thank you for your message! We'll get back to you soon.
346
+ </div>
347
+ </div>
348
+ </div>
349
+ </div>
350
+ </section>
351
+ </div>
352
+
353
+ <!-- Footer -->
354
+ <footer class="bg-[#2F4F4F] text-white py-8">
355
+ <div class="container mx-auto px-4">
356
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
357
+ <div>
358
+ <h3 class="text-xl font-bold mb-4">Artisan Bakery</h3>
359
+ <p>Handcrafted baked goods made with love and the finest ingredients since 1995.</p>
360
+ </div>
361
+
362
+ <div>
363
+ <h3 class="text-xl font-bold mb-4">Quick Links</h3>
364
+ <ul class="space-y-2">
365
+ <li><a href="#home" class="hover:text-[#F5E8C7]">Home</a></li>
366
+ <li><a href="#menu" class="hover:text-[#F5E8C7]">Menu</a></li>
367
+ <li><a href="#contact" class="hover:text-[#F5E8C7]">Contact</a></li>
368
+ </ul>
369
+ </div>
370
+
371
+ <div>
372
+ <h3 class="text-xl font-bold mb-4">Newsletter</h3>
373
+ <p>Subscribe to receive updates on specials and events.</p>
374
+ <form class="mt-4 flex">
375
+ <input type="email" placeholder="Your email"
376
+ class="px-4 py-2 rounded-l-lg focus:outline-none text-gray-800 w-full">
377
+ <button type="submit"
378
+ class="bg-[#8B4513] hover:bg-[#6d3710] px-4 py-2 rounded-r-lg">
379
+ <i class="fas fa-paper-plane"></i>
380
+ </button>
381
+ </form>
382
+ </div>
383
+ </div>
384
+
385
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center">
386
+ <p>&copy; 2023 Artisan Bakery. All rights reserved.</p>
387
+ </div>
388
+ </div>
389
+ </footer>
390
+
391
+ <script>
392
+ // Mobile menu toggle
393
+ document.getElementById('mobile-menu-button').addEventListener('click', function() {
394
+ const menu = document.getElementById('mobile-menu');
395
+ menu.classList.toggle('hidden');
396
+ });
397
+
398
+ // Simple page routing
399
+ document.querySelectorAll('.nav-link').forEach(link => {
400
+ link.addEventListener('click', function(e) {
401
+ e.preventDefault();
402
+ const targetId = this.getAttribute('href').substring(1);
403
+ showPage(targetId);
404
+
405
+ // Update active nav link
406
+ document.querySelectorAll('.nav-link').forEach(navLink => {
407
+ navLink.classList.remove('active');
408
+ });
409
+ this.classList.add('active');
410
+
411
+ // Close mobile menu if open
412
+ document.getElementById('mobile-menu').classList.add('hidden');
413
+ });
414
+ });
415
+
416
+ function showPage(pageId) {
417
+ // Hide all pages
418
+ document.querySelectorAll('.page-section').forEach(section => {
419
+ section.classList.add('hidden');
420
+ });
421
+
422
+ // Show selected page
423
+ document.getElementById(pageId).classList.remove('hidden');
424
+
425
+ // Scroll to top
426
+ window.scrollTo(0, 0);
427
+ }
428
+
429
+ // Show home page by default
430
+ showPage('home');
431
+
432
+ // Form submission
433
+ document.getElementById('contact-form').addEventListener('submit', function(e) {
434
+ e.preventDefault();
435
+
436
+ // In a real application, you would send the form data to a server here
437
+ // For this demo, we'll just show a success message
438
+
439
+ // Reset form
440
+ this.reset();
441
+
442
+ // Show success message
443
+ const successMessage = document.getElementById('form-success');
444
+ successMessage.classList.remove('hidden');
445
+
446
+ // Hide success message after 5 seconds
447
+ setTimeout(() => {
448
+ successMessage.classList.add('hidden');
449
+ }, 5000);
450
+ });
451
+
452
+ // Highlight active nav link based on scroll position
453
+ window.addEventListener('scroll', function() {
454
+ const sections = document.querySelectorAll('.page-section');
455
+ let currentSection = '';
456
+
457
+ sections.forEach(section => {
458
+ const sectionTop = section.offsetTop;
459
+ const sectionHeight = section.clientHeight;
460
+
461
+ if (pageYOffset >= (sectionTop - 100)) {
462
+ currentSection = section.getAttribute('id');
463
+ }
464
+ });
465
+
466
+ document.querySelectorAll('.nav-link').forEach(link => {
467
+ link.classList.remove('active');
468
+ if (link.getAttribute('href') === `#${currentSection}`) {
469
+ link.classList.add('active');
470
+ }
471
+ });
472
+ });
473
+ </script>
474
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=dfbdokk/bakery" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
475
+ </html>