-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
202 lines (184 loc) Β· 8.17 KB
/
index.html
File metadata and controls
202 lines (184 loc) Β· 8.17 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>CompuParts - Ultimate PC Parts Store</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
</head>
<body>
<header class="sticky-header shadow-lg">
<nav class="navbar container navbar-expand-lg">
<a href="#" class="navbar-brand fw-bold text-white">π΅π° CompuParts</a>
<button class="navbar-toggler custom-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="toggler-icon"></span>
<span class="toggler-icon"></span>
<span class="toggler-icon"></span>
</button>
<div id="navbarNav" class="collapse navbar-collapse justify-content-end">
<ul class="navbar-nav align-items-center">
<li class="nav-item"><a href="#hero" class="nav-link">Home</a></li>
<li class="nav-item"><a href="#products" class="nav-link">Products</a></li>
<li class="nav-item"><a href="#testimonials" class="nav-link">Testimonials</a></li>
<li class="nav-item"><a href="#special-offers" class="nav-link">Azadi-Offers</a></li>
<li class="nav-item"><a href="#contact" class="nav-link">Contact</a></li>
<div class="d-flex ms-lg-3 mt-3 mt-lg-0">
<a href="login.html" class="btn btn-login me-2">Login</a>
<a href="signup.html" class="btn btn-signup">Sign Up</a>
</div>
</ul>
</div>
</nav>
</header>
<!-- Floating Cart Button -->
<button class="floating-cart" id="cartBtn">
<i class="bi bi-cart"></i> <span id="cart-count" class="cart-count">0</span>
</button>
<section id="hero" class="hero-section d-flex flex-column justify-content-center align-items-center text-center text-white">
<h1 class="hero-title">Build Your <span class="highlight">Dream PC</span></h1>
<p class="hero-subtitle">Top quality computer parts delivered fast and reliable.</p>
<a href="#products" class="btn hero-btn">Shop Now</a>
</section>
<section id="products">
<h2>Most Demanding Products</h2>
<div class="product-list" id="product-list">
<!-- Products yahan JS se dynamically add honge -->
</div>
</section>
<section id="testimonials" class="text-center">
<h2>What Our Customers Say</h2>
<div class="testimonial-carousel">
<div class="testimonial-card active">
<p>CompuParts helped me build the ultimate gaming PC. Their parts are reliable and affordable!</p>
<h5 class="text-center">- Ali R.</h5>
</div>
<div class="testimonial-card">
<p>Fast delivery and excellent customer support. I highly recommend CompuParts for all PC enthusiasts.</p>
<h5 class="text-center">- Sarah K.</h5>
</div>
<div class="testimonial-card">
<p>The best place to get quality RAM and SSDs at great prices.</p>
<h5 class="text-center">- John D.</h5>
</div>
<div class="testimonial-card">
<p>Easy to navigate site, smooth checkout process, highly satisfied.</p>
<h5 class="text-center">- Maria T.</h5>
</div>
<div class="testimonial-card">
<p>Customer service responded quickly and solved my queries.</p>
<h5 class="text-center"> - Ahmad S.</h5>
</div>
<div class="testimonial-card">
<p>Wide selection of graphic cards, found exactly what I needed.</p>
<h5 class="text-center">- Natasha P.</h5>
</div>
<div class="testimonial-card">
<p>Quality packaging and timely shipment every time.</p>
<h5 class="text-center">- Omar R.</h5>
</div>
<div class="testimonial-card">
<p>CompuParts made upgrading my PC effortless and affordable.</p>
<h5 class="text-center">- Leena K.</h5>
</div>
<div class="testimonial-card">
<p>Great offers and discounts, will definitely buy again!</p>
<h5 class="text-center">- Faisal M.</h5>
</div>
<div class="testimonial-card">
<p>Trusted supplier with genuine parts, no complaints at all.</p>
<h5 class="text-center">- Zain A.</h5>
</div>
</div>
</section>
<section class="special-offers" id="special-offers">
<div class="container">
<h2>π Azadi Special Offers π΅π°</h2>
<p class="subtitle">Pakistan's Independence Day Sale β Grab Your Deals Before Time Runs Out!</p>
<!-- Countdown Timer -->
<div class="countdown">
<div><span id="days">00</span><small>Days</small></div>
<div><span id="hours">00</span><small>Hours</small></div>
<div><span id="minutes">00</span><small>Minutes</small></div>
<div><span id="seconds">00</span><small>Seconds</small></div>
</div>
<!-- Offer Cards -->
<div class="offers-grid">
<div class="offer-card">
<img src="https://m.media-amazon.com/images/I/81EFH6sT5CL.jpg" alt="Gaming PC">
<h3>Gaming PC Bundle</h3>
<p><del>Rs. 120,000</del> <strong>Rs. 95,000</strong></p>
<button class="btn">Add to Cart</button>
</div>
<div class="offer-card">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQAZIyn62f74cdZx9fJpWIGANVBQdjPzIfDWA&s" alt="Graphic Card">
<h3>RTX 4060Ti</h3>
<p><del>Rs. 95,000</del> <strong>Rs. 78,000</strong></p>
<button class="btn">Add to Cart</button>
</div>
<div class="offer-card">
<img src="https://m.media-amazon.com/images/I/51G8qgxjxQL.jpg" alt="Keyboard Combo">
<h3>RGB Keyboard & Mouse</h3>
<p><del>Rs. 8,500</del> <strong>Rs. 5,500</strong></p>
<button class="btn">Add to Cart</button>
</div>
</div>
</div>
</section>
<section id="contact" class="contact-section">
<div class="container">
<h2>π© Contact Us</h2>
<p>Have a question or want to work with us? Fill the form below π</p>
<form id="contactForm">
<div class="form-group">
<label for="name">Your Name</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
</div>
<div class="form-group">
<label for="email">Your Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
</div>
<div class="form-group">
<label for="message">Your Message</label>
<textarea id="message" name="message" rows="4" placeholder="Write your message..." required></textarea>
</div>
<button type="submit" class="btn-submit">Send Message π</button>
</form>
</div>
</section>
<footer class="footer bg-dark text-light py-4 text-center">
<div class="container">
<p> © 2025 CompuParts. All rights reserved.</p>
<p>Contact us: info@compuparts.com | +92 300 1234567</p>
<div class="social-icons mt-3">
<a href="#" aria-label="Facebook" class="social-icon"><i class="bi bi-facebook"></i></a>
<a href="#" aria-label="Twitter" class="social-icon"><i class="bi bi-twitter"></i></a>
<a href="#" aria-label="Instagram" class="social-icon"><i class="bi bi-instagram"></i></a>
<a href="#" aria-label="LinkedIn" class="social-icon"><i class="bi bi-linkedin"></i></a>
</div>
</div>
</footer>
<!-- Cart Modal -->
<div class="modal fade" id="cartModal" tabindex="-1" aria-labelledby="cartModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="cartModalLabel">Your Cart</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="cart-items">
<!-- Cart items here -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Continue Shopping</button>
<button type="button" class="btn btn-primary" id="checkoutBtn">Checkout</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="script.js"></script>
</body>
</html>