AdGuardHome/client/public/index.html

52 lines
1.8 KiB
HTML
Raw Permalink Normal View History

2018-08-30 15:25:33 +01:00
<!DOCTYPE html>
<html lang="en">
2019-01-18 16:29:51 +00:00
<head>
<meta charset="utf-8">
2020-12-24 16:06:44 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta name="google" content="notranslate">
2019-12-19 09:13:15 +00:00
<meta http-equiv="x-dns-prefetch-control" content="off">
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default">
2020-05-14 12:45:16 +01:00
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon-180x180.png" />
2020-05-29 16:40:58 +01:00
<link rel="mask-icon" href="assets/safari-pinned-tab.svg" color="#67B279">
2020-05-14 12:45:16 +01:00
<link rel="icon" type="image/png" href="assets/favicon.png" sizes="48x48">
2019-01-18 16:29:51 +00:00
<title>AdGuard Home</title>
<style>
.wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
[data-theme="DARK"] .wrapper {
background-color: #f5f7fb;
}
</style>
2019-01-18 16:29:51 +00:00
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root">
<div class="wrapper"></div>
</div>
<script>
(function() {
var LOCAL_STORAGE_THEME_KEY = 'account_theme';
var theme = 'light';
try {
theme = window.localStorage.getItem(LOCAL_STORAGE_THEME_KEY);
} catch(e) {
console.error(e);
}
document.body.dataset.theme = theme;
})();
</script>
2019-01-18 16:29:51 +00:00
</body>
2018-08-30 15:25:33 +01:00
</html>