New terms of use + privacy statement

This commit is contained in:
Inga Kirschnick
2023-12-20 15:37:59 +01:00
parent 5dce269736
commit cfdef8d1fa
6 changed files with 386 additions and 219 deletions

View File

@ -131,3 +131,13 @@
app.flash(message, message);
}
</script>
<script>
let languageSwitch = document.querySelector('#terms-of-use-modal-switch');
let termsOfUseContent = document.querySelectorAll('.terms-of-use-modal-content');
languageSwitch.addEventListener('change', function() {
termsOfUseContent.forEach(content => {
content.classList.toggle('hide');
});
});
</script>