feat: links to Mastodon and Discord in app

zio/stable
patak 2022-12-20 12:08:03 +01:00
parent b369f80703
commit 687acc185e
1 changed files with 14 additions and 11 deletions

View File

@ -48,17 +48,20 @@ const buildTimeAgo = useTimeAgo(buildTime, timeAgoOptions)
<i18n-t keypath="nav_footer.built_at">
<time :datetime="buildTime" :title="$d(buildTimeDate, 'long')">{{ buildTimeAgo }}</time>
</i18n-t>
&middot;
<NuxtLink
v-if="buildCommit"
external
:href="`https://github.com/elk-zone/elk/commit/${buildCommit}`"
target="_blank"
font-mono
>
{{ buildCommit.slice(0, 7) }}
</NuxtLink>
&middot; <a href="https://github.com/elk-zone/elk" target="_blank">GitHub</a>
<template v-if="buildCommit">
&middot;
<NuxtLink
external
:href="`https://github.com/elk-zone/elk/commit/${buildCommit}`"
target="_blank"
font-mono
>
{{ buildCommit.slice(0, 7) }}
</NuxtLink>
</template>
</div>
<div>
<a href="https://m.webtoo.ls/@elk" target="_blank">Mastodon</a> &middot; <a href="https://chat.elk.zone" target="_blank">Discord</a> &middot; <a href="https://github.com/elk-zone" target="_blank">GitHub</a>
</div>
</footer>
</template>