-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathproducts.html
77 lines (70 loc) · 3.85 KB
/
products.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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Primary Meta Tags -->
<title>Produit - Orinoco</title>
<meta name="title" content="Produit - Orinoco">
<meta name="description" content="Orinoco est un site e-commerce à thème. C'est aussi le 5ième projet du parcours développeur web chez OpenClassrooms.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://orinoco.mathisbarre.com/product.html">
<meta property="og:title" content="Produit - Orinoco">
<meta property="og:description" content="Orinoco est un site e-commerce à thème. C'est aussi le 5ième projet du parcours développeur web chez OpenClassrooms.">
<meta property="og:image" content="http://orinoco.mathisbarre.com/images/orinoco.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://orinoco.mathisbarre.com/product.html">
<meta property="twitter:title" content="Produit - Orinoco">
<meta property="twitter:description" content="Orinoco est un site e-commerce à thème. C'est aussi le 5ième projet du parcours développeur web chez OpenClassrooms.">
<meta property="twitter:image" content="http://orinoco.mathisbarre.com/images/orinoco.png">
<link rel="canonical" href="https://orinoco-v2.mathisbarre.com/products" />
<link href="./styles/compiled.css" rel="stylesheet">
<script src="./js/config.js" defer></script>
<script src="./js/cart.utils.js" defer></script>
<script src="./js/pages/products.js" defer></script>
</head>
<body>
<div class="container px-4 py-8 mx-auto">
<!-- HEADER -->
<header class="flex items-center justify-between w-full px-6 py-2 rounded-lg bg-oniPink">
<a href="/"><img class="h-20 bg-oniPink" src="./images/logo.png" alt="Orinico"></a>
<nav class="flex">
<ul class="font-semibold list-none">
<li>
<a class="px-4 py-4" href="./cart.html">Panier</a>
</li>
</ul>
</nav>
</header>
<!-- HEADER -->
<!-- PRODUCT -->
<section class="flex flex-col items-stretch w-full p-4 mt-4 rounded-md lg:flex-row bg-oniPink">
<div class="w-full h-full mr-4 lg:w-1/2 md:min-w-1/2">
<img id="productImage" class="object-cover rounded" src="" alt="">
</div>
<div class="flex flex-col flex-wrap items-start w-full">
<h1 class="w-full mt-8 mb-8 text-xl font-bold text-center lg:mt-4">Ours en peluche "<span id="productName"></span>"</h1>
<div class="flex items-center">
<img class="h-5" src="./images/star.svg" alt="">
<img class="h-5" src="./images/star.svg" alt="">
<img class="h-5" src="./images/star.svg" alt="">
<img class="h-5" src="./images/star.svg" alt="">
<img class="h-5" src="./images/star.svg" alt="">
<p class="ml-2"><span class="underline cursor-pointer">56 avis</span> - <span class="underline cursor-pointer">12 produits en stock</span></p>
</div>
<p id="productDescription" class="mt-4 text-justify text-black text-opacity-80"></p>
<div class="flex-grow"></div>
<h2 class="mt-4 font-bold text-bold font-lg">Choisir la couleur de votre produit : </h2>
<div class="grid w-full gap-4 mt-4">
<template id="productColor">
<div class="flex-grow h-12 transition duration-150 transform bg-white rounded cursor-pointer sm:h-20 hover:scale-105" style="background-color: tan;"></div>
</template>
</div>
<button id="addToCart" class="w-full py-2 mt-4 text-lg font-bold text-center text-white transition duration-150 transform bg-pink-600 rounded mb hover:scale-102">Ajouter au panier pour <span id="productPrice"></span></button>
</div>
</section>
<!-- PRODUCT -->
</body>
</html>