-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
190 lines (165 loc) · 5.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Traveltainment</title>
<!-- favicon -->
<link rel="shortcut icon" href="./assets/favicon.ico" type="image/x-icon">
<!-- fontawesome -->
<script src="https://kit.fontawesome.com/51d17a3aa7.js" crossorigin="anonymous"></script>
<!-- google fonts -->
<link href="https://fonts.googleapis.com/css2?family=Abel&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<!-- stylesheet -->
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
<!-- page container to keep footer at bottom of page -->
<div class="pageContainer">
<!-- header -->
<header>
<div class="wrapper">
<div class="topBar">
<!-- Main Heading -->
<div class="logo">
<h1><a href="#">Travel<span>tainment</span></a></h1>
<div class="tagline">
<h2>Find shows & movies to watch while travelling!</h2>
</div>
</div>
<!-- Main search form -->
<form class="form__search" action="#">
<div class="search">
<!-- select media options -->
<div class="search__options">
<!-- Movies -->
<div class="floatLabel-container">
<input class="searchForm__input" type="radio" name="media" id="movie" value="movie" checked>
<label for="movie">
<i class="fas fa-film"></i>
<p>Movie</p>
</label>
</div>
<!-- TV -->
<div class="floatLabel-container">
<input class="searchForm__input" type="radio" name="media" id="tv" value="tv">
<label for="tv">
<i class="fas fa-tv"></i>
<p>TV</p>
</label>
</div>
<!-- Genre -->
<div class="genre">
<label class="sr-only" for="genres">Genre</label>
<select class="searchForm__input" name="genre" id="genres">
<!-- options generated here -->
</select>
</div>
</div>
<div class="search__time__container">
<!-- enter commute time -->
<div class="search__time">
<!-- Hours -->
<div class="floatLabel-container">
<input type="number" id="travelHours" name="travelHours" placeholder="Hours">
<label class="label__float" for="travelHours">Hours</label>
</div>
:
<!-- Minutes -->
<div class="floatLabel-container">
<input type="number" id="travelMinutes" name="travelMinutes" placeholder="Minutes">
<label class="label__float" for="travelMinutes">Minutes</label>
</div>
<!-- Submit button -->
<button class="button__primary" type="submit">Search</button>
<p class="instruction">Enter your travel time here</p>
</div>
</div>
</div>
</form>
<div class="commuteTime">
<!-- find commute time button (map) -->
<button class="button__commute">
<p>How long is my trip?</p>
<i class="fas fa-map-marked-alt"></i>
</button>
<!-- Directions -->
<div class="directions hidden">
<form class="form__directions" action="#">
<h2>Find your travel time:</h2>
<!-- Origin -->
<div class="floatLabel-container">
<input type="text" name="origin" id="origin" placeholder="Origin" required>
<label class="label__float" for="origin">Origin</label>
</div>
<!-- Destination -->
<div class="floatLabel-container">
<input type="text" name="destination" id="destination" placeholder="Destination" required>
<label class="label__float" for="destination">Destination</label>
</div>
<!-- Travel Mode -->
<div>
<label for="travelMode" class="sr-only">Travel mode</label>
<select name="travelMode" id="travelMode">
<option value="driving">Driving</option>
<option value="walking">Walking</option>
<option value="bicycling">Bicycling</option>
<option value="transit">Transit</option>
<option value="flying">Flying</option>
</select>
</div>
<!-- Submit -->
<button class="button__primary" type="submit">Submit</button>
</form>
<div class="map-container">
<div class="map hidden">
<!-- google map generated here -->
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- main -->
<main>
<div class="wrapper">
<div class="content">
<section class="mediaResults">
<div class="mediaResults__top">
<h2 class="mediaResults__heading">Search Results</h2>
</div>
<div class="mediaResults__content">
<!-- media results generated here -->
<p>Click the <span>Find</span> button to get a list of suggestions!</p>
</div>
</section>
<aside class="sidebar">
<div class="sidebar__top">
<h2 class="sidebar__title">List</h2>
<!-- total time -->
</div>
<div class="sidebar__content">
<!-- sidebar content generated here -->
</div>
<div class="sidebar__text">Add something to the list!</div>
</aside>
</div>
</div>
</main>
<!-- footer -->
<footer>
<div class="wrapper">
<div class="copyright-container">
<p class="copyright">© Copyright <a href="https://andrefacey.com" rel="noreferrer">Andre Facey</a> & <a href="https://github.com/nkanigsberg" rel="noreferrer">Nathan Kanigsberg</a></p>
<p class="created">Created at <a href="https://junocollege.com/" rel="noreferrer">Juno College</a></p>
</div>
</div>
</footer>
</div>
<!-- jQuery -->
<script src='https://code.jquery.com/jquery-3.5.1.min.js' integrity='sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=' crossorigin='anonymous'></script>
<!-- Main Script -->
<script src="./scripts/script.js"></script>
</body>
</html>