mirror of
https://github.com/JeremyLikness/vanillajs-deck
synced 2024-11-10 15:44:56 +00:00
70 lines
3.8 KiB
HTML
70 lines
3.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-us">
|
|
|
|
<head>
|
|
<title>Vanilla.js</title>
|
|
<base href="/" target="_blank">
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="DevNexus presentation Vanilla.js: Modern 1st Party JavaScript">
|
|
<meta name="theme-color" content="#FFFFFF" />
|
|
<meta http-equiv="Content-Security-Policy"
|
|
content="default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; child-src 'self'; connect-src 'self'; font-src 'self'; frame-src 'self'; img-src 'self'; media-src 'self'; object-src 'none'; style-src 'self';">
|
|
<link rel="manifest" href="./manifest.json" />
|
|
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
|
|
<link rel="apple-touch-icon" sizes="57x57" href="./appicons/apple-touch-icon-57x57.png" />
|
|
<link rel="apple-touch-icon" sizes="114x114" href="./appicons/apple-touch-icon-114x114.png" />
|
|
<link rel="apple-touch-icon" sizes="72x72" href="./appicons/apple-touch-icon-72x72.png" />
|
|
<link rel="apple-touch-icon" sizes="144x144" href="./appicons/apple-touch-icon-144x144.png" />
|
|
<link rel="apple-touch-icon" sizes="60x60" href="./appicons/apple-touch-icon-60x60.png" />
|
|
<link rel="apple-touch-icon" sizes="120x120" href="./appicons/apple-touch-icon-120x120.png" />
|
|
<link rel="apple-touch-icon" sizes="76x76" href="./appicons/apple-touch-icon-76x76.png" />
|
|
<link rel="apple-touch-icon" sizes="152x152" href="./appicons/apple-touch-icon-152x152.png" />
|
|
<link rel="icon" type="image/png" href="./appicons/favicon-196x196.png" sizes="196x196" />
|
|
<link rel="icon" type="image/png" href="./appicons/favicon-96x96.png" sizes="96x96" />
|
|
<link rel="icon" type="image/png" href="./appicons/favicon-32x32.png" sizes="32x32" />
|
|
<link rel="icon" type="image/png" href="./appicons/favicon-16x16.png" sizes="16x16" />
|
|
<link rel="icon" type="image/png" href="./appicons/favicon-128.png" sizes="128x128" />
|
|
<meta name="application-name" content="Vanilla.js: Modern 1st Party JavaScript" />
|
|
<meta name="msapplication-TileColor" content="#FFFFFF" />
|
|
<meta name="msapplication-TileImage" content="./appicons/mstile-144x144.png" />
|
|
<meta name="msapplication-square70x70logo" content="./appicons/mstile-70x70.png" />
|
|
<meta name="msapplication-square150x150logo" content="./appicons/mstile-150x150.png" />
|
|
<meta name="msapplication-wide310x150logo" content="./appicons/mstile-310x150.png" />
|
|
<meta name="msapplication-square310x310logo" content="./appicons/mstile-310x310.png" />
|
|
<link rel="stylesheet" href="css/style.css">
|
|
<link rel="stylesheet" href="css/animations.css">
|
|
</head>
|
|
|
|
<body>
|
|
<script type="module" src="./js/app.js"></script>
|
|
<slide-deck id="main" start="001-title">
|
|
<h1>DevNexus | Vanilla.js: Modern 1st Party JavaScript</h1>
|
|
<h2>Setting things up ...</h2>
|
|
</slide-deck>
|
|
<key-handler deck="main"></key-handler>
|
|
<div class="footer left">
|
|
<img src="./images/devnexus.png" alt="DevNexus logo" title="DevNexus logo" />
|
|
</div>
|
|
<slide-controls deck="main" class="footer center">---</slide-controls>
|
|
<div class="footer right">
|
|
<a href="https://twitter.com/JeremyLikness">@JeremyLikness</a>
|
|
</div>
|
|
<script>
|
|
if ('serviceWorker' in navigator) {
|
|
navigator.serviceWorker
|
|
.register('./pwa.js', { scope: '/' })
|
|
.then(() => {
|
|
console.info('Vanilla.js Service Worker Registered');
|
|
}, err => console.error("Vanilla.js Service Worker registration failed: ", err));
|
|
|
|
navigator.serviceWorker
|
|
.ready
|
|
.then(() => {
|
|
console.info('Vanilla.js Service Worker Ready');
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
|
|
</html> |