-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
140 lines (117 loc) · 5.43 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Metro Or Drive</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://unpkg.com/[email protected]/css/basscss.min.css" rel="stylesheet">
<script type="text/javascript" src="app.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC49l21opGjGaAvpfhvInZgL3ORHV63pxo&libraries=places&callback=initMap" async defer></script>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/tachyons.min.css"/>
</head>
<body >
<!-- NAV BAR -->
<nav class="db dt-l w-100 border-box pa3 ph5-l mt3">
<div class='db dtc-l v-mid mid-gray link dim w-100 w-25-l tc tl-l mb2 mb0-l'>
<a href="./index.html" class='link dim'>MetroOrDrive</a>
</div>
<div class="db dtc-l v-mid w-100 w-75-l tc tr-l">
<a href="./about.html" class='link dim'>About</a>
</div>
</nav>
<!-- MAIN UI -->
<div class="wrapper">
<!-- INTRO TEXT -->
<div id="begin" class="page">
<div style = "padding-top: 12%">
<div class="dib w-100 pa2">
<div style ="text-align: center;">
<img src='./img/metro.svg' alt="commute" style ="margin: auto; height: 9rem"></img>
<br>
<h1 class="f2 mt4">Welcome to MetroOrDrive, a tool to help you discover the best way to commute.</h1>
<a href="#timeForm" id="next-button" class="scrollitem selected grow no-underline br-pill ba bw1 pv2 dib near-black">Let's begin</a>
</div>
</div>
</div>
</div>
<!-- RIGHT SIDE TIME FORM -->
<div class="page" id="timeForm">
<div style = "padding-top: 10%">
<div class="dib w-100 pa2" style="text-align:center">
<div style="padding-top:2%"></div>
<div class = "fl-l w-50" style="padding-top:2em">
<img src='./img/clocks.svg' alt="clocks" class="clip-m" style ="margin: auto; width: 100%; margin-left: 10%;"></img>
</div>
<div class="mt3"></div>
<p class="dib" id="instructions">First, tell us about your daily schedule:</p>
<br>
<div class="dib">
<label>When to leave home? (default: 8:00 AM)</label>
<br>
<input type="time" name="fromHome" id="leave-home" class ="mt1"/>
<br>
<div class="mt3"></div>
<label>When to leave work? (default: 6:00 PM)</label> <br>
<input type="time" name="fromWork" id="leave-work" class ="mt1" />
<br>
</div>
<div style="text-align:center;"><a id="next-button" class="scrollitem grow no-underline br-pill ba bw1 pv2 dib near-black" style="margin-top:2em" href="#addressForm">Continue</a></div>
</div>
</div>
</div>
<!-- End of Time Section-->
<!-- Address Section -->
<div class="page" id="addressForm" >
<div class="fl w-100" style="padding-top:2%" >
<p id="instructions">Now, enter your starting point and destination,
<br>and select them from the dropdown menu:</p>
<input id="home-input" class="controls" type="text" placeholder="Home address">
<input id="work-input" class="controls" type="text" placeholder="Work address">
<br>
<!-- show map -->
</div>
<div>
<div id="map" align="center"></div>
<div id="showMap"></div>
</div>
<div style="text-align:center; margin-top:2em"> <a href="#results" id="next-button" class="scrollitem grow no-underline br-pill ba bw1 pv2 dib near-black">Results</a></div>
</div>
<!-- results -->
<div class="page" id="results" style="padding-top: 5rem;">
<div style="text-align:center">
<div id="resultSection" class="f3"></div>
<div id="homeInput"></div>
<div id="workInput"></div>
<article class="cf" style="text-align:center; margin-left:10%; margin-right:10%;">
<div class="fl w-100 w-50-ns" style="text-align:center" >
<div id="carLogo"></div>
<div id="drivingInput" style="padding:5px; margin-right: 5%; "></div>
<div id="drivingCost" style="padding:5px; margin-right: 5%;"></div>
</div>
<div class="fl w-100 w-50-ns" style="text-align:center">
<div id="metroLogo"></div>
<div id="transitInput" style="padding-top:2px; padding:5px; margin-left: 5%;"></div>
<div id="transitCost" style=" padding:5px; margin-left: 5%;"></div>
<div id="walkingInput" ></div>
</div>
</article>
<div class=" dib w-100 pa4" style="text-align:center; padding-top: 3rem;">
<div id="transitFee" style="font-size: 1rem;font-weight: 350;"></div>
<div id="theButton"><p class="f3" style="padding-top:3em">Oops, looks like someone forgot their address...
<div style="text-align:center"><a href="#addressForm" id="next-button" class="scrollitem grow no-underline br-pill ba bw1 pv2 dib near-black">Back</a></div></div>
</div>
<div class="dib w-100" style="padding-top: 50px; text-align:center;">
</div>
</div>
<!-- FOOTER -->
<div>
<img src='./img/LA_skyline.svg' alt="LA skyline"></img>
<div class="dib w-100 mt2" style="text-align:center">
<p class="dib" style="padding-bottom:1rem; font-size:1.25rem; font-weight:300 "> <a id="aboutlink2" href="https://github.com/eliserothberg">Elise</a> & <a id="aboutlink2" href="https://github.com/kelasol">Kelena</a> & <a id="aboutlink2" href="https://github.com/wandiliu">Wandi</a> </p>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/transition.js"></script>
</body>
</html>