mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-02-14 10:07:37 +01:00
Test and fix last build
This commit is contained in:
@@ -10,9 +10,9 @@ const { t } = useI18n({
|
|||||||
useScope: 'local',
|
useScope: 'local',
|
||||||
})
|
})
|
||||||
|
|
||||||
const time = useTimeAgo(new Date(stats.value!.coding?.data.range.start) ?? new Date()).value.split(' ')[0]
|
const time = useTimeAgo(new Date(stats.value!.coding.data.range.start) ?? new Date()).value.split(' ')[0]
|
||||||
const date = useDateFormat(new Date(stats.value!.coding?.data.range.start ?? new Date()), 'DD MMMM YYYY', { locales: currentLocale.value?.code ?? 'en' })
|
const date = useDateFormat(new Date(stats.value!.coding.data.range.start ?? new Date()), 'DD MMMM YYYY', { locales: currentLocale.value?.code ?? 'en' })
|
||||||
const hours = usePrecision(stats.value!.coding?.data.grand_total.total_seconds_including_other_language / 3600, 0)
|
const hours = usePrecision(stats.value!.coding.data.grand_total.total_seconds_including_other_language / 3600, 0)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -23,18 +23,18 @@ const hours = usePrecision(stats.value!.coding?.data.grand_total.total_seconds_i
|
|||||||
tag="p"
|
tag="p"
|
||||||
>
|
>
|
||||||
<template #time>
|
<template #time>
|
||||||
time<!-- {{ time }} -->
|
{{ time }}
|
||||||
</template>
|
</template>
|
||||||
<template #date>
|
<template #date>
|
||||||
<HoverText
|
<HoverText
|
||||||
:hover="t('tooltip.date')"
|
:hover="t('tooltip.date')"
|
||||||
text="date"
|
:text="date"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #hours>
|
<template #hours>
|
||||||
<HoverText
|
<HoverText
|
||||||
:hover="t('tooltip.hours')"
|
:hover="t('tooltip.hours')"
|
||||||
text="hours"
|
:text="hours"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #editors>
|
<template #editors>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ const { myLocation, locations } = useVisitors()
|
|||||||
<template>
|
<template>
|
||||||
<main class="!max-w-none prose dark:prose-invert">
|
<main class="!max-w-none prose dark:prose-invert">
|
||||||
<ContentRenderer v-if="page" :value="page" />
|
<ContentRenderer v-if="page" :value="page" />
|
||||||
<HomeStats />
|
<!-- todo: fix <HomeStats /> -->
|
||||||
<HomeActivity />
|
<HomeActivity />
|
||||||
<HomeQuote />
|
<HomeQuote />
|
||||||
<HomeCatchPhrase />
|
<HomeCatchPhrase />
|
||||||
|
|||||||
Reference in New Issue
Block a user