Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,46 @@ function toggleAbstract(elementId) {
a.style.display = "none";
aLink.text = "Show Abstract";
}
}
}


(function ($) {
'use strict';

// Preloader js
$(window).on('load', function () {
$('.preloader').fadeOut(100);
var calendarContainer = document.getElementById('calendar-container-old');
if(calendarContainer){
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone
const html = `<iframe src="https://calendar.google.com/calendar/embed?src=c_62694f414055ac569e5cb12dafbb0890ca22f3640b177a4b10b53171fbc9bdd4%40group.calendar.google.com&ctz=${timezone}" style=" border:0 " width="800" height="600" frameborder="0" scrolling="no"></iframe>`
calendarContainer.innerHTML = html;
}
});

// Accordions
$('.collapse').on('shown.bs.collapse', function () {
$(this).parent().find('.ti-angle-right').removeClass('ti-angle-right').addClass('ti-angle-down');
}).on('hidden.bs.collapse', function () {
$(this).parent().find('.ti-angle-down').removeClass('ti-angle-down').addClass('ti-angle-right');
});


//slider
$('.slider').slick({
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
dots: true,
arrows: false
});

$('.cite-link').click(function() {
var cite = '#' + $(this).attr('data-link');
$(cite).slideToggle();

return false;
})

})(jQuery);

12 changes: 11 additions & 1 deletion content/en/calendar/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,14 @@ title: "InnerSource Commons Calendar"
subtitle: ""
description: "The InnerSource Commons Calendar."
draft: false
---
---
<section class="section">
<div class="container">
<div class="row align-items-center">
<p>Welcome to the InnerSource Commons Calendar! Our events and working groups are open to everyone because we know that magic happens when people come together to share their experience and knowledge. </p>
<div class="col-md-6 order-1 order-md-2 mb-4 mb-md-0" id="calendar-container-old">
</div>
</div>
</div>
</div>
</section>
Loading