refactor: review fix 2

This commit is contained in:
Timothy Alcaide
2024-04-11 16:41:13 +02:00
committed by thomas
parent 7cadcc1cf6
commit 95d1bac6b8
27 changed files with 29 additions and 24 deletions

View File

@@ -6,10 +6,11 @@ interface Props {
twitter?: string;
linkedin?: string;
github?: string;
youtube?: string;
labels?: Record<string, string>;
}
const { name, twitter, linkedin, github, data } = Astro.props;
const { name, twitter, linkedin, github, youtube, data } = Astro.props;
---
<p class="author">
@@ -23,6 +24,9 @@ const { name, twitter, linkedin, github, data } = Astro.props;
{github && <a href={github}>
<Icon class="icon" name="github" size="0.75rem" />
</a>}
{youtube && <a href={youtube}>
<Icon class="icon" name="youtube" size="0.75rem" />
</a>}
</p>