Fix and update contact link tooltips

This commit is contained in:
Dan Kotowski 2024-06-29 05:07:00 -05:00
parent 74278bdb30
commit 29c40f0acc
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View File

@ -17,13 +17,13 @@
</Link>
</div>
<div class="flex-initial">
<Link href="https://github.com/djkotowski" target="_blank">
<Link href="https://github.com/djkotowski" target="_blank" title="Github">
<GithubIcon class="w-12 h-12 lg:w-20 lg:h-20" />
<div class="sr-only">Go to my Github account (@djkotowski)</div>
</Link>
</div>
<div class="flex-initial">
<Link href="https://linkedin.com/in/djkotowski" target="_blank">
<Link href="https://linkedin.com/in/djkotowski" target="_blank" title="LinkedIn">
<LinkedInIcon class="w-12 h-12 lg:w-20 lg:h-20" />
<div class="sr-only">Go to my LinkedIn account (@djkotowski)</div>
</Link>

View File

@ -3,7 +3,8 @@
export let href: string
export let target: HTMLAnchorAttributes['target']
export let title: HTMLAnchorAttributes['title']
</script>
<a class="text-cyan-200 hover:text-cyan-400 hover:border-b border-dotted" {href} {target}><slot /></a>
<a class="text-cyan-200 hover:text-cyan-400 hover:border-b border-dotted" {href} {target} {title}><slot /></a>