Files
rio/frontend/index.html
T
2024-06-20 20:41:58 +02:00

27 lines
1002 B
HTML

<!doctype html>
<!--
Until the CSS is loaded and the server sends us the theme colors, make the
background dark so that dark mode users don"t get flashbanged by a completely
white screen
-->
<html data-theme="dark" style="background: #333">
<head>
<title>{title}</title>
<meta name="{meta}" />
<link rel="icon" type="image/x-icon" href="/rio/favicon.png" />
<link rel="stylesheet" href="css/style.scss" />
<script>
globalThis.SESSION_TOKEN = '{session_token}';
globalThis.PING_PONG_INTERVAL_SECONDS = '{ping_pong_interval}';
globalThis.RIO_DEBUG_MODE = '{debug_mode}';
globalThis.RUNNING_IN_WINDOW = '{running_in_window}';
globalThis.CHILD_ATTRIBUTE_NAMES = '{child_attribute_names}';
globalThis.initialMessages = '{initial_messages}';
</script>
<script src="code/app.ts" type="module"></script>
</head>
<body class="rio-switcheroo-background"></body>
</html>