mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 20:54:48 -04:00
49 lines
1.3 KiB
Vue
49 lines
1.3 KiB
Vue
<template>
|
|
<Page v-if="config.workshops?.enabled">
|
|
<h2>
|
|
<Icon v="chalkboard-teacher" />
|
|
<T>workshops.headerLong</T>
|
|
</h2>
|
|
|
|
<section>
|
|
<div class="text-center mb-3 mx-3 float-md-end" style="max-width: 480px;">
|
|
<img :src="`/banners/workshops-${config.locale}-full.png`" class="mw-100" alt="">
|
|
</div>
|
|
|
|
<T>workshops.content</T>
|
|
|
|
<a :href="`mailto:${config.workshops.email}`" target="_blank" class="btn btn-primary w-100">
|
|
<Icon v="envelope" />
|
|
{{ config.workshops.email }}
|
|
</a>
|
|
</section>
|
|
|
|
<Separator icon="heart" />
|
|
|
|
<Mission />
|
|
</Page>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import { useNuxtApp } from 'nuxt/app';
|
|
import useSimpleHead from '../composables/useSimpleHead.ts';
|
|
import useConfig from '../composables/useConfig.ts';
|
|
|
|
export default defineComponent({
|
|
setup() {
|
|
definePageMeta({
|
|
translatedPaths: (config) => translatedPathByConfigModule(config.workshops),
|
|
});
|
|
|
|
const { $translator: translator } = useNuxtApp();
|
|
useSimpleHead({
|
|
title: translator.translate('workshops.headerLong'),
|
|
}, translator);
|
|
return {
|
|
config: useConfig(),
|
|
};
|
|
},
|
|
});
|
|
</script>
|