advent22/ui/src/components/CalendarDoor.vue

25 lines
377 B
Vue
Raw Normal View History

2022-10-30 01:27:46 +00:00
<template>
<a
class="button"
:href="'http://localhost:8000/api/days/picture/' + day"
target="_blank"
>
Türken {{ day + 1 }}
</a>
</template>
<script lang="ts">
import { Vue, Options } from "vue-class-component";
@Options({
props: {
day: Number,
},
})
export default class CalendarDoor extends Vue {
day!: number;
}
</script>
<style>
</style>