@@ -17,7 +17,7 @@ <h1>Events</h1>
17
17
< div class ="events main-content ">
18
18
< div class ="events-container-fluid container-fluid nav-menu-wrapper ">
19
19
< div class ="nav-background ">
20
- < div class ="contributor -container ">
20
+ < div class ="events -container ">
21
21
< nav class ="navbar navbar-expand-lg navbar-light main-content-menu ">
22
22
< ul class ="navbar-nav events-nav ">
23
23
< li id ="events " class ="nav-item nav-select ">
@@ -29,6 +29,9 @@ <h1>Events</h1>
29
29
< li id ="podcasts " class ="nav-item ">
30
30
< span class ="nav-link events-nav-link "> Podcasts</ span >
31
31
</ li >
32
+ < li id ="community-events " class ="nav-item ">
33
+ < span class ="nav-link events-nav-link "> Community Events</ span >
34
+ </ li >
32
35
</ ul >
33
36
</ nav >
34
37
</ div >
@@ -37,26 +40,33 @@ <h1>Events</h1>
37
40
{% include live_events.html %}
38
41
{% include live_stream.html %}
39
42
{% include podcast.html %}
43
+ {% include community_events.html %}
40
44
</ div >
41
45
</ div >
42
46
43
47
< script type ="text/javascript ">
44
48
$ ( "#events" ) . on ( "click" , function ( ) {
45
- $ ( "#live-stream, #podcast" ) . hide ( ) ;
49
+ $ ( "#live-stream, #podcast, #community-event " ) . hide ( ) ;
46
50
$ ( "#event, #event-side-nav" ) . show ( ) ;
47
- $ ( "#live-streams, #podcasts" ) . removeClass ( "nav-select" ) ;
51
+ $ ( "#live-streams, #podcasts, #community-events " ) . removeClass ( "nav-select" ) ;
48
52
$ ( this ) . addClass ( "nav-select" ) ;
49
53
} ) ;
50
54
$ ( "#podcasts" ) . on ( "click" , function ( ) {
51
- $ ( "#live-stream, #event, #event-side-nav" ) . hide ( ) ;
55
+ $ ( "#live-stream, #event, #event-side-nav, #community-event " ) . hide ( ) ;
52
56
$ ( "#podcast" ) . show ( ) ;
53
- $ ( "#live-streams, #events" ) . removeClass ( "nav-select" ) ;
57
+ $ ( "#live-streams, #events, #community-events " ) . removeClass ( "nav-select" ) ;
54
58
$ ( this ) . addClass ( "nav-select" ) ;
55
59
} ) ;
56
60
$ ( "#live-streams" ) . on ( "click" , function ( ) {
57
- $ ( "#podcast, #event, #event-side-nav" ) . hide ( ) ;
61
+ $ ( "#podcast, #event, #community-event, # event-side-nav" ) . hide ( ) ;
58
62
$ ( "#live-stream" ) . show ( ) ;
59
- $ ( "#podcasts, #events" ) . removeClass ( "nav-select" ) ;
63
+ $ ( "#community-events, #podcasts, #events" ) . removeClass ( "nav-select" ) ;
64
+ $ ( this ) . addClass ( "nav-select" ) ;
65
+ } ) ;
66
+ $ ( "#community-events" ) . on ( "click" , function ( ) {
67
+ $ ( "#podcast, #live-stream, #event-side-nav, #event" ) . hide ( ) ;
68
+ $ ( "#community-event" ) . show ( ) ;
69
+ $ ( "#podcasts, #events, #live-stream" ) . removeClass ( "nav-select" ) ;
60
70
$ ( this ) . addClass ( "nav-select" ) ;
61
71
} ) ;
62
72
</ script >
0 commit comments