Feat: emoji picker profile

This commit is contained in:
mattyatea 2024-01-15 23:28:11 +09:00
parent 8205e30311
commit 9ec48aa0f6

View file

@ -12,7 +12,7 @@ import { i18n } from '@/i18n.js';
import { $i } from '@/account.js'; import { $i } from '@/account.js';
function toolsMenuItems(): MenuItem[] { function toolsMenuItems(): MenuItem[] {
return[{ return [{
type: 'link', type: 'link',
to: '/scratchpad', to: '/scratchpad',
text: i18n.ts.scratchpad, text: i18n.ts.scratchpad,
@ -27,6 +27,11 @@ function toolsMenuItems(): MenuItem[] {
to: '/clicker', to: '/clicker',
text: '●👈', text: '●👈',
icon: 'ti ti-cookie', icon: 'ti ti-cookie',
}, {
type: 'link',
to: '/bubble-game',
text: i18n.ts.bubbleGame,
icon: 'ti ti-apple',
}, ($i && ($i.isAdmin || $i.policies.canManageCustomEmojis)) ? { }, ($i && ($i.isAdmin || $i.policies.canManageCustomEmojis)) ? {
type: 'link', type: 'link',
to: '/custom-emojis-manager', to: '/custom-emojis-manager',