mirror of
https://github.com/plausible/analytics.git
synced 2024-12-28 12:01:39 +03:00
0f0f604d2e
* Replace footer text * add COPYING.txt file * Add new logos * Use new logos in all layouts * New logos * Check license key on startup * Bypass license check when Mix.env == :dev * Use new logos with smaller wordmarks * Add generic logo_path/1 function * Use new favicons everywhere * Bypass license check in test env * Use sha256 for license key hash * Mix.env -> config_env() * Use Mix.evn at compile time rather than runtime * Mix format --------- Co-authored-by: Uku Taht <uku.taht@gmail.com>
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
<!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" />
|
|
<PlausibleWeb.Components.Layout.favicon conn={@conn} />
|
|
<title>Plausible · Web analytics</title>
|
|
<link rel="stylesheet" href={Routes.static_path(PlausibleWeb.Endpoint, "/css/app.css")} />
|
|
</head>
|
|
<body class="flex flex-col h-full bg-gray-100 dark:bg-gray-900">
|
|
<div class="w-full my-8 text-center">
|
|
<a href={home_dest(@conn)}>
|
|
<%= img_tag(
|
|
PlausibleWeb.Router.Helpers.static_path(
|
|
@conn,
|
|
logo_path("logo_dark.svg")
|
|
),
|
|
class: "w-44 hidden dark:inline",
|
|
alt: "Plausible logo",
|
|
loading: "lazy"
|
|
) %>
|
|
<%= img_tag(
|
|
PlausibleWeb.Router.Helpers.static_path(
|
|
@conn,
|
|
logo_path("logo_light.svg")
|
|
),
|
|
class: "w-44 inline dark:hidden",
|
|
alt: "Plausible logo",
|
|
loading: "lazy"
|
|
) %>
|
|
</a>
|
|
</div>
|
|
|
|
<%= @inner_content %>
|
|
|
|
<script type="text/javascript" src={Routes.static_path(PlausibleWeb.Endpoint, "/js/app.js")}>
|
|
</script>
|
|
</body>
|
|
</html>
|