Skip to content

Commit

Permalink
feat: add webinare replay link if exist (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
abelkhay committed Nov 13, 2023
1 parent 6081e5a commit 6f4125d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,22 @@
<h3 class="fw-bold card-title my-2">{{ webinaire.titre }}</h3>
</div>
<p class="card-text mt-2 mb-5 flex-grow-1">{{ webinaire.text }}</p>
<div>
<div class="d-flex">
<a
class="btn btn-primary rounded-0"
href="{{ webinaire.inscription_link }}"
target="_blank"
rel="noopener noreferrer">
S'inscrire au webinaire
</a>
<a
*ngIf="webinaire.replay"
class="btn btn-primary rounded-0 ms-auto"
href="{{ webinaire.replay }}"
target="_blank"
rel="noopener noreferrer">
Replay
</a>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type WebinairePresentation = {
text: string;
image: string;
inscription_link: string;
replay?: string;
};

@Component({
Expand All @@ -20,14 +21,16 @@ export class WebinaireComponent {
duration: '45 min - 1 fois par mois',
text: `Consacr茅 脿 l'utilisation du parcours d'orientation et la navigation sur la carte. `,
inscription_link: 'https://airtable.com/app2MF0d9XxkCwv0p/shrfwVic55IqzxKfG?mtm_campaign=fromwebsitecarto',
image: 'webinaire-orientation.svg'
image: 'webinaire-orientation.svg',
replay: 'https://www.youtube.com/watch?v=bn1jipMvzoA'
},
{
titre: 'Mettez 脿 jour vos donn茅es sur la cartographie',
duration: '45 min - 1 fois par mois',
text: `Consacr茅 脿 l'utilisation des outils de mise 脿 jour de donn茅es, en particulier l'outil DORA.`,
inscription_link: 'https://airtable.com/app2MF0d9XxkCwv0p/shrX7zSTk8pOtoKik?mtm_campaign=fromwebsitecarto',
image: 'webinaire-mise-a-jour.svg'
image: 'webinaire-mise-a-jour.svg',
replay: 'https://www.youtube.com/watch?v=YJjsMjVPluY'
},
{
titre: 'Permanence visio : posez vos questions et nous y r茅pondons',
Expand Down

0 comments on commit 6f4125d

Please sign in to comment.