Datenschutzbestimmungen hinzugefügt, theme wird sofort aktiviert

This commit is contained in:
silas
2018-10-11 23:36:09 +02:00
parent 1c8ec944f7
commit 864530ecf1
9 changed files with 196 additions and 39 deletions

View File

@@ -30,8 +30,15 @@
<link href="css/foundation.css" media="screen,print" rel="stylesheet" type="text/css">
<link href="css/wordRotator.css" media="screen,print" rel="stylesheet" type="text/css">
</head>
<body class='black'>
<body>
<script>
let defaultThemeClass = 'black';
let currentThemeClass = localStorage.getItem("currentTheme");
if (!currentThemeClass) {
currentThemeClass = defaultThemeClass;
}
document.body.classList.add(currentThemeClass);
</script>
<div id='print-content'>
</div>
@@ -94,7 +101,7 @@
</div>
<footer>
<a data-site-name='privacyPolicy' class='deep-link' data-translation="policy-heading">Privacy Policy</a>
<a href="https://apps.silas.link" target="_blank" rel = "noopener" data-translation="other-apps">Other Apps</a>
<a href="https://apps.silas.link" target="_blank" rel="noopener" data-translation="other-apps">Other Apps</a>
</footer>
<script>
var initPromise;