mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Pogrubienie linku dziennika w headerze
This commit is contained in:
+2
-1
@@ -33,7 +33,8 @@
|
||||
.route {
|
||||
margin: 0 0.2em;
|
||||
|
||||
&-active {
|
||||
&-active,
|
||||
&[data-active='true'] {
|
||||
color: $accentCol;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
/
|
||||
<router-link class="route" active-class="route-active" to="/trains">{{ $t('app.trains') }}</router-link>
|
||||
/
|
||||
<router-link class="route" active-class="route-active" to="/journal/timetables">
|
||||
<router-link class="route" active-class="route-active" :data-active="$route.path.startsWith('/journal')" to="/journal">
|
||||
{{ $t('app.journal') }}
|
||||
</router-link>
|
||||
</span>
|
||||
|
||||
+4
-1
@@ -19,7 +19,10 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: 'SceneryView',
|
||||
component: () => import('../views/SceneryView.vue'),
|
||||
},
|
||||
|
||||
{
|
||||
path: '/journal',
|
||||
redirect: '/journal/timetables'
|
||||
},
|
||||
{
|
||||
path: '/journal/timetables',
|
||||
name: 'JournalTimetables',
|
||||
|
||||
Reference in New Issue
Block a user