mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 21:03:03 -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>
|
||||
|
||||
|
||||
@@ -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(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
title: 🟠 Save your form'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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user