🔨 Refactors home page
This commit is contained in:
15
src/components/ArrowLink.astro
Normal file
15
src/components/ArrowLink.astro
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
interface Props {
|
||||
link: string;
|
||||
icon?: string;
|
||||
}
|
||||
|
||||
const {link, icon} = Astro.props
|
||||
---
|
||||
|
||||
<a href={link} target="_blank">
|
||||
<img src={icon ?? "/icons/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>
|
Reference in New Issue
Block a user