Bri-Tunes/src/views/layout.ejs

45 lines
1.8 KiB
Plaintext

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="csrf-token" content="<%= csrfToken %>">
<title><%= typeof title !== 'undefined' ? title : siteName %></title>
<link rel="preload" href="/static/vendor/fonts/Orbitron.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/static/vendor/fonts/Inter.woff2" as="font" type="font/woff2" crossorigin>
<link rel="icon" href="/static/favicon.ico" sizes="any">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
<link rel="manifest" href="/static/site.webmanifest">
<link rel="stylesheet" href="/static/css/app.css">
<script type="importmap">
{ "imports": { "three": "/static/vendor/three/three.module.min.js" } }
</script>
</head>
<body>
<canvas id="bg-canvas" aria-hidden="true"></canvas>
<div id="boot-overlay" aria-hidden="true" data-site-name="<%= siteName %>">
<div class="boot-inner" id="boot-text"></div>
</div>
<div id="page-shell">
<%- include('partials/header') %>
<%- include('partials/flash') %>
<main class="container">
<%- body %>
</main>
</div>
<%- include('partials/player') %>
<script src="/static/js/navigate.js" defer></script>
<script src="/static/js/player.js" defer></script>
<script src="/static/js/social.js" defer></script>
<script src="/static/js/lightbox.js" defer></script>
<script type="module" src="/static/js/bg-grid.js"></script>
<script type="module" src="/static/js/player-viz.js"></script>
<script type="module" src="/static/js/boot-sequence.js"></script>
</body>
</html>