Bläddra i källkod

:nut_and_bolt: toolbar placed into App.vue sidebar TODO add route nav to buttons

tags/0.0.1^2
K Rob 3 år sedan
förälder
incheckning
cc4bfd79ca
1 ändrade filer med 12 tillägg och 6 borttagningar
  1. 12
    6
      frontend/src/App.vue

+ 12
- 6
frontend/src/App.vue Visa fil

@@ -1,12 +1,18 @@
1 1
 <template lang="pug">
2 2
 w-app
3
+    w-toolbar.w-flex.no-grow.align-start.mb4
4
+        .title2 Siimee
5
+        .spacer
6
+        w-button.ml2 Home
7
+        w-button.ml2 Matches
8
+        w-button.ml2(@click="openDrawer = true" outline="") Active Chats
9
+
3 10
     .nav(v-if="profile.isLoggedIn" style="display: flex; justify-content: space-between;")
4
-        header
5
-            h2 current - profile: {{ profile.id }}
6
-        w-drawer(v-model="openDrawer")
7
-            SideBar(@updatePid="setPid" :pid="profile.id.value")
8
-        w-button(@click="openDrawer = true" outline="")
9
-            | Active Chats
11
+    header
12
+        h2 current - profile: {{ profile.id }}
13
+    w-drawer(v-model="openDrawer")
14
+        SideBar(@updatePid="setPid" :pid="profile.id.value")
15
+        
10 16
 
11 17
     RouterView(
12 18
         v-if="profile.isLoggedIn"

Laddar…
Avbryt
Spara