Skip to content

Commit

Permalink
feat: close application from for french workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
willi84 committed Jan 22, 2024
1 parent 3f94f7e commit 587a416
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/app/event.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ const events: Events = [
state: 'France',
date: 'February 3, 2024',
year: '2024',
applicationForm: 'https://docs.google.com/forms/d/e/1FAIpQLSc9gSruxOh0ZgtmgO_yFm7w1ZwRPR2jt1T5DAPa7WHHoiEkXg/viewform',
applicationForm: 'https://docs.google.com/forms/d/e/1FAIpQLSeBvSIsUBw2KvpEGFqu7QnCWwcFSKa7MnK49AHO9VFGlwoVuA/viewform?usp=sf_link',
applicationButton: 'inscription participante',
mentorsForm: 'https://docs.google.com/forms/d/e/1FAIpQLSebfkegZQNaYIuWYTW-M3tIK0lapmiwx3DWoN3Ns6CP1nX_qg/viewform',
mentorsButton: 'inscription mentor',
// mentorsForm: 'https://docs.google.com/forms/d/e/1FAIpQLSeBvSIsUBw2KvpEGFqu7QnCWwcFSKa7MnK49AHO9VFGlwoVuA/viewform?usp=sf_link',
// mentorsButton: 'inscription mentor',
announcement: `Nous avons le plaisir de vous annoncer notre prochain atelier ngGirls à Paris. Il sera porté par <a href="https://angulardevs.fr/" target="_blank">Angular Devs France</a> pour la communauté locale! <b>ngGirls @ Paris 2024</b> aura lieu le Samedi 3 Février de 9h à 17h à Paris.
Pour plus de détails et vous inscrire: `,
sponsors: [{ link: 'https://angulardevs.fr/', logo: 'assets/events/paris-2024/angular_devs_fr.webp' }]
Expand Down
4 changes: 2 additions & 2 deletions src/app/event/event.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ <h2>{{ event.city }}, {{event.state }}</h2>
<p [innerHTML]="event.announcement"></p>

<div class="call-for-action">
<a [href]="event.applicationForm" target="_blank">
<a *ngIf="event.applicationForm" [href]="event.applicationForm" target="_blank">
<button mat-raised-button color="primary">{{event.applicationButton || "Apply for the workshop"}} </button>

</a>
<a [href]="event.mentorsForm" target="_blank">
<a *ngIf="event.mentorsForm" [href]="event.mentorsForm" target="_blank">
<button mat-raised-button color="primary">{{event.mentorsButton || "Call for mentors" }}</button>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type Event = {
applicationForm: string;
applicationButton?: string;
mentorsButton?: string;
mentorsForm: string;
mentorsForm?: string;
announcement: string;
sponsors: Sponsor[];
};

0 comments on commit 587a416

Please sign in to comment.