fix: icons being inconsistent and PG (#136)

This commit is contained in:
Amelia Yukii 2023-11-03 23:20:53 +01:00 committed by GitHub
parent 11e7cfc7a0
commit 08de1f7baa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
135 changed files with 282 additions and 282 deletions

View file

@ -45,7 +45,7 @@ const router = useRouter();
const indexInfo = {
title: i18n.ts.controlPanel,
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
hideHeader: true,
};
@ -101,12 +101,12 @@ const menuDef = $computed(() => [{
}, {
title: i18n.ts.administration,
items: [{
icon: 'ph-gauge ph-bold pg-lg',
icon: 'ph-gauge ph-bold ph-lg',
text: i18n.ts.dashboard,
to: '/admin/overview',
active: currentPage?.route.name === 'overview',
}, {
icon: 'ph-users ph-bold pg-lg',
icon: 'ph-users ph-bold ph-lg',
text: i18n.ts.users,
to: '/admin/users',
active: currentPage?.route.name === 'users',
@ -121,12 +121,12 @@ const menuDef = $computed(() => [{
to: '/admin/approvals',
active: currentPage?.route.name === 'approvals',
}, {
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
text: i18n.ts.roles,
to: '/admin/roles',
active: currentPage?.route.name === 'roles',
}, {
icon: 'ph-smiley ph-bold pg-lg',
icon: 'ph-smiley ph-bold ph-lg',
text: i18n.ts.customEmojis,
to: '/admin/emojis',
active: currentPage?.route.name === 'emojis',
@ -166,7 +166,7 @@ const menuDef = $computed(() => [{
to: '/admin/abuses',
active: currentPage?.route.name === 'abuses',
}, {
icon: 'ph-list ph-bold pg-lg-search',
icon: 'ph-list ph-bold ph-lg-search',
text: i18n.ts.moderationLogs,
to: '/admin/modlog',
active: currentPage?.route.name === 'modlog',
@ -174,7 +174,7 @@ const menuDef = $computed(() => [{
}, {
title: i18n.ts.settings,
items: [{
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
text: i18n.ts.general,
to: '/admin/settings',
active: currentPage?.route.name === 'settings',
@ -204,7 +204,7 @@ const menuDef = $computed(() => [{
to: '/admin/security',
active: currentPage?.route.name === 'security',
}, {
icon: 'ph-planet ph-bold pg-lg',
icon: 'ph-planet ph-bold ph-lg',
text: i18n.ts.relays,
to: '/admin/relays',
active: currentPage?.route.name === 'relays',
@ -219,7 +219,7 @@ const menuDef = $computed(() => [{
to: '/admin/proxy-account',
active: currentPage?.route.name === 'proxy-account',
}, {
icon: 'ph-arrow-square-out ph-bold pg-lg',
icon: 'ph-arrow-square-out ph-bold ph-lg',
text: i18n.ts.externalServices,
to: '/admin/external-services',
active: currentPage?.route.name === 'external-services',
@ -232,7 +232,7 @@ const menuDef = $computed(() => [{
}, {
title: i18n.ts.info,
items: [{
icon: 'ph-database ph-bold pg-lg',
icon: 'ph-database ph-bold ph-lg',
text: i18n.ts.database,
to: '/admin/database',
active: currentPage?.route.name === 'database',
@ -314,7 +314,7 @@ const lookup = (ev) => {
},
}, {
text: i18n.ts.instance,
icon: 'ph-planet ph-bold pg-lg',
icon: 'ph-planet ph-bold ph-lg',
action: () => {
alert('TODO');
},