replaced another bunch, and some fixes

This commit is contained in:
dakkar 2024-06-22 13:55:21 +01:00
parent 712682ea47
commit b675c66d70
22 changed files with 37 additions and 28 deletions

View file

@ -137,7 +137,7 @@ const menuDef = computed(() => [{
to: '/admin/emojis',
active: currentPage.value?.route.name === 'emojis',
}, {
icon: 'ph-sparkle ph-bold ph-lg',
icon: 'ti ti-sparkles',
text: i18n.ts.avatarDecorations,
to: '/admin/avatar-decorations',
active: currentPage.value?.route.name === 'avatarDecorations',
@ -220,7 +220,7 @@ const menuDef = computed(() => [{
to: '/admin/instance-block',
active: currentPage.value?.route.name === 'instance-block',
}, {
icon: 'ph-ghost ph-bold ph-lg',
icon: 'ti ti-ghost',
text: i18n.ts.proxyAccount,
to: '/admin/proxy-account',
active: currentPage.value?.route.name === 'proxy-account',
@ -230,7 +230,7 @@ const menuDef = computed(() => [{
to: '/admin/external-services',
active: currentPage.value?.route.name === 'external-services',
}, {
icon: 'ph-faders ph-bold ph-lg',
icon: 'ti ti-adjustments',
text: i18n.ts.other,
to: '/admin/other-settings',
active: currentPage.value?.route.name === 'other-settings',

View file

@ -108,6 +108,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.other,
icon: 'ph-faders ph-bold ph-lg',
icon: 'ti ti-adjustments',
}));
</script>

View file

@ -66,6 +66,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.proxyAccount,
icon: 'ph-ghost ph-bold ph-lg',
icon: 'ti ti-ghost',
}));
</script>

View file

@ -96,6 +96,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.avatarDecorations,
icon: 'ph-sparkle ph-bold ph-lg',
icon: 'ti ti-sparkles',
}));
</script>

View file

@ -98,6 +98,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.registry,
icon: 'ph-faders ph-bold ph-lg',
icon: 'ti ti-adjustments',
}));
</script>

View file

@ -125,6 +125,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.registry,
icon: 'ph-faders ph-bold ph-lg',
icon: 'ti ti-adjustments',
}));
</script>

View file

@ -75,6 +75,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.registry,
icon: 'ph-faders ph-bold ph-lg',
icon: 'ti ti-adjustments',
}));
</script>

View file

@ -89,8 +89,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-if="game.isEnded" class="_panel _gaps_s" style="padding: 16px;">
<div>{{ logPos }} / {{ game.logs.length }}</div>
<div v-if="!autoplaying" class="_buttonsCenter">
<MkButton :disabled="logPos === 0" @click="logPos = 0"><i class="ph-caret-left ph-bold ph-lg"></i></MkButton>
<MkButton :disabled="logPos === 0" @click="logPos--"><i class="ph-caret-left ph-bold ph-lg"></i></MkButton>
<MkButton :disabled="logPos === 0" @click="logPos = 0"><i class="ti ti-chevrons-left"></i></MkButton>
<MkButton :disabled="logPos === 0" @click="logPos--"><i class="ti ti-chevron-left"></i></MkButton>
<MkButton :disabled="logPos === game.logs.length" @click="logPos++"><i class="ti ti-chevron-right"></i></MkButton>
<MkButton :disabled="logPos === game.logs.length" @click="logPos = game.logs.length"><i class="ti ti-chevrons-right"></i></MkButton>
</div>

View file

@ -130,7 +130,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.avatarDecorations,
icon: 'ph-sparkle ph-bold ph-lg',
icon: 'ti ti-sparkles',
}));
</script>

View file

@ -615,7 +615,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.general,
icon: 'ph-faders ph-bold ph-lg',
icon: 'ti ti-adjustments',
}));
const useCustomSearchEngine = computed(() => !Object.keys(searchEngineMap).includes(searchEngine.value));

View file

@ -67,7 +67,7 @@ const menuDef = computed(() => [{
to: '/settings/profile',
active: currentPage.value?.route.name === 'profile',
}, {
icon: 'ph-lock ph-bold ph-lg-open',
icon: 'ti ti-lock-open',
text: i18n.ts.privacy,
to: '/settings/privacy',
active: currentPage.value?.route.name === 'privacy',
@ -100,7 +100,7 @@ const menuDef = computed(() => [{
}, {
title: i18n.ts.clientSettings,
items: [{
icon: 'ph-faders ph-bold ph-lg',
icon: 'ti ti-adjustments',
text: i18n.ts.general,
to: '/settings/general',
active: currentPage.value?.route.name === 'general',

View file

@ -82,7 +82,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</FormSection>
<FormSection>
<FormLink to="/registry"><template #icon><i class="ph-faders ph-bold ph-lg"></i></template>{{ i18n.ts.registry }}</FormLink>
<FormLink to="/registry"><template #icon><i class="ti ti-adjustments"></i></template>{{ i18n.ts.registry }}</FormLink>
</FormSection>
<FormSection>

View file

@ -120,6 +120,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.privacy,
icon: 'ph-lock ph-bold ph-lg-open',
icon: 'ti ti-lock-open',
}));
</script>

View file

@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkAvatar :class="$style.avatar" :user="$i" forceShowDecoration @click="changeAvatar"/>
<div class="_buttonsCenter">
<MkButton primary rounded @click="changeAvatar">{{ i18n.ts._profile.changeAvatar }}</MkButton>
<MkButton primary rounded link to="/settings/avatar-decoration">{{ i18n.ts.decorate }} <i class="ph-sparkle ph-bold ph-lg"></i></MkButton>
<MkButton primary rounded link to="/settings/avatar-decoration">{{ i18n.ts.decorate }} <i class="ti ti-sparkles"></i></MkButton>
</div>
</div>
</div>

View file

@ -303,7 +303,7 @@ const headerTabs = computed(() => [...(defaultStore.reactiveState.pinnedUserList
}, {
key: 'social',
title: i18n.ts._timelines.social,
icon: 'ph-rocket-launch ph-bold ph-lg',
icon: 'ti ti-universe',
iconOnly: true,
}] : []), ...(isBubbleTimelineAvailable ? [{
key: 'bubble',
@ -349,7 +349,7 @@ const headerTabsWhenNotLogin = computed(() => [
definePageMetadata(() => ({
title: i18n.ts.timeline,
icon: src.value === 'local' ? 'ti ti-planet' : src.value === 'social' ? 'ph-rocket-launch ph-bold ph-lg' : src.value === 'global' ? 'ti ti-whirl' : src.value === 'bubble' ? 'ph-drop ph-bold ph-lg' : 'ti ti-home',
icon: src.value === 'local' ? 'ti ti-planet' : src.value === 'social' ? 'ti ti-universe' : src.value === 'global' ? 'ti ti-whirl' : src.value === 'bubble' ? 'ph-drop ph-bold ph-lg' : 'ti ti-home',
}));
</script>