Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add paris 2024 and remove old workshops #35

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 17 additions & 43 deletions src/app/event.service.ts
Original file line number Diff line number Diff line change
@@ -1,51 +1,25 @@
import { Injectable } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { map } from 'rxjs/operators';
import { Events } from 'src/types';

const events: Events = [

const events = [
{
id: 'warsaw-2023',
title: 'ngGirls @ NG Poland',
location: 'Warsaw',
city: 'Warsaw',
state: 'Poland',
date: 'November 5',
year: '2023',
applicationForm: 'https://forms.gle/woPmCW9PVfSzZrZk8',
mentorsForm: 'https://forms.gle/uYoju5H5iMZhNXxs8',
announcement: `<a href="http://ng-poland.pl/" target="_blank">NG Poland Conf</a> has been hosting ngGirls workshops for many years.
Feeling like family, we're happy to come back to Warsaw for the wonderful community,
where the participants are enthusiastic and the mentors are so committed. <br/>
<b>ngGirls @ NG Poland</b> will take place on Sunday, November 5th, from 10:00-17:00. For more details and application: `,
sponsors: [{ link: 'http://ng-poland.pl/', logo: 'assets/events/ngpoland-2022/ngPoland.png' }]
},
{
id: 'verona-2023',
title: 'ngGirls @ angularday 2023',
location: 'Verona',
city: 'Verona',
state: 'Italy',
date: 'November 23',
year: '2023',
applicationForm: 'https://docs.google.com/forms/d/e/1FAIpQLSf8uOZbx4rahJxBtuK-pH6sYzFJQrjXe3xEkOHJaH6ECigacw/viewform',
mentorsForm: 'https://docs.google.com/forms/d/e/1FAIpQLSfrk8ZaS5DL4xhf8bx9vs7grSAid2sLfAqcpFhZa8KSwpbUJw/viewform',
announcement: `We're excited to be part of <a href="https://2023.angularday.it">angularday 2023</a> - and bring the ngGirls workshop to the local community!
<b>ngGirls @ angularday 2023</b> will take place on Thursday, November 23rd, from 9:00-17:00 in Verona. For more details and application: `,
sponsors: [{ link: 'https://2023.angularday.it', logo: 'assets/events/angularday-2022/angularday-logo.svg' }]
},
{
id: 'rome-2023',
title: 'ngGirls @ NG ROME MMXXIII',
location: 'Rome',
city: 'Rome',
state: 'Italy',
date: 'November 30',
year: '2023',
applicationForm: 'https://docs.google.com/forms/d/e/1FAIpQLSeBooyy-i1vFQ1LbOQFsxk7X4dPrwzjEdpnzYzpOHpuL-bevQ/viewform',
mentorsForm: 'https://docs.google.com/forms/d/e/1FAIpQLSfmk_tGgzk9SO7shtHDbO6nMUKWb-3jNrURSPzIEOZx3YIvHw/viewform',
announcement: `We're excited to be part of <a href="https://2023.ngrome.io/">NG ROME MMXXIII</a> - and bring the ngGirls workshop to the local community!
<b>ngGirls @ NG ROME MMXXIII</b> will take place on Thursday, November 30th, from 9:00-17:00 in Rome. For more details and application: `,
sponsors: [{ link: 'https://2023.ngrome.io/', logo: 'assets/events/rome-2023/logo.svg' }]
id: 'paris-2024',
title: 'ngGirls @ Paris',
location: 'Paris',
city: 'Paris',
state: 'France',
date: 'February 3, 2024',
year: '2024',
applicationForm: 'https://docs.google.com/forms/d/e/1FAIpQLSc9gSruxOh0ZgtmgO_yFm7w1ZwRPR2jt1T5DAPa7WHHoiEkXg/viewform',
applicationButton: 'inscription participante',
mentorsForm: 'https://docs.google.com/forms/d/e/1FAIpQLSebfkegZQNaYIuWYTW-M3tIK0lapmiwx3DWoN3Ns6CP1nX_qg/viewform',
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
5 changes: 3 additions & 2 deletions src/app/event/event.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ <h2>{{ event.city }}, {{event.state }}</h2>

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

</a>
<a [href]="event.mentorsForm" target="_blank">
<button mat-raised-button color="primary">Call for mentors</button>
<button mat-raised-button color="primary">{{event.mentorsButton || "Call for mentors" }}</button>
</a>
</div>

Expand Down
Binary file added src/assets/events/paris-2024/angular_devs_fr.webp
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=https://angulardevs.fr/images/logo.webp
20 changes: 20 additions & 0 deletions src/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export type Events = Event[];
export type Sponsor = {
link: string;
logo: string;
};
export type Event = {
id: string;
title: string;
location: string;
city: string;
state: string;
date: string;
year: string;
applicationForm: string;
applicationButton?: string;
mentorsButton?: string;
mentorsForm: string;
announcement: string;
sponsors: Sponsor[];
};
Loading