AdGuardHome/client/public/index.html

52 lines
1.8 KiB
HTML
Raw Permalink Normal View History

2018-08-30 17:25:33 +03:00
<!DOCTYPE html>
<html lang="en">
2019-01-18 19:29:51 +03:00
<head>
<meta charset="utf-8">
2020-12-24 19:06:44 +03:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta name="google" content="notranslate">
2019-12-19 12:13:15 +03: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 14:45:16 +03:00
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon-180x180.png" />
2020-05-29 18:40:58 +03:00
<link rel="mask-icon" href="assets/safari-pinned-tab.svg" color="#67B279">
2020-05-14 14:45:16 +03:00
<link rel="icon" type="image/png" href="assets/favicon.png" sizes="48x48">
2019-01-18 19:29:51 +03:00
<title>AdGuard Home</title>
2023-04-18 16:07:11 +03:00
<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 19:29:51 +03:00
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
2023-04-18 16:07:11 +03:00
<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 19:29:51 +03:00
</body>
2018-08-30 17:25:33 +03:00
</html>