-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
119 lines (108 loc) · 3.64 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Five Tees</title>
<link rel="stylesheet" href="src/styles.css" />
<link rel="icon" href="src/images/icons/favicon.png" />
<script src="src/app.js" type="module" defer></script>
</head>
<body>
<header>
<div class="inner">
<a class="link-home navlink" id="home" href="/">
<img
class="logo"
src="src/images/icons/logo.webp"
alt="Five Tees logo"
/>
</a>
<h1>Five Tees</h1>
<nav class="cart-icon-wrapper">
<a class="link-order navlink" href="/#/cart" id="order">
<img
class="cart-icon"
src="src/images/icons/cart.svg"
alt="cart"
/>
</a>
<span id="badge" class="badge" hidden></span>
</nav>
</div>
</header>
<main></main>
<template id="catalog-page-template">
<h1>All T-shirts</h1>
<section>
<ul id="catalog" class="catalog"></ul>
</section>
</template>
<template id="product-item-template">
<article>
<a href="#">
<img />
<section class="info-action">
<h4></h4>
<p class="price"></p>
<button>Add</button>
</section>
</a>
</article>
</template>
<template id="order-form-template">
<form>
<fieldset>
<label for="name">
Your name
<input id="name" name="name" required />
</label>
<label for="phone">
Your phone number
<input id="phone" name="phone" type="tel" />
</label>
<label for="email">
Your email
<input id="eamil" name="email" type="email" />
</label>
</fieldset>
<button class="app-btn" type="submit">Place order</button>
</form>
</template>
<template id="details-page-template">
<header>
<a
href="#"
onclick="app.router.go('/'); event.preventDefault()"
>
< Back
</a>
</header>
<section>
<h2></h2>
<img src="" />
<footer>
<p class="description"></p>
<p class="price"></p>
<button class="app-btn">Add to cart</button>
</footer>
</section>
</template>
<template id="cart-item-template">
<li>
<p class="qty"></p>
<p class="name"></p>
<p class="price"></p>
<p class="toolbar">
<a
href="#"
class="delete-button"
title="delete this item(s) from cart"
>
🗑️
</a>
</p>
</li>
</template>
</body>
</html>