-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
201 lines (170 loc) · 5.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Team Kil-A-Bytes">
<meta name="description" content="INFO 1601 Project for team Kil-A-Bytes 'The Food Vault'">
<link rel="stylesheet" href="style.css">
<title>The Food Vault</title>
<style>
.vertical-card {
height: 350px;
background-image: linear-gradient( 109.6deg, rgb(47, 255, 245) 11.2%, rgb(184, 190, 245) 91.1% );
}
.vertical-card:hover {
background-color: #94c0ca;
}
.horizontal-card {
height: 140px;
width: 100%;
background: rgb(238,174,202);
background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
}
.member-name {
display: flex;
flex: 6.5;
justify-content: center;
align-items: center;
}
.member-roles {
flex: 3.5;
justify-content: center;
align-items: center;
}
@media screen and (max-width: 600px) {
h2 {
padding-left: 5px;
padding-right: 5px;
font-size: 1.3em;
margin: 0;
}
h3 {
padding-left: 5px;
padding-right: 5px;
font-size: 1em;
}
#trending-container > .vertical-card {
width: 75%;
height: 280px;
}
.horizontal-card {
width: 120%;
flex-direction: column;
}
}
</style>
</head>
<body>
<!-- Main View -->
<main id="app">
<!-- Side Nav Chat-area -->
<div id="chatbot-area" class="side-nav collapsed">
<a href="javascript:void(0)" class="closebutton" onclick="closeChatArea()">×</a>
<iframe id="annabot-iframe" src="https://tfv-annabot.herokuapp.com/s/chat" frameborder="1" width="90%" height="90%"></iframe>
</div>
<!-- Main page content goes here -->
<div id="page-content">
<!-- Main Navigation bar for top of page -->
<div style="justify-content: center; margin: 0 auto;">
<nav id="main-nav-bar" class="nav-bar">
<ul class="links-container">
<a href="index.html"><button class="selected">Home</button></a>
<a href="testimonials.html"><button>Testimonials</button></a>
<a href="catalogue.html"><button>Catalogue</button></a>
</ul>
</nav>
</div>
<br><br>
<h1><b>Welcome to<br>The Food Vault</b></h1>
<br>
<!-- Trending section -->
<section id="trending">
<br>
<h2><b>See Which Places Are Trending</b></h2>
<hr><br>
<div id="trending-container" class="vertical-container" style="width: 100%;"></div>
<br>
</section>
<br><br><br>
<!-- Special Credits -->
<section id="credits">
<br>
<h2 style="padding: 10px"><b>Made With Love From<br>Team Kil-A-Bytes</b></h2>
<hr><br>
<div id="credits-container" class="horizontal-container" style="width: 70%;">
<div id="team-member-1" class="horizontal-card">
<div class="member-name">
<h2><b>Amelia Seemungal</b></h2>
</div>
<div class="member-roles">
<h3>UI Design</h3>
<h3>Marketing</h3>
</div>
</div>
<div id="team-member-2" class="horizontal-card">
<div class="member-name">
<h2><b>Keshan Moosai</b></h2>
</div>
<div class="member-roles">
<h3>UI Design</h3>
<h3>JS Implementation</h3>
</div>
</div>
<div id="team-member-3" class="horizontal-card">
<div class="member-name">
<h2><b>Shaniah Baldeo</b></h2>
</div>
<div class="member-roles">
<h3>UI Implementation</h3>
<h3>Marketing</h3>
</div>
</div>
<div id="team-member-4" class="horizontal-card">
<div class="member-name">
<h2><b>Ricardo Ramdeen</b></h2>
</div>
<div class="member-roles">
<h3>UI Implementation</h3>
<h3>JS Implementation</h3>
</div>
</div>
</div>
<br>
</section>
</div>
<hr>
<!-- Modal Container for Pop-ups -->
<div id="restaurant-modal-container" class="modal"></div>
</main>
<!-- Button to Expand Chat-area -->
<button id="fixed-button" onclick="openChatArea()">Expand<br>Chat</button>
<!-- Footer -->
<footer>
<div class="horizontal-container">
<p>Find Us @</p>
<div class="vertical-container">
<a href="https://www.instagram.com/thefoodvault" style="margin-right: 7px;">
<img src="images/instagram.png" alt="Instagram" width="30" height="30" >
</a>
<a href="https://www.twitter.com/thefoodvault" style="margin-left: 7px;">
<img src="images/twitter.png" alt="Twitter" width="30" height="30">
</a>
</div>
<div id="trademark">
<p>
© The Food Vault by Team Kil-A-Bytes
</p>
</div>
</div>
</footer>
<br>
<script src="index.js"></script>
<script>
// Initialize the trending section after the page loads
window.onload = function() {
generateTrending();
}
</script>
</body>
</html>