From ed38340249f77bc44f5670c05e942973ab907f8c Mon Sep 17 00:00:00 2001 From: JustTemmie <47639983+JustTemmie@users.noreply.github.com> Date: Sat, 19 Jul 2025 23:39:39 +0200 Subject: [PATCH] feat: implement new guild icons --- components/Avatar.vue | 9 +++----- components/DefaultIcon.vue | 45 ++++++++++++++++++++++++++++++++++++++ layouts/client.vue | 19 ++++++++-------- 3 files changed, 57 insertions(+), 16 deletions(-) create mode 100644 components/DefaultIcon.vue diff --git a/components/Avatar.vue b/components/Avatar.vue index ddfe1dc..eafd81b 100644 --- a/components/Avatar.vue +++ b/components/Avatar.vue @@ -3,8 +3,9 @@ class="display-avatar" :src="displayAvatar" :alt="displayName" /> - @@ -28,10 +29,6 @@ if (user) { if (user.avatar) { displayAvatar = user.avatar - } else if (!isCanvasBlocked()){ - displayAvatar = generateDefaultIcon(displayName, user.uuid) - } else { - displayAvatar = null } } diff --git a/components/DefaultIcon.vue b/components/DefaultIcon.vue new file mode 100644 index 0000000..31eaa6e --- /dev/null +++ b/components/DefaultIcon.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/layouts/client.vue b/layouts/client.vue index 48a7f66..15907c4 100644 --- a/layouts/client.vue +++ b/layouts/client.vue @@ -17,19 +17,15 @@
- + - - + :name="guild.name" :seed="guild.uuid"/>
@@ -52,6 +48,7 @@