-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs-infra): created new widget for events page
Earlier data in events page was hardcoded and data have to be moved manually in the table now events will automatically move between current and past events in this implementation
- Loading branch information
1 parent
1beccc1
commit bf62aab
Showing
9 changed files
with
298 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
[ | ||
{ | ||
"endDate": "2019-09-20", | ||
"address": "London, UK", | ||
"title": "AngularConnect", | ||
"linkUrl": "https://www.angularconnect.com/?utm_source=angular.io&utm_medium=referral", | ||
"name": "AngularConnect", | ||
"info": "September 19-20, 2019" | ||
}, | ||
{ | ||
"endDate": "2019-08-31", | ||
"address": "Berlin, Germany", | ||
"title": "NG-DE", | ||
"linkUrl": "https://ng-de.org/", | ||
"name": "NG-DE", | ||
"info": "August 29th workshops, 30-31 conference, 2019" | ||
}, | ||
{ | ||
"endDate": "2019-07-13", | ||
"address": "Tokyo, Japan", | ||
"title": "ng-japan", | ||
"linkUrl": "https://ngjapan.org/", | ||
"name": "ng-japan", | ||
"info": "July 13, 2019" | ||
}, | ||
{ | ||
"endDate": "2019-05-28", | ||
"address": "Copenhagen, Denmark", | ||
"title": "ngVikings", | ||
"linkUrl": "https://ngvikings.org/", | ||
"name": "ngVikings", | ||
"info": "May 26 (workshops), 27-28 (conference), 2019" | ||
}, | ||
{ | ||
"endDate": "2019-05-03", | ||
"address": "Salt Lake City, Utah", | ||
"title": "ng-conf", | ||
"linkUrl": "https://ng-conf.org/", | ||
"name": "ng-conf", | ||
"info": "May 1-3, 2019" | ||
}, | ||
{ | ||
"endDate": "2019-02-23", | ||
"address": "Gurgaon, India", | ||
"title": "ng-India", | ||
"linkUrl": "https://www.ng-ind.com/", | ||
"name": "ng-India", | ||
"info": "February 23, 2019" | ||
}, | ||
{ | ||
"endDate": "2019-01-12", | ||
"address": "Atlanta, Georgia", | ||
"title": "ngAtlanta", | ||
"linkUrl": "https://ng-atl.org/", | ||
"name": "ngAtlanta", | ||
"info": "January 9-12, 2019" | ||
}, | ||
{ | ||
"endDate": "2018-11-09", | ||
"address": "London, United Kingdom", | ||
"title": "AngularConnect", | ||
"linkUrl": "https://past.angularconnect.com/2018", | ||
"name": "AngularConnect", | ||
"info": "November 5-7, 2018" | ||
}, | ||
{ | ||
"endDate": "2018-10-31", | ||
"address": "Prague, Czech Republic", | ||
"title": "ReactiveConf", | ||
"linkUrl": "https://reactiveconf.com/", | ||
"name": "ReactiveConf", | ||
"info": "October 29-31, 2018" | ||
}, | ||
{ | ||
"endDate": "2018-10-12", | ||
"address": "Orlando, Florida", | ||
"title": "AngularMix", | ||
"linkUrl": "https://angularmix.com/", | ||
"name": "AngularMix", | ||
"info": "October 10-12, 2018" | ||
}, | ||
{ | ||
"endDate": "2018-06-22", | ||
"address": "Melbourne, Australia", | ||
"title": "Angular Conf Australia", | ||
"linkUrl": "https://www.angularconf.com.au/", | ||
"name": "Angular Conf Australia", | ||
"info": "Jun 22, 2018" | ||
}, | ||
{ | ||
"endDate": "2018-06-16", | ||
"address": "Tokyo, Japan", | ||
"title": "ng-japan", | ||
"linkUrl": "https://ngjapan.org/en.html", | ||
"name": "ng-japan", | ||
"info": "Jun 16, 2018" | ||
}, | ||
{ | ||
"endDate": "2018-05-18", | ||
"address": "Vienna, Austria", | ||
"title": "WeAreDevs", | ||
"linkUrl": "https://www.wearedevelopers.com/", | ||
"name": "WeAreDevelopers", | ||
"info": "May 16-18, 2018" | ||
}, | ||
{ | ||
"endDate": "2018-04-20", | ||
"address": "Salt Lake City, Utah", | ||
"title": "ng-conf", | ||
"linkUrl": "https://ng-conf.org/", | ||
"name": "ng-conf", | ||
"info": "April 18-20, 2018" | ||
}, | ||
{ | ||
"endDate": "2018-03-02", | ||
"address": "Helsinki, Finland", | ||
"title": "ngVikings", | ||
"linkUrl": "https://ngvikings.org/", | ||
"name": "ngVikings", | ||
"info": "March 1-2, 2018" | ||
}, | ||
{ | ||
"endDate": "2018-01-30", | ||
"address": "Atlanta, Georgia", | ||
"title": "ngAtlanta", | ||
"linkUrl": "https://ng-atl.org/", | ||
"name": "ngAtlanta", | ||
"info": "January 30, 2018" | ||
}, | ||
{ | ||
"endDate": "2020-05-27", | ||
"address": "Oslo, Norway", | ||
"title": "ngVikings", | ||
"linkUrl": "https://ngvikings.org/", | ||
"name": "ngVikings", | ||
"info": "May 25-26 conference, 27 workshops, 2020" | ||
}, | ||
{ | ||
"endDate": "2020-04-03", | ||
"address": "Salt Lake City, Utah", | ||
"title": "ng-conf", | ||
"linkUrl": "https://ng-conf.org/", | ||
"name": "ng-conf ", | ||
"info": "April 1-3, 2020" | ||
}, | ||
{ | ||
"endDate": "2020-02-29", | ||
"address": "Delhi, India", | ||
"title": "ngIndia", | ||
"linkUrl": "https://www.ng-ind.com/", | ||
"name": "ngIndia", | ||
"info": "Feb 29, 2020" | ||
}, | ||
{ | ||
"endDate": "2019-11-01", | ||
"address": "Prague, Czech Republic", | ||
"title": "ReactiveConf", | ||
"linkUrl": "https://reactiveconf.com/", | ||
"name": "ReactiveConf", | ||
"info": "October 30 - November 1, 2019" | ||
}, | ||
{ | ||
"endDate": "2019-10-07", | ||
"address": "Rome, Italy", | ||
"title": "NG Rome MMXIX - The Italian Angular Conference", | ||
"linkUrl": "https://ngrome.io", | ||
"name": "NG Rome MMXIX", | ||
"info": "Oct 6th workshops, 7th conference, 2019" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<p>Where we'll be presenting:</p> | ||
<table class="is-full-width"> | ||
<thead> | ||
<tr> | ||
<th>Event</th> | ||
<th>Location</th> | ||
<th>Date</th> | ||
</tr> | ||
</thead> | ||
<tbody > | ||
<tr *ngFor="let event of upcomingEvents"> | ||
<th><a href="{{event.linkUrl}}" title={{event.title}}>{{event.title}}</a></th> | ||
<td>{{event.address}}</td> | ||
<td>{{event.info}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<p>Where we already presented:</p> | ||
<table class="is-full-width"> | ||
<thead> | ||
<tr> | ||
<th>Event</th> | ||
<th>Location</th> | ||
<th>Date</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr *ngFor="let event of prevEvents"> | ||
<th><a href="{{event.linkUrl}}" title={{event.title}}>{{event.title}}</a></th> | ||
<td>{{event.address}}</td> | ||
<td>{{event.info}}</td> | ||
</tr> | ||
</tbody> | ||
</table> |
Oops, something went wrong.