mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Fix: bug routingu dzienników
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<template>
|
||||
<section class="journal-header">
|
||||
<div class="journal-type-options">
|
||||
<router-link class="router-link" active-class="route-active" to="/journal/timetables" exact>
|
||||
{{ $t('journal.section-timetables') }}
|
||||
</router-link>
|
||||
•
|
||||
<router-link class="router-link" active-class="route-active" to="/journal/dispatchers">
|
||||
{{ $t('journal.section-dispatchers') }}
|
||||
</router-link>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.journal-type-options {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
background-color: #2c2c2c;
|
||||
max-width: 18em;
|
||||
|
||||
font-size: 1.2em;
|
||||
margin: 0 auto;
|
||||
|
||||
border-radius: 0 0 0.5em 0.5em;
|
||||
padding: 0.1em 0;
|
||||
}
|
||||
|
||||
.journal-section > section {
|
||||
height: 100%;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.router-link.active {
|
||||
color: gold;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user