replaced ti-whirl

This commit is contained in:
dakkar 2024-06-22 13:38:56 +01:00
parent df26b6501d
commit 712682ea47
10 changed files with 13 additions and 14 deletions

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div><i class="ti ti-home"></i> <b>{{ i18n.ts._timelines.home }}</b> {{ i18n.ts._initialTutorial._timeline.home }}</div>
<div><i class="ti ti-planet"></i> <b>{{ i18n.ts._timelines.local }}</b> {{ i18n.ts._initialTutorial._timeline.local }}</div>
<div><i class="ph-rocket-launch ph-bold ph-lg"></i> <b>{{ i18n.ts._timelines.social }}</b> {{ i18n.ts._initialTutorial._timeline.social }}</div>
<div><i class="ti ti-world"></i> <b>{{ i18n.ts._timelines.global }}</b> {{ i18n.ts._initialTutorial._timeline.global }}</div>
<div><i class="ti ti-whirl"></i> <b>{{ i18n.ts._timelines.global }}</b> {{ i18n.ts._initialTutorial._timeline.global }}</div>
</div>
<div class="_gaps_s">
<div>{{ i18n.ts._initialTutorial._timeline.description2 }}</div>

View file

@ -184,7 +184,7 @@ const headerTabs = computed(() => [{
}, {
key: 'federation',
title: i18n.ts.federation,
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
icon: 'ti ti-whirl',
}, {
key: 'charts',
title: i18n.ts.charts,

View file

@ -117,7 +117,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.federation,
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
icon: 'ti ti-whirl',
}));
</script>

View file

@ -142,7 +142,7 @@ const menuDef = computed(() => [{
to: '/admin/avatar-decorations',
active: currentPage.value?.route.name === 'avatarDecorations',
}, {
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
icon: 'ti ti-whirl',
text: i18n.ts.federation,
to: '/admin/federation',
active: currentPage.value?.route.name === 'federation',

View file

@ -313,7 +313,7 @@ const headerTabs = computed(() => [...(defaultStore.reactiveState.pinnedUserList
}] : []), ...(isGlobalTimelineAvailable ? [{
key: 'global',
title: i18n.ts._timelines.global,
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
icon: 'ti ti-whirl',
iconOnly: true,
}] : []), {
icon: 'ti ti-list',
@ -342,14 +342,14 @@ const headerTabsWhenNotLogin = computed(() => [
...(isGlobalTimelineAvailable ? [{
key: 'global',
title: i18n.ts._timelines.global,
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
icon: 'ti ti-whirl',
iconOnly: true,
}] : []),
] as Tab[]);
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-world' : src.value === 'bubble' ? 'ph-drop ph-bold ph-lg' : 'ti ti-home',
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',
}));
</script>

View file

@ -57,7 +57,7 @@ export function openInstanceMenu(ev: MouseEvent) {
}, {
type: 'link',
text: i18n.ts.federation,
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
icon: 'ti ti-whirl',
to: '/about#federation',
}, {
type: 'link',

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<i v-else-if="column.tl === 'local'" class="ti ti-planet"></i>
<i v-else-if="column.tl === 'social'" class="ph-rocket-launch ph-bold ph-lg"></i>
<i v-else-if="column.tl === 'bubble'" class="ph-thumb-up ph-bold ph-lg"></i>
<i v-else-if="column.tl === 'global'" class="ph-globe-hemisphere-west ph-bold ph-lg"></i>
<i v-else-if="column.tl === 'global'" class="ti ti-whirl"></i>
<span style="margin-left: 8px;">{{ column.name }}</span>
</template>

View file

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<MkContainer :showHeader="widgetProps.showHeader" :foldable="foldable" :scrollable="scrollable" data-cy-mkw-federation class="mkw-federation">
<template #icon><i class="ph-globe-hemisphere-west ph-bold ph-lg"></i></template>
<template #icon><i class="ti ti-whirl"></i></template>
<template #header>{{ i18n.ts._widgets.federation }}</template>
<div class="wbrkwalb">

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<i v-else-if="widgetProps.src === 'local'" class="ti ti-planet"></i>
<i v-else-if="widgetProps.src === 'social'" class="ph-rocket-launch ph-bold ph-lg"></i>
<i v-else-if="widgetProps.src === 'bubble'" class="ph-drop ph-bold ph-lg"></i>
<i v-else-if="widgetProps.src === 'global'" class="ph-globe-hemisphere-west ph-bold ph-lg"></i>
<i v-else-if="widgetProps.src === 'global'" class="ti ti-whirl"></i>
<i v-else-if="widgetProps.src === 'list'" class="ti ti-list"></i>
<i v-else-if="widgetProps.src === 'antenna'" class="ti ti-antenna"></i>
</template>
@ -135,7 +135,7 @@ const choose = async (ev) => {
action: () => { setSrc('bubble'); },
}, {
text: i18n.ts._timelines.global,
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
icon: 'ti ti-whirl',
action: () => { setSrc('global'); },
}, antennaItems.length > 0 ? { type: 'divider' } : undefined, ...antennaItems, listItems.length > 0 ? { type: 'divider' } : undefined, ...listItems], ev.currentTarget ?? ev.target).then(() => {
menuOpened.value = false;

View file

@ -289,7 +289,6 @@ export function getConfig(): UserConfig {
'ti ti-badge': 'ph-seal-check ph-bold ph-lg',
'ti ti-window-maximize': 'ph-frame-corners ph-bold ph-lg',
'ti ti-password': 'ph-password ph-bold ph-lg',
'ti ti-key': 'ph-key ph-bold ph-lg',
'ti ti-123': 'ph-numpad ph-bold ph-lg',
'ti ti-world': 'ph-globe-hemisphere-west ph-bold ph-lg',
'ti ti-plug': 'ph-plug ph-bold ph-lg',
@ -329,7 +328,7 @@ export function getConfig(): UserConfig {
'ti ti-ad': 'ph-flag ph-bold ph-lg',
'ti ti-paint': 'ph-paint-roller ph-bold ph-lg',
'ti ti-database': 'ph-database ph-bold ph-lg',
'ti ti-whirl': 'ph-globe-hemisphere-west ph-bold ph-lg',
},
}),
...process.env.NODE_ENV === 'production'