File tree Expand file tree Collapse file tree 4 files changed +27
-27
lines changed Expand file tree Collapse file tree 4 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 22<i18n >
33{
44 "de": {
5- "loginText": "Login",
6- "signupText": "Unverbindliche Anfrage",
75 "mainnav.about": "Hintergrund",
86 "mainnav.imprint": "Impressum",
97 "mainnav.contact": "Kontakt"
108},
119 "fr": {
12- "loginText": "Login",
13- "signupText": "Demande sans engagement",
1410 "mainnav.about": "Contexte",
1511 "mainnav.imprint": "Impressum",
1612 "mainnav.contact": "Contact"
3531 <v-spacer ></v-spacer >
3632 <div class =" d-none d-md-block" ><language-switch /></div >
3733 <div class =" useractions d-none d-sm-block" >
38- <v-btn small text color =" primary" >
39- <router-link :to =" '/' + $i18n.locale + '/login'" >{{ $t('loginText') }}</router-link >
40- </v-btn >
41- <v-btn small outlined color =" primary" >
42- <router-link key =" signup" :to =" '/' + $i18n.locale + '/signup'" >
43- {{ $t('signupText') }}
44- </router-link >
45- </v-btn >
34+ <user-actions />
4635 </div >
4736 <v-app-bar-nav-icon @click =" mobnav=!mobnav" class =" d-md-none" ></v-app-bar-nav-icon >
4837 </v-app-bar >
6756 </v-list >
6857 <v-flex class =" useractions d-sm-none center" >
6958 <v-divider ></v-divider >
70- <v-btn small text color =" white" class =" mt-4" >
71- <router-link :to =" '/' + $i18n.locale + '/login'" >{{ $t('loginText') }}</router-link >
72- </v-btn ><br >
73- <v-btn small outlined color =" white" class =" mt-4" >
74- <router-link key =" signup" :to =" '/' + $i18n.locale + '/signup'" >
75- {{ $t('signupText') }}
76- </router-link >
77- </v-btn >
59+ <user-actions vertical =" 1" />
7860 </v-flex >
7961 </v-navigation-drawer >
8062
Original file line number Diff line number Diff line change 1313<div v-else >
1414 <v-speed-dial
1515 id =" langnav"
16- open-on-hover = " true "
16+ open-on-hover
1717 direction =" left"
1818 transition =" slide-x-reverse-transition" >
1919 <template v-slot :activator >
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import router from './router';
88import store from './store' ;
99import i18n from './trans' ;
1010import LanguageSwitch from './components/LanguageSwitch.vue' ;
11+ import UserActions from './components/UserActions.vue' ;
1112import App from './App.vue' ;
1213
1314require ( '@/assets/styles/main.css' ) ;
@@ -31,6 +32,7 @@ const apolloProvider = new VueApollo({
3132} ) ;
3233
3334Vue . component ( 'language-switch' , LanguageSwitch ) ;
35+ Vue . component ( 'user-actions' , UserActions ) ;
3436
3537new Vue ( {
3638 router,
Original file line number Diff line number Diff line change 1010<!-- eslint-enable -->
1111
1212<template >
13- <v-container my-12 >
14- <v-layout >
15- <v-flex >
16- <h1 >Snapshot</h1 >
17- </v-flex >
18- </v-layout >
13+ <v-container >
14+ <v-navigation-drawer
15+ :width =" 320"
16+ left app >
17+ <router-link id =" logo" :to =" '/' + $i18n.locale + '/'" class =" px-4 py-1 d-block" >
18+ <img alt =" gemeindescan logo" height =" 50" src =" @/assets/images/gemeindescan-logo.svg" >
19+ </router-link >
20+
21+ <v-toolbar
22+ :width =" 320"
23+ absolute
24+ bottom
25+ class =" useractions center" >
26+ <user-actions />
27+ </v-toolbar >
28+ </v-navigation-drawer >
29+
30+ <v-layout >
31+ <v-flex >
32+ <h1 >Map</h1 >
33+ </v-flex >
34+ </v-layout >
1935 </v-container >
2036</template >
2137
You can’t perform that action at this time.
0 commit comments