-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
187 lines (177 loc) · 7.81 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Digital Store</title>
<link href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css" />
<link rel="stylesheet" href="assets/css/styles.css">
</head>
<body>
<header class="header" id="header">
<a href="#" id="nav__name">
<img src="assets\img\1.png" alt="Logo" id="logo"> Digital Store
</a>
<ul id="nav__list">
<li id="nav__item">
<a href="#home" class="nav_link active-link">Home</a>
</li>
<li id="nav__item">
<a href="#featured" class="nav_link active-link">Featured</a>
</li>
<li id="nav__item">
<a href="#cart" class="nav_link active-link">Cart</a>
</li>
<li id="nav__item">
<a href="account/login.html" class="nav_link active-link">Login</a>
</li>
<li id="nav__item">
<a href="account/signup.html" class="nav_link active-link">Signup</a>
</li>
</ul>
<button id="nav__toggle" style="display: none;">Toggle</button>
<button id="nav__close" style="display: none;">Close</button>
</header>
<main class="main">
<section class="home Section" id="home">
<div class="home__container container grid">
<div class="home__content">
<div class="home__data">
<h1 class="home__title">
Buy || Anything || Anywhere
</h1>
</div>
</div>
</div>
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<article class="home__product-card" style="background-image: url('assets/img/gaming.jpg'); background-size: cover;">
<a href="products/gaming.html" target="_blank" class="home__product-info">
<h2>Gaming Laptops</h2>
</a>
</article>
</div>
<!-- Slide 2 -->
<div class="swiper-slide">
<article class="home__product-card" style="background-image: url('assets/img/laptop.jpg'); background-size: cover;">
<a href="products/laptop.html" target="_blank" class="home__product-info">
<h2>Laptops</h2>
</a>
</article>
</div>
<!-- Slide 3 -->
<div class="swiper-slide">
<article class="home__product-card" style="background-image: url('assets/img/smartphone.png'); background-size: cover;">
<a href="products/ph.html" target="_blank" class="home__product-info">
<h2>Mobile Phones</h2>
</a>
</article>
</div>
<!-- Slide 4 -->
<div class="swiper-slide">
<article class="home__product-card" style="background-image: url('assets/img/headphone.jpg'); background-size: cover;">
<a href="products/hp.html" target="_blank" class="home__product-info">
<h2>Headphones</h2>
</a>
</article>
</div>
</div>
<div class="swiper-pagination"></div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>
</section>
<section class="featured" id="featured">
<div class="featured-scroll-container">
<article class="featured-products">
<div class="featured-product">
<img src="assets/img/featured/featured1.jpg" alt="alienware" class="featured-img">
<div class="featured-data">
<h2 class="featured-title">Alienware M15 R3</h2>
<p class="featured-description">10th Generation Intel® Core™ i7-10750H (6-Core, 12MB Cache, up to 5.1GHz w/ Turbo Boost 2.0)</p>
<span class="featured-price">₹1,999,99</span>
<a href="#" class="button featured-button">Buy Now</a>
</div>
</div>
<div class="featured-product">
<img src="assets/img/featured/featured2.jpg" alt="rog-zepyrus" class="featured-img">
<div class="featured-data">
<h2 class="featured-title">Rog Zephyrus Duo 6</h2>
<p class="featured-description">Dual screen Laptop,16" FHD+ 165Hz/3ms, AMD Ryzen 7</p>
<span class="featured-price">₹1,69,990</span>
<a href="#" class="button featured-button">Buy Now</a>
</div>
</div>
<div class="featured-product">
<img src="assets/img/featured/featured3.jpg" alt="iphone" class="featured-img">
<div class="featured-data">
<h2 class="featured-title">Iphone 13 Pro Max</h2>
<p class="featured-description">128GB, Deep Purple</p>
<span class="featured-price">₹1,22,900</span>
<a href="#" class="button featured-button">Buy Now</a>
</div>
</div>
<div class="featured-product">
<img src="assets/img/featured/featured4.jpg" alt="Pixel" class="featured-img">
<div class="featured-data">
<h2 class="featured-title">Google Pixel 7 Pro</h2>
<p class="featured-description">Hazel, 128GB, 12GB RAm</p>
<span class="featured-price">₹54,990</span>
<a href="#" class="button featured-button">Buy Now</a>
</div>
</div>
<div class="featured-product">
<img src="assets/img/featured/featured5.jpg" alt="alienware" class="featured-img">
<div class="featured-data">
<h2 class="featured-title">Dell Alienware M15</h2>
<p class="featured-description">GAming Laptop 5.6'AMD Ryzen R7, Nvidia RTX 3060 GFX 6GB</p>
<span class="featured-price">₹2,19,900</span>
<a href="#" class="button featured-button">Buy Now</a>
</div>
</div>
<div class="featured-product">
<img src="assets/img/featured/featured6.jpg" alt="samsung" class="featured-img">
<div class="featured-data">
<h2 class="featured-title">HP Victus 7KJ6PAACJ</h2>
<p class="featured-description">Intel Core i5 11th Gen 11400H 6.1 Inches</p>
<span class="featured-price">₹60,141</span>
<a href="#" class="button featured-button">Buy Now</a>
</div>
</article>
</div>
</section>
<footer class="footer" id="footer">
<div class="footer__container container">
<div class="footer__logo">
<a href="#" id="footer__name">
<span>Digital Store</span>
</a>
</div>
<div class="footer__text">
<p>© 2023 Digital Store | All Rights Reserved.</p>
</div>
</div>
</footer>
</main>
<script src="https://unpkg.com/swiper/swiper-bundle.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
var swiper = new Swiper('.swiper-container', {
slidesPerView: 1,
spaceBetween: 20,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
});
});
</script>
</body>
</html>