chore(apperances): Show only link for talks if available

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2025-07-21 15:17:56 +02:00
parent e9b07bc651
commit 5c9d27a92a
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6

View file

@ -29,7 +29,13 @@ import appearances from "../data/appearances.json";
appearances.speaking.map(appearance => (
<div>
<h3 class="flex justify-center">
{
appearance.url
?
<a href={appearance.url} class="flex text-center text-lg">🔗 {appearance.title}</a>
:
<span class="flex text-center text-lg">{appearance.title}</span>
}
</h3>
<div class="flex justify-between items-center">
<p>📅: {appearance.date}</p>