-
Notifications
You must be signed in to change notification settings - Fork 0
/
SmartHomeGroceries.html
125 lines (114 loc) · 4.06 KB
/
SmartHomeGroceries.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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="./styles/stylesheet.css">
<link rel="stylesheet" href="./styles/groceries.css">
<link rel="stylesheet" href="./styles/mediaqueries.css">
<link rel="stylesheet" href="./styles/animations.css">
<title>SmartHome Groceries</title>
<link rel="icon" href="./media/images/logo-groceries.png">
</head>
<!-- Body of the website -->
<body id="SmartHomeGroceriesPage" class="loading-animation">
<header>
<nav>
<div class="nav-wrapper">
<a id="return-from-page-button" href="SmartHome.html">
<svg class="svg-icon"
style="width: 1em; margin: auto; transform: scale(1.2); display: flex; height: 1em;fill: currentColor;overflow: hidden;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
<path
d="M810.666667 469.333333H304.64l154.88-186.026666a42.666667 42.666667 0
1 0-65.706667-54.613334l-213.333333 256a50.773333 50.773333 0 0 0-3.84 6.4c0
2.133333 0 3.413333-2.986667 5.546667A42.666667 42.666667 0 0 0 170.666667
512a42.666667 42.666667 0 0 0 2.986666 15.36c0 2.133333 0 3.413333 2.986667
5.546667a50.773333 50.773333 0 0 0 3.84 6.4l213.333333 256A42.666667 42.666667
0 0 0 426.666667 810.666667a42.666667 42.666667 0 0 0 27.306666-9.813334 42.666667
42.666667 0 0 0 5.546667-60.16L304.64 554.666667H810.666667a42.666667 42.666667 0 0 0 0-85.333334z"
fill="#231F20" />
</svg>
</a>
<div id="logo" onclick="location.reload()"><img src="./media/images/logo-groceries.png" alt="SmartHome Logo">
<p>SmartHome Groceries</p>
</div>
</div>
<div class="nav-wrapper" style="flex-direction: row-reverse;">
<div id="current-time"></div>
<div id="user">
<img src="./media/images/man.png" alt="Your user icon">
<div id="user-settings-wrapper">
<div id="user-name"></div>
<div id="user-address">Your Address:
<br>
123 Nicki Lane,<br>
Gag City,<br>
Floptropica.
</div>
<div id="user-delete">Delete this profile</div>
</div>
</div>
<div id="cart">
<p id="cart-count">0</p>
<img src="./media/images/cart-icon.png" alt="Shopping cart">
</div>
<div id="cart-view">
</div>
</div>
</nav>
</header>
<main>
<h1 id="welcome">
<span>Welcome to</span>
SmartHome Groceries
</h1>
<div id="content-windows">
<div id = "search-wrapper">
<div id="search-products-bar" class="form-group">
<input id="search-products-input" type="text" name="searchProducts" placeholder=" ">
<label for="search-products-input">
<svg xmlns="http://www.w3.org/2000/svg"
width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1
1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
</svg>
<span>Search Products</span>
</label>
</div>
</div>
<div id="stores">
<p id="stores-text"></p>
<div id="stores-selection">
</div>
<div class="paddles">
<button class="left-paddle paddle">
<
</button>
<button class="right-paddle paddle">
>
</button>
</div>
</div>
</div>
</main>
<footer>
<div id="settings"><img src="media/images/settings-icon.png" alt="Settings icon">
<div></div>
</div>
<div id="more-info"><p>i</p></div>
<select id="language-select">
<option value="en">English</option>
<option value="pt">Português</option>
</select>
</footer>
<script src="scripts/main.js"></script>
<script src="scripts/language.js"></script>
<script src="scripts/settings.js"></script>
<script src="scripts/time.js"></script>
<script src="scripts/groceriesProducts.js"></script>
<script src="scripts/groceries.js"></script>
<script src="scripts/scroll.js"></script>
<script src="scripts/addingUser.js"></script>
</body>
</html>