diff --git a/src/app/event.service.ts b/src/app/event.service.ts index 9ba60038..94e18059 100644 --- a/src/app/event.service.ts +++ b/src/app/event.service.ts @@ -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: `NG Poland Conf 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.
-ngGirls @ NG Poland 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 angularday 2023 - and bring the ngGirls workshop to the local community! -ngGirls @ angularday 2023 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 NG ROME MMXXIII - and bring the ngGirls workshop to the local community! -ngGirls @ NG ROME MMXXIII 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 Angular Devs France pour la communauté locale! ngGirls @ Paris 2024 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' }] } ]; diff --git a/src/app/event/event.component.html b/src/app/event/event.component.html index a26bb707..85cc8f18 100644 --- a/src/app/event/event.component.html +++ b/src/app/event/event.component.html @@ -10,10 +10,11 @@

{{ event.city }}, {{event.state }}

- + + - +
diff --git a/src/assets/events/paris-2024/angular_devs_fr.webp b/src/assets/events/paris-2024/angular_devs_fr.webp new file mode 100644 index 00000000..1d867d0b Binary files /dev/null and b/src/assets/events/paris-2024/angular_devs_fr.webp differ diff --git a/src/assets/events/paris-2024/angular_devs_fr.webp:Zone.Identifier b/src/assets/events/paris-2024/angular_devs_fr.webp:Zone.Identifier new file mode 100644 index 00000000..13929d84 --- /dev/null +++ b/src/assets/events/paris-2024/angular_devs_fr.webp:Zone.Identifier @@ -0,0 +1,3 @@ +[ZoneTransfer] +ZoneId=3 +HostUrl=https://angulardevs.fr/images/logo.webp diff --git a/src/types.d.ts b/src/types.d.ts new file mode 100644 index 00000000..cf6beb35 --- /dev/null +++ b/src/types.d.ts @@ -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[]; +}; \ No newline at end of file