Client - refactoring

This commit is contained in:
Sam
2021-10-13 09:57:48 +02:00
parent 73bc310b49
commit ea2357b80c
8 changed files with 6 additions and 6 deletions

View File

@ -1,31 +0,0 @@
<template>
<div class="no-workouts box">
<div>
{{ t('workouts.NO_WORKOUTS') }}
<router-link to="/workouts/add">
{{ t('workouts.UPLOAD_FIRST_WORKOUT') }}
</router-link>
</div>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { useI18n } from 'vue-i18n'
export default defineComponent({
name: 'NoWorkouts',
setup() {
const { t } = useI18n()
return { t }
},
})
</script>
<style lang="scss" scoped>
@import '~@/scss/base.scss';
.no-workouts {
display: flex;
justify-content: center;
}
</style>