mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-10-19 20:13:10 -04:00
40 lines
1.3 KiB
Vue
40 lines
1.3 KiB
Vue
<template>
|
|
<div v-if="config.profile.enabled && !$user()" class="alert alert-info small mt-3">
|
|
<div class="row">
|
|
<div class="col-12 col-lg-3 mb-3 mb-lg-0">
|
|
<nuxt-link to="/@example">
|
|
<img src="/img/example-card.png" alt="Screenshot of an example card" class="rounded shadow mw-100">
|
|
</nuxt-link>
|
|
</div>
|
|
<div class="col">
|
|
<p>
|
|
<T>profile.banner</T>
|
|
</p>
|
|
<p>
|
|
<nuxt-link to="/@example" class="btn btn-outline-primary btn-sm mx-1 mb-1">
|
|
<Icon v="id-card" />
|
|
<T>profile.example</T>
|
|
</nuxt-link>
|
|
<nuxt-link :to="`/${config.user.route}`" class="btn btn-primary btn-sm mx-1 mb-1">
|
|
<Icon v="id-card" />
|
|
<T>profile.bannerButton</T>
|
|
</nuxt-link>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import useConfig from '../composables/useConfig.ts';
|
|
|
|
export default defineComponent({
|
|
setup() {
|
|
return {
|
|
config: useConfig(),
|
|
};
|
|
},
|
|
});
|
|
</script>
|