analytics/lib/plausible_web/templates/layout/focus.html.eex

32 lines
1.7 KiB
Elixir
Raw Normal View History

2019-09-02 14:29:19 +03:00
<!DOCTYPE html>
<html lang="en" class="h-full">
<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"/>
<meta name="description" content="A lightweight, non-intrusive alternative to Google Analytics."/>
<link rel="icon" type="image/png" sizes="32x32" href="<%= PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_favicon.png") %>">
<title><%= assigns[:title] || "Plausible · Web analytics" %></title>
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<%= render("_tracking.html", assigns) %>
<script type="text/javascript" data-pref="<%= @conn.assigns[:current_user] && @conn.assigns[:current_user].theme %>" src="<%= Routes.static_path(@conn, "/js/applyTheme.js") %>"></script>
2019-09-02 14:29:19 +03:00
</head>
<body class="flex flex-col h-full bg-gray-100 dark:bg-gray-900">
2019-09-02 14:29:19 +03:00
<div class="text-center w-full my-8">
2020-03-31 16:23:46 +03:00
<a href="<%= home_dest(@conn) %>">
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo_dark.png"), class: "hidden dark:inline", style: "height: 2.5rem;", alt: "Plausible logo") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo.png"), class: "inline dark:hidden", style: "height: 2.5rem;", alt: "Plausible logo")%>
2019-09-02 14:29:19 +03:00
</a>
</div>
<%= render("_flash.html", assigns) %>
<%= @inner_content %>
2019-09-02 14:29:19 +03:00
2020-06-19 14:35:09 +03:00
<p class="text-center text-gray-500 text-xs py-8">
©2020 Plausible Analytics. All rights reserved.
2019-09-02 14:29:19 +03:00
</p>
2019-10-31 08:39:51 +03:00
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
2019-09-02 14:29:19 +03:00
</body>
</html>