forked from PatelHarsh2006/ChaatBazaar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
166 lines (151 loc) · 7.77 KB
/
Copy pathindex.html
File metadata and controls
166 lines (151 loc) · 7.77 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>ChaatBazar 🍴 | Authentic Indian Street Food Delivered Hot</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Header & Navigation -->
<header>
<div class="header-inner container" role="banner">
<a href="#" class="logo" aria-label="ChaatBazar Home">ChaatBazar 🍴</a>
<nav role="navigation" aria-label="Primary Navigation">
<a href="#hero" class="nav-link active" tabindex="0">Home</a>
<div class="dropdown" tabindex="0" aria-haspopup="true" aria-expanded="false">
<a href="#menu" class="dropdown-toggle nav-link">Menu</a>
<div class="dropdown-menu" role="menu" aria-label="Menu Categories">
<a href="#specials" role="menuitem" tabindex="-1" class="menu-filter" data-filter="Specials">Specials</a>
<a href="#menu" role="menuitem" tabindex="-1" class="menu-filter" data-filter="Snacks">Snacks</a>
<a href="#menu" role="menuitem" tabindex="-1" class="menu-filter" data-filter="Chaat">Chaat</a>
<a href="#menu" role="menuitem" tabindex="-1" class="menu-filter" data-filter="Beverages">Beverages</a>
<a href="#menu" role="menuitem" tabindex="-1" class="menu-filter" data-filter="All">All</a>
</div>
</div>
<a href="#about" class="nav-link">About</a>
<a href="#cart-sidebar" class="nav-link" id="cart-open-btn" aria-label="Open Cart">Cart (<span id="cart-count">0</span>)</a>
<div class="search-bar" role="search">
<input type="search" placeholder="Search menu..." aria-label="Search menu" id="search-input" />
<button aria-label="Search" id="search-btn"></button>
</div>
</nav>
</div>
</header>
<!-- Hero Section -->
<section id="hero" class="hero" role="region" aria-label="Hero Section">
<div class="hero-content">
<h1>Authentic Indian Street Food Delivered Hot!</h1>
<p>Delicious Samosa, Kachori, Pani Puri and more, right to your doorstep within 5 km.</p>
<button class="btn-primary" id="order-now-btn" aria-haspopup="true" aria-controls="menu">Order Now</button>
</div>
<div class="hero-image" aria-hidden="true">
<img src="img/chaat.png" alt="Colorful Indian street food platter" />
</div>
</section>
<!-- Specials Section -->
<section id="specials" class="specials" role="region" aria-label="Today's Specials">
<h2 class="section-title">Today's Specials</h2>
<div class="cards" id="specials-cards">
<!-- Special cards will be injected here -->
</div>
</section>
<!-- Menu Section -->
<section id="menu" class="menu" role="region" aria-label="Full Menu">
<h2 class="section-title">Explore Our Menu</h2>
<div class="filter-buttons" role="toolbar" aria-label="Filter menu categories">
<button class="filter-btn active" data-filter="All" aria-pressed="true">All</button>
<button class="filter-btn" data-filter="Snacks" aria-pressed="false">Snacks</button>
<button class="filter-btn" data-filter="Chaat" aria-pressed="false">Chaat</button>
<button class="filter-btn" data-filter="Beverages" aria-pressed="false">Beverages</button>
</div>
<div class="cards" id="menu-cards" aria-live="polite" aria-relevant="additions removals">
<!-- Menu cards injected here -->
</div>
</section>
<!-- About Section -->
<section id="about" class="about" role="region" aria-label="About ChaatBazar">
<div class="container">
<h2>About Us</h2>
<p>At <strong>ChaatBazar</strong>, we bring you the authentic flavors of India's vibrant street food culture, freshly prepared and delivered hot right to your door. Our passion is to share the love of chaat, snacks, and beverages made from time-tested recipes.</p>
<div class="team" aria-label="Meet our team">
<article class="team-member" tabindex="0">
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Priya Sharma - Founder & Head Chef" />
<h4>Priya Sharma</h4>
<p>Founder & Head Chef - Crafting every dish with love and authenticity.</p>
</article>
<article class="team-member" tabindex="0">
<img src="https://randomuser.me/api/portraits/women/45.jpg" alt="Anjali Verma - Customer Support" />
<h4>Anjali Verma</h4>
<p>Customer Support - Always here to assist you with your orders.</p>
</article>
</div>
<!-- Contact Form -->
<h2>Contact Us</h2>
<form class="contact-form" id="contact-form" novalidate aria-label="Contact Form">
<label for="name">Name <span class="required">*</span></label>
<input type="text" id="name" name="name" required aria-required="true" minlength="2" />
<div class="error-msg" id="error-name" aria-live="assertive"></div>
<label for="email">Email <span class="required">*</span></label>
<input type="email" id="email" name="email" required aria-required="true" />
<div class="error-msg" id="error-email" aria-live="assertive"></div>
<label for="message">Message <span class="required">*</span></label>
<textarea id="message" name="message" required aria-required="true" minlength="10"></textarea>
<div class="error-msg" id="error-message" aria-live="assertive"></div>
<div class="form-success-msg" id="form-success" role="alert" aria-live="polite" style="display:none;">
Your message has been sent. We'll get back to you soon.
</div>
<button type="submit" class="btn-submit">Send Message</button>
</form>
</div>
</section>
<!-- Testimonials -->
<section class="testimonials" role="region" aria-label="Customer Testimonials">
<h2 class="section-title">What Our Customers Say</h2>
<div class="testimonial-cards">
<blockquote class="testimonial" tabindex="0">
<p>Crispy, fresh and perfectly spiced samosas delivered hot at my doorstep. Loved the authentic taste!</p>
<cite class="author">- Meera K.</cite>
</blockquote>
<blockquote class="testimonial" tabindex="0">
<p>Pani puri was super fresh and flavorful. Feels like real street food from Delhi streets!</p>
<cite class="author">- Arjun P.</cite>
</blockquote>
<blockquote class="testimonial" tabindex="0">
<p>Fast delivery, hygienic packaging, and amazing taste. Definitely ordering again!</p>
<cite class="author">- Sneha M.</cite>
</blockquote>
</div>
</section>
<!-- Newsletter Signup -->
<section class="newsletter" role="region" aria-label="Newsletter Signup">
<h2>Subscribe to Our Newsletter</h2>
<p>Get the latest deals, menu updates, and exclusive offers delivered to your inbox.</p>
<form class="newsletter-form" id="newsletter-form" aria-label="Newsletter subscription form">
<input type="email" id="newsletter-email" name="newsletter-email" placeholder="Enter your email" required aria-required="true" />
<button type="submit" aria-label="Subscribe to newsletter">Subscribe</button>
</form>
</section>
<!-- Cart Sidebar -->
<aside id="cart-sidebar" role="region" aria-label="Shopping Cart" aria-hidden="true">
<div id="cart-header">
Your Cart
<button id="cart-close" aria-label="Close Cart">×</button>
</div>
<div id="cart-items" tabindex="0" aria-live="polite" aria-relevant="additions removals">
<!-- Cart items injected here -->
</div>
<div id="cart-footer">
<span id="cart-total">Total: ₹0</span>
<button id="checkout-btn" disabled>Checkout</button>
</div>
</aside>
<!-- Footer -->
<footer>
<p>© 2026 ChaatBazar. All rights reserved.</p>
</footer>
<script src="js/main.js"></script>
</body>
</html>