-
Notifications
You must be signed in to change notification settings - Fork 2
/
events.html
33 lines (29 loc) · 1.12 KB
/
events.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
layout: default
title: Events
breadcrumbs:
heading: Club Events
list:
- Home: '/'
---
<section id="blog-full-width">
<div class="text-center"><a rel="external noopener" href="https://calendar.google.com/calendar?cid=cHRqdDg5NWo2dG5jY2EydTVnZGdlNjNwdmdAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ" target="_blank">Click here to add club events to your Google Calendar!</a></div>
<div id="calendar"></div>
<script>
var calendar;
window.addEventListener('load', function(ev) {
calendar = new FullCalendar.Calendar(document.getElementById('calendar'), {
plugins: ['bootstrap', 'dayGrid', 'list', 'googleCalendar'],
themeSystem: 'bootstrap',
header: {
left: 'prev,next today',
center: 'title',
right: 'dayGridMonth,listMonth'
},
googleCalendarApiKey: 'AIzaSyA7zJnQujsXxaDhPRVulvBy-X6XRuxxvf8',
events: '[email protected]'
});
calendar.render();
}, false);
</script>
</section>