File size: 746 Bytes
88211d3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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={!@conn.assigns[: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-4 flex">
    <.button_link
      :if={!@conn.assigns[:current_user]}
      href={Routes.auth_path(@conn, :login_form, return_to: url_path(@conn))}
      class="mr-4"
    >
      Log in
    </.button_link>
    <.button_link theme="secondary" href={PlausibleWeb.LayoutView.home_dest(@conn)}>
      Go to homepage
    </.button_link>
  </div>
</div>