This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/routes/zine.vue

58 lines
1.4 KiB
Vue
Raw Normal View History

2021-10-21 11:43:57 -07:00
<template>
<div>
<LinksNav/>
2021-10-26 11:13:05 -07:00
<h2>
2021-10-26 11:13:42 -07:00
<Icon v="zine.svg" :inverse="darkMode"/>
2021-10-26 11:13:05 -07:00
<T>links.zine.headerLong</T>
</h2>
<T>links.zine.info</T>
<h3 class="mb-3">
2021-10-26 11:13:05 -07:00
<Icon v="bullhorn"/>
<T>links.zine.submissions.header</T>
</h3>
<ZineSubmissions v-if="config.links.zine.open" class="alert alert-info"/>
<div v-else>
<div class="alert alert-warning">
<p class="h6 mb-0">
<Icon v="exclamation-triangle"/>
<T>links.zine.submissions.closed</T>
</p>
</div>
<details class="border mb-3">
<summary class="bg-light p-3">
<T>links.zine.submissions.header</T>
</summary>
<ZineSubmissions class="p-3 border-top"/>
</details>
2021-10-21 11:43:57 -07:00
</div>
2021-12-25 15:46:05 -08:00
<Separator icon="heart"/>
2021-10-21 11:43:57 -07:00
<Support/>
<section>
<Share :title="$t('links.zine.header')"/>
</section>
</div>
</template>
<script>
import { head } from "../src/helpers";
2021-10-26 11:13:42 -07:00
import {mapState} from "vuex";
2021-10-21 11:43:57 -07:00
export default {
2021-10-26 11:13:42 -07:00
computed: {
...mapState([
'darkMode',
]),
},
2021-10-21 11:43:57 -07:00
head() {
return head({
title: this.$t('links.zine.headerLong'),
});
},
};
</script>