mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-02-10 01:05:56 +01:00
fix: update project links to point to the new ArtStudies repository
feat: add new homelab project documentation with details on services and hardware fix: correct project code links for Monte Carlo Project and Schelling Segregation Model refactor: rename Studies Projects to ArtStudies for better clarity and consistency i18n: add project descriptions in English, Spanish, and French locales chore: update package name to artsite and adjust dependency versions style: add cover image for ArtLab project fix: update chat message labels for better readability and translation usage
This commit is contained in:
@@ -18,8 +18,6 @@ const codingActivity = computed(() => {
|
||||
: activities[0]
|
||||
})
|
||||
|
||||
const currentLocale = computed(() => locales.value.find((l: { code: string }) => l.code === locale.value))
|
||||
|
||||
const isActive = computed(() => {
|
||||
if (!codingActivity.value)
|
||||
return
|
||||
@@ -51,6 +49,7 @@ const getActivity = computed(() => {
|
||||
const ago = useTimeAgo(timestamps.start, {
|
||||
messages: activityMessages[locale.value as keyof typeof activityMessages] as UseTimeAgoMessages,
|
||||
}).value
|
||||
const currentLocale = computed(() => locales.value.find(l => l.code === locale.value))
|
||||
const formatDate = (date: number, format: string) => useDateFormat(date, format, { locales: currentLocale.value?.code ?? 'en' }).value
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user