-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
210 lines (176 loc) · 9.69 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
<!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 rel="stylesheet" href="./css/mainController.css">
<link rel="shortcut icon" href="./img/style/sofa.png" type="image/x-icon">
<title>Cozy home</title>
</head>
<body>
<section class="main">
<header class="header">
<div class="container">
<div><img src="./img/style/logo.svg" alt="Что-то пошло не так" class="logo"></div>
<nav class="menu">
<ul class="menu-list">
<li class="menu-item"><a data-link="chairs"><div class="circle"><img src="./img/style/chairs.svg" alt="Упс.." title="Стулья"></div></a></li>
<li class="menu-item"><a data-link="armchairs"><div class="circle"><img src="./img/style/couches.svg" alt="Упс.." title="Кресла"></div></a></li>
<li class="menu-item"><a data-link="wardrobes"><div class="circle"><img src="./img/style/wardrobe.svg" alt="Упс.." title="Шкафы"></div></a></li>
<li class="menu-item"><a data-link="sofas"><div class="circle"><img src="./img/style/beds.svg" alt="Упс.." title="Кровати и диваны"></div></a></li>
<li class="menu-item"><a data-link="kitchen"><div class="circle"><img src="./img/style/kitchens.svg" alt="Упс.." title="Кухни"></div></a></li>
<li class="menu-item"><a data-link="help"><div class="circle"><img src="./img/style/help.svg" alt="Упс.." title="Связаться с нами"></div></a></li>
</ul>
</nav>
</div>
</header>
<section class="main-content">
<div class="container">
<div class="main-info">
<span class="main-small-info">Новая коллекция</span>
<button class="theme themetoggle">
<span class="ThemeInfo"></span>
</button>
<h4 class="main-title"> Качество, идущее в ногу с комфортом</h4>
<p class="main-text">Cпешите заказать сезонные новинки и насладиться комфортом и качеством мебели. Мы готовы сделать бизайн-проект вашего дома бесплатно.</p>
<div class="main-action">
<button class="button glow-on-hover" id="main-info" type="button">Каталог</button>
</div>
</div>
<img src="./img/style/frontPage.png" alt="Упс.." class="main-image">
</div>
</section>
<button class="back-to-top hidden" title="Вернуться наверх"> ▲</button>
</section>
<div class="purchase">
<section class="showCart">
<form action="./done.html">
<div class="card-body">
<div class="cartHeader">
<h5 class="card-title">Ваш заказ:</h4>
<div class="cancel">✘</div>
</div>
<div data-cart-empty class="empty"> Корзина пуста </div>
<div class="cartContent">
<div class="cart-wrapper"></div>
<div class="cart-total">
<p data-cart-delivery class="none">
<span>Доставка:</span>
<span class="delivery-cost">2500 ₽</span><br>
<span class="deliveryText">Бесплатно при заказе от 50000 ₽</span>
</p>
<p class="emptyBucket none"><span>Итого:</span>
<span class="total-price">0</span>
<span class="rouble">₽</span></p>
<div id="order-form" class="card-body none">
<h5 class="card-title">Способ оплаты:</h4>
<form>
<div class="form-group">
<input type="radio" name="payment" value="cash" id="cash-value" class="radio-hidden" required>
<label for="cash-value" class="radio-label">Наличные</label>
<input type="radio" name="payment" value="card" id="card-value" class="radio-hidden">
<label for="card-value" class="radio-label">По карте в офисе</label>
<input type="radio" name="payment" value="online" id="online-value" class="radio-hidden">
<label for="online-value" class="radio-label">Онлайн</label>
<input type="radio" name="payment" value="loan" id="loan-value" class="radio-hidden">
<label for="loan-value" class="radio-label">В кредит</label>
<textarea name="extra" id="userComment" cols="30" rows="3" maxlength="2000" placeholder="Оставить комментарий"></textarea>
</div>
<button class="freeDelivery confirm disabled" >Оформить заказ</button>
</form>
</div>
</div>
</div>
</div>
</form>
</section>
<button class="cart cartIcon " id="cart" title="Купить">
<img class="cart__image" src="./img/style/cart.svg" alt="Cart" />
<div class="cart__num" id="cart_num">0</div>
</button>
</div>
<section class="products" id="chairs">
<div class="container">
<div class="title">Стулья</div>
<div class="products-items" id="chairCard"></div>
</div>
</section>
<section class="products" id="armchairs">
<div class="container">
<div class="title">Кресла</div>
<div class="products-items" id="armchairCard"></div>
</div>
</section>
<section class="products" id="wardrobes">
<div class="container">
<div class="title">Шкафы</div>
<div class="products-items" id="wardCard"></div>
</div>
</section>
<section class="products" id="sofas">
<div class="container">
<div class="title">Диваны</div>
<div class="products-items sofas">
</div>
</div>
</section>
<section class="products" id="kitchen">
<div class="container">
<div class="title">Кухни</div>
<div class="products-items" id="kitchenCard"></div>
</div>
</section>
<section class="help" id="help">
<div class="container">
<div class="title">Связаться с консультантом</div>
<div class="help-form">
<div class="help-form-text">
Заполните все данные и наш менеджер свяжется с вами для консультации
</div>
<div class="help-form-inputs">
<div class="help-form-input">
<input type="text" placeholder="Ваше имя" id="name">
</div>
<div class="help-form-input">
<input type="text" placeholder="Ваш телефон" id="phone">
</div>
<div class="help-form-input" >
<input type="text" placeholder="Ваш вопрос" id="helpText" maxlength="2000">
</div>
<button class="button glow-on-hover" id="help-action">Заказать звонок</button>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="footer-links">
<ul class="menu-list footer-menu">
<li class="footer-item"><a data-link="chairs">Стулья</a></li>
<li class="footer-item"><a data-link="armchairs">Кресла</a></li>
<li class="footer-item"><a data-link="wardrobes">Шкафы</a></li>
</ul>
</div>
<div class="footer-links">
<ul class="menu-list footer-menu">
<li class="footer-item"><a data-link="sofas">Диваны</a></li>
<li class="footer-item"><a data-link="kitchen">Кухни</a></li>
</ul>
</div>
<div class="rights">© Все права защищены</div>
</div>
</footer>
<script src="./js/updateDate.js"></script>
<script src="./js/toggleCartStatus.js"></script>
<script src="./js/goods/GoodsChairs.js"></script>
<script src="./js/goods/GoodArmchairs.js"></script>
<script src="./js/goods/GoodWardrobe.js"></script>
<script src="./js/goods/GoodKitchen.js"></script>
<script src="./js/goods/SofasRender.js"></script>
<script src="./js/ChangeTheme.js"></script>
<script src="./js/cart.js"></script>
<script src="./js/main.js"></script>
<script src="./js/backToTopButton.js"></script>
</body>
</html>