💄 Prettifies tables and adds socials

This commit is contained in:
Daniel Svitan
2025-05-01 10:23:42 +02:00
parent e4ef1e27b2
commit 7f435ad387
2 changed files with 86 additions and 20 deletions
+15
View File
@@ -0,0 +1,15 @@
---
interface Props {
link: string;
icon?: string;
}
const {link, icon} = Astro.props
---
<a href={link} target="_blank">
<img src={icon ?? "/arrow-up-right-from-square.svg"}
alt="Arrow going to the top right from the center of a square, representing a link"
class="w-4 h-4"
/>
</a>