">
<%= assigns[:title] || "Plausible ยท Simple, privacy-friendly alternative to Google Analytics" %>
"/>
<%= render("_tracking.html", assigns) %> <%= render("_svg_icons.html") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo.png"), class: "h-8 w-auto sm:h-10 -mt-2", alt: "Plausible logo") %>
<%= cond do %> <% @conn.assigns[:current_user] -> %>
<%= if @conn.assigns[:current_user].subscription == nil do %>
<%= link(trial_notificaton(@conn.assigns[:current_user]), to: "/settings", class: "font-bold text-orange-900 rounded p-2 bg-orange-200", style: "line-height: 40px;") %>
<% else %>
<%= link("Give feedback", to: "/feedback", class: "font-bold rounded p-2 hover:bg-gray-200", style: "line-height: 40px;") %>
<% end %>
<%= @conn.assigns[:current_user].name || @conn.assigns[:current_user].email %>
<%= link("Settings", to: "/settings", class: "block py-2 px-2 border-b border-gray-300 hover:bg-gray-100") %> <%= link("Log out", to: "/logout", method: :post, class: "block py-2 px-2 hover:bg-gray-100") %>
<% true -> %>
Login
Start free trial
<% end %>
<%= if get_flash(@conn, :success) do %>
<%= get_flash(@conn, :success) %>
<% end %> <%= if get_flash(@conn, :error) do %>
<%= get_flash(@conn, :error) %>
<% end %>
<%= render @view_module, @view_template, assigns %>
<%= render("_footer.html", assigns) %>