diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 896400832..f92ee4422 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -30,6 +30,7 @@ "date-fns": "2.29.3", "escape-regexp": "0.0.1", "eventemitter3": "5.0.0", + "gsap": "^3.11.4", "idb-keyval": "6.2.0", "insert-text-at-cursor": "0.3.0", "is-file-animated": "1.0.2", diff --git a/packages/frontend/src/components/MkNumber.vue b/packages/frontend/src/components/MkNumber.vue new file mode 100644 index 000000000..f54ec764f --- /dev/null +++ b/packages/frontend/src/components/MkNumber.vue @@ -0,0 +1,23 @@ + +{{ number(tweened.number.toFixed(0)) }} + + + diff --git a/packages/frontend/src/pages/about.vue b/packages/frontend/src/pages/about.vue index 5091114c2..1d6a844fb 100644 --- a/packages/frontend/src/pages/about.vue +++ b/packages/frontend/src/pages/about.vue @@ -119,7 +119,7 @@ const headerTabs = $computed(() => [{ }, { key: 'emojis', title: i18n.ts.customEmojis, - icon: 'ti ti-mood-happy', + icon: 'ti ti-icons', }, { key: 'federation', title: i18n.ts.federation, diff --git a/packages/frontend/src/pages/admin/emojis.vue b/packages/frontend/src/pages/admin/emojis.vue index 6a4096d66..4bd78a6a5 100644 --- a/packages/frontend/src/pages/admin/emojis.vue +++ b/packages/frontend/src/pages/admin/emojis.vue @@ -291,7 +291,7 @@ const headerTabs = $computed(() => [{ definePageMetadata(computed(() => ({ title: i18n.ts.customEmojis, - icon: 'ti ti-mood-happy', + icon: 'ti ti-icons', }))); diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index 4dbb6ce74..406677229 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -97,7 +97,7 @@ const menuDef = $computed(() => [{ to: '/admin/users', active: currentPage?.route.name === 'users', }, { - icon: 'ti ti-mood-happy', + icon: 'ti ti-icons', text: i18n.ts.customEmojis, to: '/admin/emojis', active: currentPage?.route.name === 'emojis', diff --git a/packages/frontend/src/pages/admin/overview.stats.vue b/packages/frontend/src/pages/admin/overview.stats.vue index 9012234c2..dbbe4ab12 100644 --- a/packages/frontend/src/pages/admin/overview.stats.vue +++ b/packages/frontend/src/pages/admin/overview.stats.vue @@ -7,7 +7,7 @@