-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (43 loc) · 2 KB
/
index.html
File metadata and controls
43 lines (43 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!doctype html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<meta name="theme-color" content="#0B0B0F" />
<title>pdfpw — pdfpc in your browser</title>
<meta name="description" content="Browser-based PDF presenter console (pdfpc-compatible)." />
<link rel="canonical" href="https://pdfpw.github.io/en/" />
<meta property="og:title" content="pdfpw — pdfpc in your browser" />
<meta property="og:description" content="Browser-based PDF presenter console (pdfpc-compatible)." />
<meta property="og:image" content="https://pdfpw.github.io/og-image.png" />
<meta property="og:url" content="https://pdfpw.github.io/en/" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://pdfpw.github.io/og-image.png" />
<script>
(() => {
var stored, locale, theme, isDark;
try {
stored = localStorage.getItem("pdfpw:locale");
locale = stored === "ja" || stored === "en" ? stored : null;
if (!locale) locale = navigator.language?.toLowerCase().startsWith("ja") ? "ja" : "en";
if (location.pathname === "/" || location.pathname === "") {
location.replace(`/${locale}/${location.search}${location.hash}`);
}
} catch (_) {}
try {
theme = localStorage.getItem("pdfpw-theme");
isDark = theme ? theme === "dark" : window.matchMedia("(prefers-color-scheme: dark)").matches;
document.documentElement.classList.toggle("dark", isDark);
} catch (_) {}
})();
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>