More style changes, removed test projects, favicon
Some checks failed
Build and deploy website / build (push) Failing after 22s

- Fix missing aria-labels
- Fix breadcrumbs on specific projects
- Removed uses from NavBar
- Center image on project page
- Colour link on project page
- Initial README

Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
2025-02-15 19:25:44 +01:00
parent 023c8b7c85
commit 54db411930
24 changed files with 89 additions and 161 deletions

View File

@ -8,12 +8,28 @@ interface Props extends MyLink {
}
const { title, message, url, icon, class: clazz } = Astro.props
const iconStyle = "w-6 h-6"
console.log(icon)
---
<ExternalLink href={url} noStyle>
<div class:list={["card bg-base-300", clazz]}>
<div class="card-body p-5 flex flex-row items-center">
<PajamasIcon name={icon ?? "pajamas:link"} class="w-6 h-6" />
{
icon ? (
<PajamasIcon
name={icon.src}
class={iconStyle}
aria-label={icon.alt}
/>
) : (
<PajamasIcon
name={"pajamas:link"}
class={iconStyle}
aria-label="Link icon"
/>
)
}
<div>
<h5 class="card-title">{title}</h5>
<p class="prose">{message}</p>