ui: clean up nav footer
parent
64fa8d2bf4
commit
564a754a4d
|
@ -28,16 +28,13 @@ function toggleDark() {
|
||||||
/>
|
/>
|
||||||
</CommonTooltip>
|
</CommonTooltip>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<button cursor-pointer hover:underline @click="openPreviewHelp">
|
|
||||||
{{ $t('nav.show_intro') }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div>{{ $t('app_desc_short') }}</div>
|
|
||||||
<div>
|
<div>
|
||||||
<i18n-t v-if="isHydrated" keypath="nav.built_at">
|
<i18n-t v-if="isHydrated" keypath="nav.built_at">
|
||||||
<time :datetime="String(buildTimeDate)" :title="$d(buildTimeDate, 'long')">{{ buildTimeAgo }}</time>
|
<time :datetime="String(buildTimeDate)" :title="$d(buildTimeDate, 'long')">{{ buildTimeAgo }}</time>
|
||||||
</i18n-t>
|
</i18n-t>
|
||||||
|
<span v-else>
|
||||||
|
{{ $t('nav.built_at', [$d(buildTimeDate, 'shortDate')]) }}
|
||||||
|
</span>
|
||||||
<template v-if="buildInfo.version">
|
<template v-if="buildInfo.version">
|
||||||
·
|
·
|
||||||
v{{ buildInfo.version }}
|
v{{ buildInfo.version }}
|
||||||
|
@ -55,7 +52,15 @@ function toggleDark() {
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="/m.webtoo.ls/@elk" target="_blank">Mastodon</a> · <a href="https://chat.elk.zone" target="_blank">Discord</a> · <a href="https://github.com/elk-zone" target="_blank">GitHub</a>
|
<NuxtLink cursor-pointer hover:underline to="/settings/about">
|
||||||
|
{{ $t('settings.about.label') }}
|
||||||
|
</NuxtLink>
|
||||||
|
·
|
||||||
|
<a href="/m.webtoo.ls/@elk" target="_blank">Mastodon</a>
|
||||||
|
·
|
||||||
|
<a href="https://chat.elk.zone" target="_blank">Discord</a>
|
||||||
|
·
|
||||||
|
<a href="https://github.com/elk-zone" target="_blank">GitHub</a>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -76,6 +76,9 @@ const datetimeFormats = Object.values(locales).reduce((acc, data) => {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
acc[data.code] = {
|
acc[data.code] = {
|
||||||
|
shortDate: {
|
||||||
|
dateStyle: 'short',
|
||||||
|
},
|
||||||
short: {
|
short: {
|
||||||
dateStyle: 'short',
|
dateStyle: 'short',
|
||||||
timeStyle: 'short',
|
timeStyle: 'short',
|
||||||
|
|
Loading…
Reference in New Issue