Files
element-call/index.html
T
Matthew Hodgson b89b696dbb add Twemoji
2026-05-11 22:33:37 +00:00

58 lines
1.7 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- Preload the bundled Twemoji COLR font so emoji glyphs render on the
first paint. Without this, environments without a system colour-emoji
font (notably WPEWebKit on Linux) briefly show fallback/tofu before the
font finishes loading via the @font-face declaration in index.css. -->
<link
rel="preload"
href="/src/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2"
as="font"
type="font/woff2"
crossorigin
/>
<% if (packageType === "full") { %>
<link rel="icon" type="image/svg+xml" href="favicon.png" />
<link rel="preload" href="/config.json" as="fetch" />
<% } %>
<meta
name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, maximum-scale=1.0"
/>
<title><%- brand %></title>
<script>
window.global = window;
</script>
<% if (packageType === "full") { %>
<!-- Open graph meta tags -->
<meta property="og:title" content="<%- brand %>" />
<meta
property="og:description"
content="You're invited to join a call on <%- brand %>"
/>
<meta property="og:type" content="website" />
<meta property="og:image" content="favicon.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="<%- brand %>" />
<meta
name="twitter:description"
content="You're invited to join a call on <%- brand %>"
/>
<meta name="twitter:image" content="favicon.png" />
<% } %>
</head>
<!-- The default class is: .no-theme {display: none}. It will be overwritten once the app is loaded. -->
<body class="no-theme">
<div id="root"></div>
</body>
</html>