Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

765 B
Raw Blame
<div class="container flex flex-col items-center text-center mt-24">
  <h1 class="text-5xl font-black dark:text-gray-100">{@status}</h1>
  <div class="mt-4 text-xl dark:text-gray-100">Oops! There's nothing here</div>

  <div :if={[email protected][:current_user]} class="text-xl dark:text-gray-100">
    Trying to access your dashboard? You may need to log in again to see it
  </div>
  <div class="mt-10 flex">
    <.button_link
      :if={[email protected][:current_user]}
      href={~p"/login?#{[return_to: url_path(@conn)]}"}
      class="mr-4"
    >
      Log in
    </.button_link>
    <.button_link
      theme="secondary"
      href={PlausibleWeb.LayoutView.home_dest(@conn.assigns[:current_user])}
    >
      Go to homepage
    </.button_link>
  </div>
</div>