mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-23 16:55:48 -06:00
25ba04c980
These changes contain a redesign of the OPA website. The main changes are (1) new frontpage w/ refreshed messaging and assets and (2) docs ported to gitbook.
26 lines
619 B
JavaScript
26 lines
619 B
JavaScript
$(document).ready(function(){
|
|
|
|
$('._homepage--hamburger-menu-container').css('display', 'none');
|
|
$(this).removeClass('is-active');
|
|
$('._homepage--body').css('overflow', 'auto');
|
|
|
|
$('.hamburger--spring').click(function(){
|
|
|
|
if($(this).hasClass('is-active')){
|
|
$('._homepage--hamburger-menu-container').css('display', 'none');
|
|
$(this).removeClass('is-active');
|
|
$('._homepage--body').css('overflow', 'auto');
|
|
|
|
}
|
|
else{
|
|
$('._homepage--hamburger-menu-container').show();
|
|
$(this).addClass('is-active');
|
|
$('._homepage--body').css('overflow', 'hidden');
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|