Commit 5781591

HPCesia <me@hpcesia.com>
2025-08-18 10:07:04
feat: hover tip for profile links
1 parent 541cdcb
Changed files (2)
src
components
pages
src/components/aside/ProfileCard.astro
@@ -23,7 +23,8 @@ import { Icon } from 'astro-icon/components';
             href={link.url}
             title={link.name}
             target="_blank"
-            class="btn-circle btn-ghost text-2xl"
+            class="btn-circle btn-ghost tooltip text-2xl"
+            data-tip={link.name}
           >
             <Icon name={link.icon} />
           </Button>
src/pages/about.astro
@@ -58,6 +58,7 @@ if (md) {
             target="_blank"
             class="btn-circle btn-ghost text-2xl"
           >
+            {/* No tooltips because touch screen hard to show them */}
             <Icon name={link.icon} />
           </Button>
         ))