Links page.
Icons using npm package instead of svgs. Props and types. Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
15
src/components/myLinks/LinksPage.astro
Normal file
15
src/components/myLinks/LinksPage.astro
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
import links from "./myLinks"
|
||||
import LinkCard from "./LinkCard.astro"
|
||||
import "@/styles/global.css"
|
||||
import * as m from "@/paraglide/messages"
|
||||
---
|
||||
|
||||
<h1 class="text-center">{m.myLinks()}</h1>
|
||||
<div class="flex flex-col mx-auto w-fit gap-5">
|
||||
{
|
||||
links.map((link) => (
|
||||
<LinkCard {...link} class="max-w-[500px] sm:min-w-96" />
|
||||
))
|
||||
}
|
||||
</div>
|
Reference in New Issue
Block a user