2021-08-14 01:42:49 -07:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<LinksNav/>
|
|
|
|
|
|
|
|
<h2>
|
|
|
|
<Icon v="calendar-star"/>
|
|
|
|
<T>calendar.headerLong</T> ({{year}})
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<CalendarBanner/>
|
|
|
|
|
|
|
|
<section class="row">
|
|
|
|
<div v-for="i in 12" class="col-12 col-sm-6 col-lg-4 py-3">
|
|
|
|
<h3 class="text-center"><T>calendar.months.{{i}}</T></h3>
|
2021-08-18 09:51:11 -07:00
|
|
|
<Calendar :year="year" :month="i" markToday/>
|
2021-08-14 01:42:49 -07:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2021-08-18 11:19:24 -07:00
|
|
|
<section>
|
|
|
|
<T>calendar.image.header</T>
|
|
|
|
<a :href="`/${imageOverview}`" target="_blank" rel="noopener" class="btn btn-outline-primary btn-sm">
|
|
|
|
<Icon v="image"/>
|
|
|
|
<T>calendar.image.overview</T>
|
|
|
|
</a>
|
|
|
|
<a :href="`/${imageLabels}`" target="_blank" rel="noopener" class="btn btn-outline-primary btn-sm">
|
|
|
|
<Icon v="image"/>
|
|
|
|
<T>calendar.image.labels</T>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
|
2021-08-14 01:42:49 -07:00
|
|
|
<Support/>
|
2021-08-18 11:19:24 -07:00
|
|
|
|
2021-08-14 01:42:49 -07:00
|
|
|
<section>
|
|
|
|
<Share :title="$t('calendar.header')"/>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { head } from "../src/helpers";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
year: new Date().getFullYear(),
|
2021-08-18 11:19:24 -07:00
|
|
|
imageOverview: `calendar/calendar-${process.env.LOCALE}-overview.png`,
|
|
|
|
imageLabels: `calendar/calendar-${process.env.LOCALE}-labels.png`,
|
2021-08-14 01:42:49 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
head() {
|
|
|
|
return head({
|
|
|
|
title: this.$t('calendar.headerLong'),
|
2021-08-18 11:19:24 -07:00
|
|
|
banner: this.imageOverview,
|
2021-08-14 01:42:49 -07:00
|
|
|
});
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|