Skip to content

Commit

Permalink
Merge pull request #45 from ng-girls/feat/ng-de-2024
Browse files Browse the repository at this point in the history
add NG-DE 2024
  • Loading branch information
martinakraus authored Jul 1, 2024
2 parents 0efac5a + 9c6c493 commit 6b674e3
Show file tree
Hide file tree
Showing 7 changed files with 631 additions and 21 deletions.
15 changes: 15 additions & 0 deletions src/app/data/events.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"id": "ng-de-2024",
"title": "ngGirls @ NG-DE 2024",
"location": "Bonn",
"city": "Bonn",
"state": "Germany",
"date": "October 9, 2024",
"year": "2024",
"applicationForm": "https://forms.gle/sm1jbucnPdqtn1URA",
"mentorsForm": "https://forms.gle/Z2a3NRPZg41ETcRZ6",
"announcement": "We're excited to be part of <a href=\"https://ng-de.org/\" target='_blank'>NG-DE 2024</a> - and bring the ngGirls workshop to the local community!\n <b>ngGirls @ NG-DE 2024</b> will take place on Wednesday, October 9th, from 9:00-17:00 in Bonn. For more details and application: ",
"sponsors": [{ "link": "https://ng-de.org/", "logo": "assets/events/ngde-2024/ng-de.svg" }]
}
]
23 changes: 3 additions & 20 deletions src/app/event.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,19 @@ import { Events, Event } from 'src/types';
import { HttpClient } from '@angular/common/http';
import { map, switchMap } from 'rxjs/operators';
import { Observable, of } from 'rxjs';

const events: Events = [

{
id: 'rome-2024',
title: 'ngGirls @ NG ROME MMXXIV',
location: 'Rome',
city: 'Rome',
state: 'Italy',
date: 'June 26, 2024',
year: '2024',
applicationForm: 'https://docs.google.com/forms/d/e/1FAIpQLScpM4cBeqDtHkeKw8vZhPDbSdP_6wjtZMEOB6nOzVrFv6GrIg/viewform',
mentorsForm: 'https://docs.google.com/forms/d/e/1FAIpQLSdYYM2momTb95ury4-BR2jjjTwAzdtOpuitTPR8XAR2gjEcpQ/viewform',
announcement: `We're excited to be part of <a href="https://2023.ngrome.io/">NG ROME MMXXIV</a> - and bring the ngGirls workshop to the local community!
<b>ngGirls @ NG ROME MMXXIV</b> will take place on Wednesday, June 26th, from 9:00-17:00 in Rome. For more details and application: `,
sponsors: [{ link: 'https://ngrome.io/', logo: 'assets/events/rome-2024/logo.svg' }]
}
];

import events from 'src/app/data/events.json';

@Injectable({
providedIn: 'root'
})
export class EventService {
events = events;
events: Events = events;
eventId$ = this.router.paramMap.pipe(
map(params => params.get('eventId'))
);

constructor(private router: ActivatedRoute, private http: HttpClient, private route: ActivatedRoute) {
console.log('EventService created', events);
}
// Simulate fetching events asynchronously
getEvents(): Observable<any> {
Expand Down
57 changes: 57 additions & 0 deletions src/assets/events/ngde-2024/angular-berlin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/assets/events/ngde-2024/angular-de.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6b674e3

Please sign in to comment.