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>

View File

@@ -8,6 +8,7 @@ const authors = defineCollection({
twitter: z.string().url().optional(),
linkedin: z.string().url().optional(),
github: z.string().url().optional(),
youtube: z.string().url().optional(),
}),
});

View File

@@ -1,11 +1,11 @@
---
title: 🟠 Save your form&#39;s bacon: with the navigation alert
title: 🟠 Save the form data with the navigation alert
description: Challenge 48 is about Bob 🧙‍♂️ the product owner, he wants to develop a new feature in response to customer complaints about losing form input information.
author: timothy-alcaide
contributors:
- Timothy Alcaide
- alcaidio
challengeNumber: 48
command: angular-dialog-alert-form
command: form-dialog-alert
sidebar:
order: 121
badge: New

View File

@@ -13,7 +13,7 @@ hero:
icon: right-arrow
variant: primary
- text: Ir al Desafío más reciente
link: /es/challenges/angular/48-dialog-alert-form/
link: /es/challenges/forms/48-form-dialog-alert/
icon: rocket
- text: Dar una estrella
link: https://github.com/tomalaforge/angular-challenges

View File

@@ -13,7 +13,7 @@ hero:
icon: right-arrow
variant: primary
- text: Aller au dernier Challenge
link: /fr/challenges/angular/48-dialog-alert-form/
link: /fr/challenges/forms/48-form-dialog-alert/
icon: rocket
- text: Donne une étoile
link: https://github.com/tomalaforge/angular-challenges

View File

@@ -13,7 +13,7 @@ hero:
icon: right-arrow
variant: primary
- text: Ir para o desafio mais recente
link: /pt/challenges/angular/48-dialog-alert-form/
link: /pt/challenges/forms/48-form-dialog-alert/
icon: rocket
- text: Dar uma estrela
link: https://github.com/tomalaforge/angular-challenges

View File

@@ -13,7 +13,7 @@ hero:
icon: right-arrow
variant: primary
- text: Перейти к последней задаче
link: /ru/challenges/angular/48-dialog-alert-form/
link: /ru/challenges/forms/48-form-dialog-alert/
icon: rocket
- text: Добавить звезду
link: https://github.com/tomalaforge/angular-challenges