-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.html
54 lines (45 loc) · 1.8 KB
/
home.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
<!DOCTYPE html>
<html>
<head>
<title>home</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;500;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/general.css">
<link rel="stylesheet" href="styles/components/header.css">
<link rel="stylesheet" href="styles/components/product-grid.css">
</head>
<body>
<div class="header">
<div class="header-container">
<div class="header-left">
<a href="home.html">
<img class="logo-icon" src="images/icons/logo.png">
</a>
</div>
<div class="header-right">
<div class="search">
<input class="search-input" placeholder="搜尋">
<button class="search-button", onclick= "getProductsInformations()">
<img class="search-icon" src="images/icons/search.svg">
</button>
</div>
<div class="cart">
<a href="checkout.html">
<img class="cart-icon" src="images/icons/cart.png">
</a>
<p class="cart-num">0</p>
</div>
</div>
</div>
</div>
<div class="product-grid">
<!--
1. 把資料儲存起來
2. 產生html
3. 加上功能
-->
</div>
<script src="scripts/home.js"></script>
</body>
</html>