mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-31 12:29:25 +01:00
Update navigation link in AppHeader, enhance locale handling in Activity and Stats components, and set compatibility date in nuxt.config
This commit is contained in:
@@ -3,7 +3,7 @@ import type { UseTimeAgoMessages } from '@vueuse/core'
|
||||
import type { Activity } from '~~/types'
|
||||
import { activityMessages, IDEs } from '~~/types'
|
||||
|
||||
const { t } = useI18n({
|
||||
const { locale, locales, t } = useI18n({
|
||||
useScope: 'local',
|
||||
})
|
||||
|
||||
@@ -21,7 +21,6 @@ const codingActivity = computed(() => {
|
||||
: activities[0]
|
||||
})
|
||||
|
||||
const { locale, locales } = useI18n()
|
||||
const currentLocale = computed(() => locales.value.find(l => l.code === locale.value))
|
||||
|
||||
const isActive = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user