feat: add light version

This commit is contained in:
Rekryt
2025-07-02 21:32:45 +03:00
parent 9d261605a1
commit a0b041730e
27 changed files with 108 additions and 157 deletions

View File

@@ -2,7 +2,10 @@
const { t } = useI18n({
useScope: 'local',
});
const links = computed(() => [{ name: t('issue'), Link: 'https://github.com/rekryt/iplist/issues' }]);
const links = computed(() => [
{ name: t('issue'), Link: 'https://github.com/rekryt/iplist/issues' },
{ name: t('lightVersion'), Link: '/index' },
]);
</script>
<template>
<v-footer id="core-footer">
@@ -24,13 +27,16 @@ const links = computed(() => [{ name: t('issue'), Link: 'https://github.com/rekr
<i18n lang="json">
{
"en": {
"issue": "Issue"
"issue": "Issue",
"lightVersion": "Light version"
},
"ru": {
"issue": "Задать вопрос"
"issue": "Задать вопрос",
"lightVersion": "Лёгкая версия"
},
"cn": {
"issue": "提交问题"
"issue": "提交问题",
"lightVersion": "轻量版"
}
}
</i18n>