mirror of
https://github.com/Spythere/srjp-td2.git
synced 2026-05-03 05:28:12 +00:00
22 lines
697 B
Vue
22 lines
697 B
Vue
<template>
|
|
<div
|
|
class="overflow-auto p-1 bg-white print:bg-white dark:bg-zinc-950 print:text-black text-black dark:text-white min-h-full"
|
|
:class="{ dark: globalStore.darkMode }"
|
|
>
|
|
<h2 class="p-1 font-bold w-max">
|
|
{{ globalStore.currentTimetableData!.category }}
|
|
{{ globalStore.currentTimetableData!.trainNo }} {{ $t('headers.relation') }}
|
|
{{ globalStore.currentTimetableData!.route.replace('|', ' - ') }}
|
|
</h2>
|
|
|
|
<TimetableContent />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useGlobalStore } from '../../stores/global.store';
|
|
import TimetableContent from '../Timetable/TimetableContent.vue';
|
|
|
|
const globalStore = useGlobalStore();
|
|
</script>
|