2022-07-12 08:55:28 +00:00
|
|
|
<!DOCTYPE html>
|
2022-09-21 06:32:42 +00:00
|
|
|
<html lang={Map.get(assigns, :locale, "en")} dir={language_direction(assigns)}>
|
2022-07-12 08:55:28 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2022-08-26 14:08:58 +00:00
|
|
|
<link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png" sizes="152x152" />
|
|
|
|
<link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color={theme_color()} />
|
|
|
|
<meta name="theme-color" content={theme_color()} />
|
2022-10-28 10:38:15 +00:00
|
|
|
<script>
|
|
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
|
|
document.documentElement.classList.add('dark')
|
|
|
|
} else {
|
|
|
|
document.documentElement.classList.remove('dark')
|
|
|
|
}
|
|
|
|
</script>
|
2022-10-11 15:49:13 +00:00
|
|
|
<%= if is_root(assigns) do %>
|
|
|
|
<link rel="preload" href="/img/shape-1.svg" as="image" />
|
|
|
|
<link rel="preload" href="/img/shape-2.svg" as="image" />
|
|
|
|
<link rel="preload" href="/img/shape-3.svg" as="image" />
|
|
|
|
<% end %>
|
2022-07-12 08:55:28 +00:00
|
|
|
<%= tags(assigns) || assigns.tags %>
|
|
|
|
<%= Vite.vite_client() %>
|
|
|
|
<%= Vite.vite_snippet("src/main.ts") %>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<noscript>
|
|
|
|
<strong>
|
|
|
|
We're sorry but Mobilizon doesn't work properly without JavaScript enabled. Please enable it to continue.
|
|
|
|
</strong>
|
|
|
|
</noscript>
|
|
|
|
<div id="app"></div>
|
|
|
|
<!-- built files will be auto injected -->
|
|
|
|
</body>
|
|
|
|
</html>
|