feat: parte hartzerako informazio gehigarria sartzen du

This commit is contained in:
txarli committed 2026-11-08 12:07:54 +01:00
1 parent 6d66f137d5
commit 5691871ab7
5 files changed
+37 -4

No files matched your search

@@ -7,6 +7,8 @@ interface Props {
}
const { partehartzea } = Astro.props;
const hasEstekak = partehartzea.estekak?.length > 0;
---
<li>
@@ -15,6 +17,16 @@ const { partehartzea } = Astro.props;
<h3>{partehartzea.izenburua}</h3>
<p>{partehartzea.deskribapena}</p>
{
hasEstekak && (
<div class="estekak">
{partehartzea.estekak.map(({ url, label }) => (
<a href={url}>{label}</a>
))}
</div>
)
}
<a href={`mailto:${partehartzea.email}`}>{partehartzea.email}</a>
</li>
@@ -73,4 +85,12 @@ const { partehartzea } = Astro.props;
@include displayFonts.display6;
}
.estekak {
margin-bottom: var(--space-04-mobile);
@include mediaQueries.aboveTablet {
margin-bottom: var(--space-05-desktop);
}
}
</style>