создал homepage

This commit is contained in:
dderbentsov
2023-09-17 15:44:30 +03:00
parent 4bdd665d1f
commit c2eb6bf1e9
3 changed files with 33 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
<template lang="pug">
.wrapper.flex.flex-col.w-full.bg-white.p-4
.text-xxl.font-bold.pa-3
.text Добрый день, %username%!
.text.pt-3.cursor-pointer(@click="gotoCalendar") Расписание приемов
.text.pt-3.cursor-pointer(@click="gotoMedicalCards") Медицинские карты
</template>
<script>
export default {
name: "TheHome",
methods: {
gotoCalendar() {
this.$router.push("/calendar");
},
gotoMedicalCards() {
this.$router.push("/medcards");
},
},
};
</script>
<style lang="sass" scoped>
.wrapper
overflow: auto
border-top-left-radius: 4px
border-top-right-radius: 4px
</style>