|
|
@@ -1,11 +1,5 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<div v-if="authenticated" class="main-container">
|
|
3
|
|
- <div class="appHeader">
|
|
4
|
|
- <h4>
|
|
5
|
|
- Click the map in two places to begin.
|
|
6
|
|
- You may drag either the markers or the route itself to adjust the path.
|
|
7
|
|
- </h4>
|
|
8
|
|
- </div>
|
|
9
|
3
|
<div class="mainMap">
|
|
10
|
4
|
<GoogleMap v-on:updateRoute="updateElevation"/>
|
|
11
|
5
|
</div>
|
|
|
@@ -44,21 +38,15 @@
|
|
44
|
38
|
<style scoped>
|
|
45
|
39
|
body {
|
|
46
|
40
|
display: grid;
|
|
47
|
|
- grid-template-rows: 100px 3fr 2fr;
|
|
48
|
|
- grid-template-columns: 1fr 3fr 3fr 1fr;
|
|
|
41
|
+ grid-template-rows: 3fr 1fr;
|
|
|
42
|
+ grid-template-columns: 1fr 2fr 2fr 1fr;
|
|
49
|
43
|
grid-template-areas:
|
|
50
|
|
- "header header header header"
|
|
51
|
|
- "...... map map ......."
|
|
52
|
|
- "info info info info";
|
|
|
44
|
+ "map map map map "
|
|
|
45
|
+ ".... info info ....";
|
|
53
|
46
|
justify-items: center;
|
|
54
|
47
|
align-items: center;
|
|
55
|
48
|
}
|
|
56
|
49
|
|
|
57
|
|
- .appHeader {
|
|
58
|
|
- grid-area: header;
|
|
59
|
|
- justify-self: center;
|
|
60
|
|
- }
|
|
61
|
|
-
|
|
62
|
50
|
.mainMap {
|
|
63
|
51
|
grid-area: map;
|
|
64
|
52
|
}
|