mirror of
https://github.com/michivonah/website-v2.git
synced 2025-12-22 20:46:29 +01:00
Update index.html
This commit is contained in:
parent
1f6690f3ef
commit
c983651788
1 changed files with 5 additions and 2 deletions
|
|
@ -357,6 +357,9 @@
|
||||||
// Loading
|
// Loading
|
||||||
window.addEventListener('load', () => {
|
window.addEventListener('load', () => {
|
||||||
document.getElementById('scroll-top').style.display = "none";
|
document.getElementById('scroll-top').style.display = "none";
|
||||||
|
// check if site is released
|
||||||
|
var timeToRelease = new Date('July 2, 2022 12:00:00').getTime() - new Date().getTime();
|
||||||
|
if(timeToRelease > 0) window.location = "https://michivonah.ch/countdown.html";
|
||||||
// Instagram: https://www.instagram.com/vompictures/?__a=1
|
// Instagram: https://www.instagram.com/vompictures/?__a=1
|
||||||
age(16, 09, 2005);
|
age(16, 09, 2005);
|
||||||
toggleSocialmedia();
|
toggleSocialmedia();
|
||||||
|
|
@ -365,8 +368,8 @@
|
||||||
if(localStorage.getItem('cookies') != null){
|
if(localStorage.getItem('cookies') != null){
|
||||||
document.getElementById('cookieBanner').style.display = "none";
|
document.getElementById('cookieBanner').style.display = "none";
|
||||||
}
|
}
|
||||||
AOS.init({disable: 'mobile'});
|
//AOS.init({disable: 'mobile'});
|
||||||
//AOS.init({disable: true});
|
AOS.init({disable: true});
|
||||||
// hide loadingscreen
|
// hide loadingscreen
|
||||||
document.getElementById('loadingScreen').style.display = "none";
|
document.getElementById('loadingScreen').style.display = "none";
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue