From 9f298887dd44ab36ff153bca752af18d6d3070c2 Mon Sep 17 00:00:00 2001 From: Ewan Croft Date: Wed, 1 Oct 2025 14:59:55 +0100 Subject: [PATCH] feat: add spin animation to profile avatar on hover --- src/lib/components/profile/Profile.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/components/profile/Profile.svelte b/src/lib/components/profile/Profile.svelte index 69bfabc..cbb76c2 100644 --- a/src/lib/components/profile/Profile.svelte +++ b/src/lib/components/profile/Profile.svelte @@ -29,7 +29,8 @@ class="rounded-full flex-shrink-0 relative z-10 w-24 h-24 -mt-12 mx-auto mb-4 sm:w-32 sm:h-32 sm:-mt-16 sm:mx-0 sm:mb-0 - bg-transparent border-none" + bg-transparent border-none + transition-transform duration-500 hover:rotate-[360deg] cursor-pointer" /> -- 2.51.2