mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 05:13:02 -05:00
refactor: review fix 2
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user