-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
154 lines (154 loc) · 5.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>World Shop</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>
<body>
<nav class="navbar bg-black fixed-top p-3">
<div class="container-fluid">
<a class="navbar-brand d-flex align-items-center" href="#">
<img
src="./assist/logo.png"
alt="Logo"
width="50"
height="48"
class="d-inline-block align-text-top"
/>
<span class="fw-bold ms-4 text-white"
>World <span class="text-primary">Store</span></span
>
</a>
<section
class="d-flex justify-content-center flex-wrap gap-3"
id="btns"
></section>
<button
type="button"
data-bs-toggle="offcanvas"
data-bs-target="#offcanvasScrolling"
aria-controls="offcanvasScrolling"
class="btn btn-primary position-relative basket"
>
View Basket
<span
id="sepet"
class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-white text-dark"
>
0
</span>
</button>
</div>
</nav>
<!--! ----------------------------------------------------------------------- -->
<!--! offcanvas -->
<!--! ----------------------------------------------------------------------- -->
<div
class="offcanvas offcanvas-end scroll-hidden"
data-bs-scroll="true"
data-bs-backdrop="false"
tabindex="-1"
id="offcanvasScrolling"
aria-labelledby="offcanvasScrollingLabel"
>
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasScrollingLabel">My Basket</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="offcanvas"
aria-label="Close"
></button>
</div>
<div class="offcanvas-body"></div>
<div class="offcanvas-footer">
<div class="d-flex justify-content-between align-items-center">
<h5>Total</h5>
<h5><span class="totalPrice">0</span>$</h5>
</div>
</div>
</div>
<div style="height: 50px"></div>
<main class="container mt-5 bg-body-tertiary">
<!--! ----------------------------------------------------------------------- -->
<!--! modal -->
<!--! ----------------------------------------------------------------------- -->
<div
class="modal fade"
id="exampleModal"
tabindex="-1"
aria-labelledby="exampleModalLabel"
aria-hidden="true"
>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">
Modal title
</h1>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">...</div>
</div>
</div>
</div>
<!--! ----------------------------------------------------------------------- -->
<!--! search input -->
<!--! ----------------------------------------------------------------------- -->
<section
class="d-flex justify-content-center flex-wrap gap-3 mt-4"
id="searchs"
>
<div class="col-12 col-sm-6">
<input
type="search"
class="form-control"
id="searchInput"
placeholder="Search..."
/>
</div>
</section>
<!--! ----------------------------------------------------------------------- -->
<!--! category title -->
<!--! ----------------------------------------------------------------------- -->
<h4 class="text-center mt-2">
Category: <span class="text-primary" id="category">All</span>
</h4>
<!--! ----------------------------------------------------------------------- -->
<!--! products -->
<!--! ----------------------------------------------------------------------- -->
<section
class="row row-cols-1 row-cols-md-2 row-cols-xl-3 row-cols-xxl-4 justify-content-center g-4 my-5"
id="products"
></section>
</main>
<footer class="bg-dark text-white text-center">
<article class="p-4">
Copyright ©
<script>
document.write(new Date().getFullYear());
</script>
| All Rights Reserved.
</article>
</footer>
<script src="main.js" type="module"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"
></script>
</body>
</html>