-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadidas.html
190 lines (173 loc) · 6.03 KB
/
adidas.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
188
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ADIDAS</title>
<link rel="stylesheet" href="style.css">
<style>
/* Product section */
.product-section {
padding: 40px 20px;
background-color: #f8f8f8;
text-align: center;
}
.product-section h2 {
font-size: 36px;
margin-bottom: 30px;
}
.product-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
}
.product-card {
background-color: white;
border: 1px solid #ddd;
padding: 20px;
width: 250px;
text-align: center;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.product-card img {
width: 100%;
height: auto;
margin-bottom: 15px;
border-radius: 5px;
}
.product-card h3 {
font-size: 18px;
margin-bottom: 10px;
}
.product-card p {
font-size: 14px;
margin-bottom: 15px;
}
.product-card .price {
color: #000000;
font-weight: bold;
}
.product-card .add-to-cart {
background-color: #1E1E1E;
color: white;
padding: 10px;
border: none;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
}
.product-card .add-to-cart:hover {
background-color: #444;
}
/* Responsive design */
@media (max-width: 1200px) {
.product-container {
grid-template-columns: repeat(4, 1fr); /* 4 items per row on smaller screens */
}
}
@media (max-width: 992px) {
.product-container {
grid-template-columns: repeat(3, 1fr); /* 3 items per row */
}
}
@media (max-width: 768px) {
.product-container {
grid-template-columns: repeat(2, 1fr); /* 2 items per row */
}
}
@media (max-width: 576px) {
.product-container {
grid-template-columns: repeat(1, 1fr); /* 1 item per row */
}
}
</style>
</head>
<body>
<header>
<a href="home.html" style="text-decoration: none; color: white;">
<div class="logo">Beldrobe</div>
</a>
<nav>
<ul>
<li><a href="newarrivals.html">New Arrivals</a></li>
<li><a href="#">Category</a>
<ul class="dropdown-menu">
<li><a href="men.html">Men</a></li>
<li><a href="women.html">Women</a></li>
<li><a href="kids.html">Kids</a></li>
</ul>
</li>
<li><a href="brand.html">Brand</a></li>
<li><a href="kontak.html">Contact</a></li>
<li class="cart">
<a href="#" id="cart-link">
<span class="cart-icon">🛒</span>
<span id="cart-count">0</span>
</a>
<ul class="cart-dropdown">
<li id="cart-items">Keranjang kosong</li>
<li><a href="#" id="checkout-button">Checkout</a></li>
</ul>
<button id="clear-cart-button" class="clear-cart-button">
<i class="fas fa-trash"></i>
</button>
<button id="logout-button" class="logout-button">
<i class="fas fa-sign-out-alt"></i> <!-- Icon logout -->
</button>
</li>
</ul>
</nav>
</header>
<section class="product-section">
<h2>ADIDAS</h2>
<div class="product-container">
<!-- Product Card 1 -->
<div class="product-card">
<img src="img/ADIDAS_HANDBALL.jpg" alt="Product 1">
<h3>Adidas Handball Spezial</h3>
<p>Men</p>
<p>Core Black/Preloved Yellow</p>
<p class="price">Rp 1.700.000</p>
<p>⭐️⭐️⭐️⭐️⭐️ (5)</p>
<button class="add-to-cart">Tambahkan ke Keranjang</button>
</div>
<!-- Product Card 2 -->
<div class="product-card">
<img src="img/ADIDAS_GAZELLE.jpg" alt="Product 2">
<h3>Adidas Gazelle Indoor</h3>
<p>Women</p>
<p>Magic Beige/Gum 3</p>
<p class="price">Rp 1.800.000</p>
<p>⭐️⭐️⭐️⭐️⭐️ (14)</p>
<button class="add-to-cart">Tambahkan ke Keranjang</button>
</div>
<!-- Product Card 3 -->
<div class="product-card">
<img src="img/ADIDAS_MARVEL.jpg" alt="Product 3">
<h3>Adidas Spider-Man</h3>
<p>Men</p>
<p>Footwear White/core Black</p>
<p class="price">Rp 850.000</p>
<p>⭐️⭐️⭐️⭐️⭐️ (41)</p>
<button class="add-to-cart">Tambahkan ke Keranjang</button>
</div>
<!-- Product Card 4 -->
<div class="product-card">
<img src="img/ADIDAS_SAMBA.jpg" alt="Product 4">
<h3>ADIDAS Samba OG</h3>
<p>Men</p>
<p>Black White/Collegiate Green</p>
<p class="price">Rp 1.800.000</p>
<p>⭐️⭐️⭐️⭐️⭐️ (19)</p>
<button class="add-to-cart">Tambahkan ke Keranjang</button>
</div>
</div>
</section>
<footer>
<p>© 2025 Beldrobe Official Store</p>
</footer>
<script src="script.js"></script>
</body>
</html>