forked from jspm/jspm.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
101 lines (93 loc) · 3.76 KB
/
template.html
File metadata and controls
101 lines (93 loc) · 3.76 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico">
<!-- Immediate dark mode styles to prevent flash -->
<script>
(function() {
const savedTheme = localStorage.getItem('theme');
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
const isDark = savedTheme === 'dark' || (!savedTheme && prefersDark);
// Update theme in localStorage if following system
if (!savedTheme && prefersDark) {
// We're using system preference - don't store anything in localStorage
}
if (isDark) {
document.documentElement.style.colorScheme = 'dark';
document.documentElement.classList.add('dark-mode');
document.write('<style>:root{background-color:#1A202C!important;}body{background-color:#1A202C!important;color:#E2E8F0!important;} html.dark-mode body{background-color:#1A202C!important;color:#E2E8F0!important;} .topbar{background-color:#1A202C!important;border-color:#4A5568!important;} .sidebar{background-color:#2D3748!important;border-color:#4A5568!important;}</style>');
}
})();
</script>
<link rel="stylesheet" href="/style.css?v1">
<script defer src="/script.js?v1"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M0FZNQ9ZPV"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-M0FZNQ9ZPV');
</script>
</head>
<body>
<div class="topbar">
<a href="/">
<div class="logobox"></div>
<h1 class="logo">JSPM</h1>
</a>
<ul class="toplinks">
<li><a target="_blank" href="https://generator.jspm.io">Online Generator</a></li>
<li><a target="_blank" href="https://status.jspm.io">CDN Status</a></li>
<li><a target="_blank" href="https://opencollective.com/jspm">Sponsor</a></li>
<li class="theme-toggle" title="Toggle dark/light mode"></li>
<li class="github"><a target="_blank" href="https://github.com/jspm/jspm" rel="noopener"></a></li>
</ul>
<div class="mobile-menu"></div>
</div>
<div class="sidebar">
<div class="toc">
<ul class="sections">
<li>
<a href="/getting-started">JSPM</a>
<ul class="section">
<li><a href="/getting-started">Getting Started</a></li>
<li><a href="/faq">FAQ</a></li>
</ul>
</li>
<li>
<a href="/docs/cli/">Documentation</a>
<ul class="section">
<li><a href="/docs/cli/">JSPM CLI</a></li>
<li><a href="/docs/generator/">JSPM Generator</a></li>
<li><a href="/docs/integrations">Integrations</a></li>
<li><a href="/docs/cdn-resolution">CDN Resolution</a></li>
</ul>
</li>
<li>
<a href="/cdn/jspm-io">CDN</a>
<ul class="section">
<li><a href="/cdn/jspm-io">JSPM.IO</a></li>
<li><a href="/cdn/api">API</a></li>
</ul>
</li>
<li class="blog">
<a href="/jspm-cli">Blog</a>
<ul class="section">
<li class="blog-link"><a href="/jspm-4.0-release"><em>JSPM 4.0 Release</em></a></li>
<li class="blog-link"><a href="/js-integrity-with-import-maps"><em>JavaScript Integrity Manifests with Import Maps</em></a></li>
<li class="blog-link"><a href="/jspm-dev-deprecation"><em>Deprecating jspm.dev</em></a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="content-container">
<div class="content">
<!-- Content will be added here -->
</div>
</div>
</body>
</html>