bean-bliss-caf / index.html
Mikeshu's picture
Create a modern coffee shop website with a cozy hero image, menu board with drinks and pastries, about our story section, location finder, online ordering button, and Instagram gallery showing café atmosphere.
df67a94 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bean Bliss Café</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#ef4444', // red-500
}
}
}
}
</script>
</head>
<body class="bg-gray-50 font-sans">
<!-- Navigation -->
<nav class="bg-white shadow-md sticky top-0 z-50">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<a href="#" class="text-2xl font-bold text-primary">Bean Bliss ☕️</a>
<div class="hidden md:flex space-x-8">
<a href="#menu" class="text-gray-700 hover:text-primary transition">Menu</a>
<a href="#about" class="text-gray-700 hover:text-primary transition">Our Story</a>
<a href="#location" class="text-gray-700 hover:text-primary transition">Find Us</a>
<a href="#gallery" class="text-gray-700 hover:text-primary transition">Gallery</a>
</div>
<button class="md:hidden focus:outline-none" id="menu-toggle">
<i data-feather="menu" class="text-gray-700"></i>
</button>
</div>
<!-- Mobile Menu -->
<div class="md:hidden hidden bg-white py-2 px-4 shadow-md" id="mobile-menu">
<a href="#menu" class="block py-2 text-gray-700 hover:text-primary transition">Menu</a>
<a href="#about" class="block py-2 text-gray-700 hover:text-primary transition">Our Story</a>
<a href="#location" class="block py-2 text-gray-700 hover:text-primary transition">Find Us</a>
<a href="#gallery" class="block py-2 text-gray-700 hover:text-primary transition">Gallery</a>
</div>
</nav>
<!-- Hero Section -->
<header class="relative h-screen flex items-center justify-center bg-gray-900 overflow-hidden">
<img src="http://static.photos/food/1200x630/42" alt="Coffee shop interior" class="absolute w-full h-full object-cover opacity-70">
<div class="relative z-10 text-center px-4">
<h1 class="text-4xl md:text-6xl font-bold text-white mb-4">Welcome to Bean Bliss</h1>
<p class="text-xl md:text-2xl text-white mb-8">Where every sip tells a story</p>
<a href="#menu" class="bg-primary hover:bg-red-600 text-white font-bold py-3 px-8 rounded-full transition shadow-lg">Explore Our Menu</a>
</div>
</header>
<!-- Menu Section -->
<section id="menu" class="py-16 px-4">
<div class="container mx-auto">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Our Menu</h2>
<!-- Coffee Menu -->
<div class="mb-16">
<h3 class="text-2xl font-semibold mb-6 text-primary flex items-center">
<i data-feather="coffee" class="mr-2"></i> Coffee & Drinks
</h3>
<div class="grid md:grid-cols-2 gap-8">
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div class="flex justify-between items-start">
<h4 class="font-bold text-lg">Espresso</h4>
<span class="font-bold text-primary">$3.50</span>
</div>
<p class="text-gray-600 mt-2">Rich and bold single shot of espresso</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div class="flex justify-between items-start">
<h4 class="font-bold text-lg">Cappuccino</h4>
<span class="font-bold text-primary">$4.50</span>
</div>
<p class="text-gray-600 mt-2">Espresso with steamed milk and foam</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div class="flex justify-between items-start">
<h4 class="font-bold text-lg">Latte</h4>
<span class="font-bold text-primary">$5.00</span>
</div>
<p class="text-gray-600 mt-2">Espresso with a lot of steamed milk</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div class="flex justify-between items-start">
<h4 class="font-bold text-lg">Cold Brew</h4>
<span class="font-bold text-primary">$4.00</span>
</div>
<p class="text-gray-600 mt-2">Slow-steeped cold coffee concentrate</p>
</div>
</div>
</div>
<!-- Pastry Menu -->
<div>
<h3 class="text-2xl font-semibold mb-6 text-primary flex items-center">
<i data-feather="pie-chart" class="mr-2"></i> Pastries & Treats
</h3>
<div class="grid md:grid-cols-2 gap-8">
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div class="flex justify-between items-start">
<h4 class="font-bold text-lg">Croissant</h4>
<span class="font-bold text-primary">$3.50</span>
</div>
<p class="text-gray-600 mt-2">Freshly baked buttery croissant</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div class="flex justify-between items-start">
<h4 class="font-bold text-lg">Blueberry Muffin</h4>
<span class="font-bold text-primary">$3.75</span>
</div>
<p class="text-gray-600 mt-2">Moist muffin with fresh blueberries</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div class="flex justify-between items-start">
<h4 class="font-bold text-lg">Almond Croissant</h4>
<span class="font-bold text-primary">$4.50</span>
</div>
<p class="text-gray-600 mt-2">Croissant filled with almond cream</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div class="flex justify-between items-start">
<h4 class="font-bold text-lg">Cinnamon Roll</h4>
<span class="font-bold text-primary">$4.00</span>
</div>
<p class="text-gray-600 mt-2">Sweet dough with cinnamon sugar</p>
</div>
</div>
</div>
<div class="mt-12 text-center">
<a href="#" class="bg-primary hover:bg-red-600 text-white font-bold py-3 px-8 rounded-full transition shadow-lg inline-flex items-center">
<i data-feather="shopping-bag" class="mr-2"></i> Order Online
</a>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-16 px-4 bg-gray-100">
<div class="container mx-auto">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
<img src="http://static.photos/people/640x360/5" alt="Cafe owners" class="rounded-lg shadow-lg">
</div>
<div class="md:w-1/2">
<h2 class="text-3xl font-bold mb-6 text-gray-800">Our Story</h2>
<p class="text-gray-600 mb-4">Founded in 2015 by two coffee enthusiasts, Bean Bliss was born from a shared passion for quality coffee and community.</p>
<p class="text-gray-600 mb-4">We source our beans directly from small farms around the world, ensuring fair trade and exceptional flavor in every cup.</p>
<p class="text-gray-600">Our cozy space was designed to be your home away from home - whether you're looking for a quiet place to work or a spot to catch up with friends.</p>
<div class="mt-6 flex items-center">
<i data-feather="award" class="text-primary mr-2"></i>
<span class="text-gray-700 font-medium">Locally voted "Best Coffee Shop" 2020-2023</span>
</div>
</div>
</div>
</div>
</section>
<!-- Location Section -->
<section id="location" class="py-16 px-4">
<div class="container mx-auto">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Find Us</h2>
<div class="flex flex-col md:flex-row gap-8">
<div class="md:w-1/2 bg-white p-6 rounded-lg shadow-md">
<h3 class="text-2xl font-semibold mb-4 text-primary">Visit Our Café</h3>
<div class="mb-4">
<div class="flex items-start mb-2">
<i data-feather="map-pin" class="text-primary mr-2 mt-1"></i>
<div>
<p class="font-medium">123 Coffee Lane</p>
<p class="text-gray-600">Downtown, CA 12345</p>
</div>
</div>
<div class="flex items-start mb-2">
<i data-feather="clock" class="text-primary mr-2 mt-1"></i>
<div>
<p class="font-medium">Hours:</p>
<p class="text-gray-600">Mon-Fri: 7am - 7pm</p>
<p class="text-gray-600">Sat-Sun: 8am - 6pm</p>
</div>
</div>
<div class="flex items-start">
<i data-feather="phone" class="text-primary mr-2 mt-1"></i>
<div>
<p class="font-medium">(123) 456-7890</p>
</div>
</div>
</div>
<a href="#" class="inline-block bg-primary hover:bg-red-600 text-white font-bold py-2 px-6 rounded-full transition shadow">
Get Directions
</a>
</div>
<div class="md:w-1/2 h-64 md:h-auto bg-gray-200 rounded-lg overflow-hidden">
<!-- Map placeholder -->
<div class="w-full h-full flex items-center justify-center bg-gray-300">
<i data-feather="map" class="text-gray-500 w-16 h-16"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Gallery Section -->
<section id="gallery" class="py-16 px-4 bg-gray-100">
<div class="container mx-auto">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">#BeanBlissMoments</h2>
<p class="text-center text-gray-600 max-w-2xl mx-auto mb-8">Follow us on Instagram @beanblisscafe for daily updates and more café moments</p>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
<div class="aspect-square overflow-hidden rounded-lg shadow-md hover:shadow-lg transition">
<img src="http://static.photos/food/640x360/1" alt="Cafe atmosphere" class="w-full h-full object-cover hover:scale-105 transition">
</div>
<div class="aspect-square overflow-hidden rounded-lg shadow-md hover:shadow-lg transition">
<img src="http://static.photos/food/640x360/2" alt="Coffee art" class="w-full h-full object-cover hover:scale-105 transition">
</div>
<div class="aspect-square overflow-hidden rounded-lg shadow-md hover:shadow-lg transition">
<img src="http://static.photos/food/640x360/3" alt="Pastry display" class="w-full h-full object-cover hover:scale-105 transition">
</div>
<div class="aspect-square overflow-hidden rounded-lg shadow-md hover:shadow-lg transition">
<img src="http://static.photos/food/640x360/4" alt="Cafe seating" class="w-full h-full object-cover hover:scale-105 transition">
</div>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-12 px-4 bg-primary text-white">
<div class="container mx-auto max-w-2xl text-center">
<h3 class="text-2xl font-bold mb-4">Join Our Coffee Club</h3>
<p class="mb-6">Sign up for our newsletter and receive exclusive offers, new menu announcements, and more!</p>
<form class="flex flex-col sm:flex-row gap-2 max-w-md mx-auto">
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-2 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-white">
<button type="submit" class="bg-white text-primary font-bold px-6 py-2 rounded-full hover:bg-gray-100 transition">Subscribe</button>
</form>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-8 px-4">
<div class="container mx-auto">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-6 md:mb-0">
<h3 class="text-2xl font-bold text-primary">Bean Bliss ☕️</h3>
<p class="text-gray-400 mt-2">Crafting exceptional coffee experiences since 2015</p>
</div>
<div class="flex space-x-6">
<a href="#" class="hover:text-primary transition">
<i data-feather="instagram"></i>
</a>
<a href="#" class="hover:text-primary transition">
<i data-feather="facebook"></i>
</a>
<a href="#" class="hover:text-primary transition">
<i data-feather="twitter"></i>
</a>
</div>
</div>
<div class="mt-8 pt-6 border-t border-gray-800 text-center text-gray-400">
<p>&copy; 2023 Bean Bliss Café. All rights reserved.</p>
</div>
</div>
</footer>
<script src="script.js"></script>
<script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>