forked from adatechschool/projetmeubles_back_MJSQE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Home Page.html
168 lines (161 loc) · 6.55 KB
/
Home Page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous" rel="stylesheet">
<link rel="stylesheet" href="Stylesheet Home Page.css">
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script src="script.js"></script>
<title>Home Page</title>
</head>
<body>
<header>
<!--First Navbar-->
<nav class="navbar navbar-light bg-light sticky-top">
<div class="container mt-1">
<!-- <a class="navbar-brand">Navbar</a> -->
<!--Logo-->
<a href="Home Page.html"> <img class="img-fluid" src="images/Logoheader.png" id="logohaut"></a>
<!--Logo-->
<!--Search Form-->
<form class="d-flex input-group w-auto justify-content-center">
<input
type="search"
class="form-control rounded"
placeholder="Je cherche un produit..."
aria-label="Search"
aria-describedby="search-addon"
/>
<button style="font-size:20px">Search <i class="fa fa-search"></i></button>
</form>
<!--Search Form-->
<!--btn je vends-->
<button type="button" class="btn btn-primary">Je vends ! </button>
<!--Icon Favori-->
<img class="img-fluid " src="images/coeur-rouge.png" id="favori">
<!--Icon panier-->
<img class="img-fluid " src="images/caddie.png" id="panier">
<!--Icon login-->
<img class="img-fluid " src="images/login.png" id="login">
</div>
<!--Second Navbar-->
<div class="container-fluid justify-content-center align-items-center" id="secondNavbar">
<nav class="navbar navbar-expand-md navbar-light bg-light">
<!-- Container wrapper -->
<div class="container-fluid">
<!-- Toggle button -->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#collapsibleNavbar">
<span class="navbar-toggler-icon">
<span class = "icon-bar"></span>
<span class = "icon-bar"></span>
<span class = "icon-bar"></span>
</span>
</button>
<!-- Collapsible wrapper -->
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<!-- Left links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link fs-5 px-4 ms-4 mt-1" href="Chaises.html">Chaises</a>
</li>
<li class="nav-item">
<a class="nav-link fs-5 px-4 ms-4 mt-1" href="Canapes.html">Canapés</a>
</li>
<li class="nav-item">
<a class="nav-link fs-5 px-4 ms-4 mt-1" href="Tables.html">Tables</a>
</li>
</ul>
<!-- Left links -->
</div>
</div>
<!-- Collapsible wrapper -->
</div>
<!-- Container wrapper -->
</nav>
<!--Second Navbar-->
</nav>
<!--First Navbar-->
</div>
</header>
<section>
<div class="container mt-5">
<div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="images/Relookez.png" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="images/Relookez1.png" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="images/Relookez2.png" class="d-block w-100" alt="...">
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<div class="container pt-4">
<div class="row">
<p class="text-center display-6">Notre Sélection du Moment</p>
</div>
</div>
<div class="container">
<div id="productshome">
<div class="row">
<div class="col-sm-3" v-for="photos in photo">
<p class=" mt-4 p-5 bg-light text-dark text-center rounded">{{photos}}</p>
</div>
<div class="col-sm-3" v-for="noms in nom">
<div id="test"> </div>
<p class=" bg-light text-dark text-center rounded">{{noms}}</p>
</div>
<div class="col-sm-3" v-for="prices in price">
<p class=" bg-light text-dark text-center rounded" >{{prices}}</p>
</div>
</div>
</div>
</section>
<!-- On veut afficher l'API dans id='titre' (html) -->
<!-- et remplacer Pdt1,4 par id='titre' -->
<script>
console.log("name HOME : " + nameProduct)
var app = new Vue({
el: "#productshome",
data: {
photo:[`id='photo'`, "Photo2", "Photo3", "Photo4"], // Vue Router à creuser
nom: [`<div id="test"> </div>`, "Pdt2", "Pdt3", "Pdt4"],
price:[`id='prix'`,"Prix2","Prix3","Prix4"],
}
})
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous"></script>
<footer>
<section>
<div class="container">
<div class="row justify-content-center">
<div class="col-sm" > <!--reponsive-->
<img class="img-fluid" src="images/logo.png" id="logo">
<img class="img-fluid" src="images/resosoc.png" id="reseaux">
</div>
</div>
</div>
<div class="container">
<div class="row justify-content-center">
<div class="col-3"> A propos</div>
<div class="col-3"> Conditions génerales de vente</div>
<div class="col-3"> Commment ça marche ?</div>
</div>
</div>
</section>
</footer>
</body>
</html>