-
Notifications
You must be signed in to change notification settings - Fork 108
/
index.html
246 lines (221 loc) · 10.1 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html>
<head>
<title>Eniac</title>
</head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.w3-sidebar a {font-family: "Roboto", sans-serif}
body,h1,h2,h3,h4,h5,h6,.w3-wide {font-family: "Montserrat", sans-serif;}
</style>
<body class="w3-content" style="max-width:1200px">
<!-- Sidebar/menu -->
<nav class="w3-sidebar w3-bar-block w3-white w3-collapse w3-top" style="z-index:3;width:250px" id="mySidebar">
<div class="w3-container w3-display-container w3-padding-16">
<i onclick="w3_close()" class="fa fa-remove w3-hide-large w3-button w3-display-topright"></i>
<h1 class="w3-wide"><b>ENIAC</b></h1>
</div>
<div class="w3-padding-64 w3-large w3-text-grey" style="font-weight:bold">
<a href="#" class="w3-bar-item w3-button">Mac</a>
<a href="#" class="w3-bar-item w3-button">iPhone</a>
<a onclick="myAccFunc()" href="javascript:void(0)" class="w3-button w3-block w3-white w3-left-align" id="myBtn">
Accessories <i class="fa fa-caret-down"></i>
</a>
<div id="demoAcc" class="w3-bar-block w3-hide w3-padding-large w3-medium">
<a href="#" class="w3-bar-item w3-button w3-light-grey"><i class="fa fa-caret-right w3-margin-right"></i>Chargers & Cables</a>
<a href="#" class="w3-bar-item w3-button">iPhone Accessories</a>
<a href="#" class="w3-bar-item w3-button">Watch Accessories</a>
<a href="#" class="w3-bar-item w3-button">Mac Accessories</a>
<a href="#" class="w3-bar-item w3-button">AirTag</a>
</div>
<a href="#" class="w3-bar-item w3-button">iPad</a>
<a href="#" class="w3-bar-item w3-button">Watch</a>
<a href="#" class="w3-bar-item w3-button">Storage</a>
<a href="#" class="w3-bar-item w3-button">Services</a>
</div>
<a href="#footer" class="w3-bar-item w3-button w3-padding">Contact</a>
<a href="javascript:void(0)" class="w3-bar-item w3-button w3-padding" onclick="document.getElementById('newsletter').style.display='block'">Newsletter</a>
<a href="#footer" class="w3-bar-item w3-button w3-padding">Subscribe</a>
</nav>
<!-- Top menu on small screens -->
<header class="w3-bar w3-top w3-hide-large w3-black w3-xlarge">
<div class="w3-bar-item w3-padding-24 w3-wide">ENIAC</div>
<a href="javascript:void(0)" class="w3-bar-item w3-button w3-padding-24 w3-right" onclick="w3_open()"><i class="fa fa-bars"></i></a>
</header>
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:250px">
<!-- Push down content on small screens -->
<div class="w3-hide-large" style="margin-top:83px"></div>
<!-- Top header -->
<header class="w3-container w3-xlarge">
<p class="w3-left">Your online store for Apple products & accessories</p>
<p class="w3-right">
<i class="fa fa-shopping-cart w3-margin-right"></i>
<i class="fa fa-search"></i>
</p>
</header>
<!-- Image header -->
<div class="w3-display-container w3-container">
<img src="images/iphone13_cover.jpeg" alt="Jeans" style="width:100%">
<div class="w3-display-topleft w3-text-white" style="padding:24px 48px">
<h1 class="w3-jumbo w3-hide-small">The best camera is here</h1>
<h1 class="w3-hide-large w3-hide-medium">The best camera is here</h1>
<h1 class="w3-hide-small">IPHONE 13</h1>
<p><a href="#jeans" class="w3-button w3-white w3-padding-large w3-large">SHOP NOW</a></p>
</div>
</div>
<div class="w3-container w3-text-grey" id="jeans">
<p>8 items</p>
</div>
<!-- Product grid -->
<div class="w3-row w3-grayscale">
<div class="w3-col l3 s6">
<div class="w3-container">
<img src="images/abstract-case.jpg" style="width:100%">
<p>Abstract iPhone case<br><b>24,99€</b></p>
</div>
<div class="w3-container">
<img src="images/airpods.jpeg" style="width:100%">
<p>AirPods<br><b>159,99€</b></p>
</div>
</div>
<div class="w3-col l3 s6">
<div class="w3-container">
<div class="w3-display-container">
<img src="images/watch-lgtb.jpeg" style="width:100%">
<span class="w3-tag w3-display-topleft">New</span>
<div class="w3-display-middle w3-display-hover">
<button class="w3-button w3-black">Buy now <i class="fa fa-shopping-cart"></i></button>
</div>
</div>
<p>Pride Watch strap<br><b>19.99€</b></p>
</div>
<div class="w3-container">
<img src="images/blue-strap.jpeg" style="width:100%">
<p>Blue Watch strap<br><b>20.50€</b></p>
</div>
</div>
<div class="w3-col l3 s6">
<div class="w3-container">
<img src="images/cartoon-case.jpg" style="width:100%">
<p>Mushrooms iPhone case<br><b>20.50€</b></p>
</div>
<div class="w3-container">
<div class="w3-display-container">
<img src="images/hermes-case.jpeg" style="width:100%">
<span class="w3-tag w3-display-topleft">Sale</span>
<div class="w3-display-middle w3-display-hover">
<button class="w3-button w3-black">Buy now <i class="fa fa-shopping-cart"></i></button>
</div>
</div>
<p>Hermes iPhone case<br><b class="w3-text-red">349.99€</b></p>
</div>
</div>
<div class="w3-col l3 s6">
<div class="w3-container">
<img src="images/leopard-case.jpg" style="width:100%">
<p>Leopard iPhone case<br><b>14.99€</b></p>
</div>
<div class="w3-container">
<img src="images/magnetic-case.jpeg" style="width:100%">
<p>Mag-Safe iPhone case<br><b>24.99€</b></p>
</div>
</div>
</div>
<!-- Subscribe section -->
<div class="w3-container w3-black w3-padding-32">
<h1>Subscribe</h1>
<p>To get special offers and VIP treatment:</p>
<p><input class="w3-input w3-border" type="text" placeholder="Enter e-mail" style="width:100%"></p>
<button type="button" class="w3-button w3-red w3-margin-bottom">Subscribe</button>
</div>
<!-- Footer -->
<footer class="w3-padding-64 w3-light-grey w3-small w3-center" id="footer">
<div class="w3-row-padding">
<div class="w3-col s4">
<h4>Contact</h4>
<p>Questions? Go ahead.</p>
<form action="/action_page.php" target="_blank">
<p><input class="w3-input w3-border" type="text" placeholder="Name" name="Name" required></p>
<p><input class="w3-input w3-border" type="text" placeholder="Email" name="Email" required></p>
<p><input class="w3-input w3-border" type="text" placeholder="Subject" name="Subject" required></p>
<p><input class="w3-input w3-border" type="text" placeholder="Message" name="Message" required></p>
<button type="submit" class="w3-button w3-block w3-black">Send</button>
</form>
</div>
<div class="w3-col s4">
<h4>About</h4>
<p><a href="#">About us</a></p>
<p><a href="#">We're hiring</a></p>
<p><a href="#">Support</a></p>
<p><a href="#">Find store</a></p>
<p><a href="#">Shipment</a></p>
<p><a href="#">Payment</a></p>
<p><a href="#">Gift card</a></p>
<p><a href="#">Return</a></p>
<p><a href="#">Help</a></p>
</div>
<div class="w3-col s4 w3-justify">
<h4>Store</h4>
<p><i class="fa fa-fw fa-map-marker"></i> Company Name</p>
<p><a href="tel:+34626553368" class="fa fa-fw fa-phone"></a> 626553368</p>
<p><i class="fa fa-fw fa-envelope"></i> [email protected]</p>
<h4>We accept</h4>
<p><i class="fa fa-fw fa-cc-amex"></i> Amex</p>
<p><i class="fa fa-fw fa-credit-card"></i> Credit Card</p>
<br>
<i class="fa fa-facebook-official w3-hover-opacity w3-large"></i>
<i class="fa fa-instagram w3-hover-opacity w3-large"></i>
<i class="fa fa-snapchat w3-hover-opacity w3-large"></i>
<i class="fa fa-pinterest-p w3-hover-opacity w3-large"></i>
<i class="fa fa-twitter w3-hover-opacity w3-large"></i>
<i class="fa fa-linkedin w3-hover-opacity w3-large"></i>
</div>
</div>
</footer>
<div class="w3-black w3-center w3-padding-24">Powered by <a href="https://www.w3schools.com/w3css/default.asp" title="W3.CSS" target="_blank" class="w3-hover-opacity">w3.css</a></div>
<!-- End page content -->
</div>
<!-- Newsletter Modal -->
<div id="newsletter" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom" style="padding:32px">
<div class="w3-container w3-white w3-center">
<i onclick="document.getElementById('newsletter').style.display='none'" class="fa fa-remove w3-right w3-button w3-transparent w3-xxlarge"></i>
<h2 class="w3-wide">NEWSLETTER</h2>
<p>Join our mailing list to receive updates on new arrivals and special offers.</p>
<p><input class="w3-input w3-border" type="text" placeholder="Enter e-mail"></p>
<button type="button" class="w3-button w3-padding-large w3-red w3-margin-bottom" onclick="document.getElementById('newsletter').style.display='none'">Subscribe</button>
</div>
</div>
</div>
<script>
// Accordion
function myAccFunc() {
var x = document.getElementById("demoAcc");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
// Click on the "Jeans" link on page load to open the accordion for demo purposes
document.getElementById("myBtn").click();
// Open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
</script>
</body>
</html>