2022-07-12 10:55:28 +02:00
|
|
|
<!DOCTYPE html>
|
2022-09-21 08:32:42 +02:00
|
|
|
<html lang={Map.get(assigns, :locale, "en")} dir={language_direction(assigns)}>
|
2022-07-12 10:55:28 +02: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" />
|
2024-04-10 14:36:21 +02:00
|
|
|
<link rel="apple-touch-icon" href={favicon_url()} sizes={favicon_sizes()} />
|
|
|
|
<link rel="icon" href={favicon_url()} sizes={favicon_sizes()} />
|
2022-08-26 16:08:58 +02:00
|
|
|
<link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color={theme_color()} />
|
2023-08-10 21:50:45 +02:00
|
|
|
<link rel="manifest" href="/manifest.webmanifest" />
|
2022-08-26 16:08:58 +02:00
|
|
|
<meta name="theme-color" content={theme_color()} />
|
2022-10-28 12:38:15 +02:00
|
|
|
<script>
|
|
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
2024-04-10 14:36:21 +02:00
|
|
|
document.documentElement.classList.add('dark')
|
2022-10-28 12:38:15 +02:00
|
|
|
} else {
|
2024-04-10 14:36:21 +02:00
|
|
|
document.documentElement.classList.remove('dark')
|
2022-10-28 12:38:15 +02:00
|
|
|
}
|
|
|
|
</script>
|
2022-07-12 10:55:28 +02:00
|
|
|
<%= tags(assigns) || assigns.tags %>
|
|
|
|
<%= Vite.vite_client() %>
|
|
|
|
<%= Vite.vite_snippet("src/main.ts") %>
|
|
|
|
</head>
|
2024-04-10 14:36:21 +02:00
|
|
|
|
2022-07-12 10:55:28 +02:00
|
|
|
<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>
|