feat: links to Mastodon and Discord in app

This commit is contained in:
patak 2022-12-20 12:08:03 +01:00
parent b369f80703
commit 687acc185e

View file

@ -48,9 +48,9 @@ const buildTimeAgo = useTimeAgo(buildTime, timeAgoOptions)
<i18n-t keypath="nav_footer.built_at"> <i18n-t keypath="nav_footer.built_at">
<time :datetime="buildTime" :title="$d(buildTimeDate, 'long')">{{ buildTimeAgo }}</time> <time :datetime="buildTime" :title="$d(buildTimeDate, 'long')">{{ buildTimeAgo }}</time>
</i18n-t> </i18n-t>
<template v-if="buildCommit">
&middot; &middot;
<NuxtLink <NuxtLink
v-if="buildCommit"
external external
:href="`https://github.com/elk-zone/elk/commit/${buildCommit}`" :href="`https://github.com/elk-zone/elk/commit/${buildCommit}`"
target="_blank" target="_blank"
@ -58,7 +58,10 @@ const buildTimeAgo = useTimeAgo(buildTime, timeAgoOptions)
> >
{{ buildCommit.slice(0, 7) }} {{ buildCommit.slice(0, 7) }}
</NuxtLink> </NuxtLink>
&middot; <a href="https://github.com/elk-zone/elk" target="_blank">GitHub</a> </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> </div>
</footer> </footer>
</template> </template>