Skip to content

Commit 4455f73

Browse files
authored
Merge pull request #12 from deanfchung/master
routes menu works gucci and looks louis
2 parents daf98c9 + a36b22d commit 4455f73

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

src/components/RouteDisplay.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<div class="route-display">
3-
<q-input
2+
<div>
3+
<q-input
44
@keyup.enter.native="handleEnterKeyPress"
55
standout="bg-teal text-white"
66
bottom-slots
@@ -10,6 +10,10 @@
1010
class="input-add"
1111
>
1212
</q-input>
13+
<!--<div class="route-display">-->
14+
<!--
15+
16+
-->
1317
<Routes></Routes>
1418
</div>
1519
</template>

src/components/Routes.vue

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
11
<template>
2-
<div class="route-view">
2+
<div>
3+
<!--<div class="route-view">-->
34
<a
45
:class="route === activeRoute ? 'panel-block is-active' : 'panel-block'"
56
v-for="route in Object.keys(routes)"
67
:key="route"
78
@click="handleClick(route)"
89
>
10+
<!--
911
<span class="panel-icon">
1012
<i class="fas fa-location-arrow" aria-hidden="true"></i>
1113
</span>
12-
{{ route }}
14+
-->
15+
<q-list bordered separator>
16+
<q-item clickable v-ripple>
17+
<q-item-section>{{route}}</q-item-section>
18+
19+
</q-item>
20+
21+
</q-list>
22+
1323
</a>
1424
</div>
25+
1526
</template>
1627

1728
<script>

0 commit comments

Comments
 (0)