">
<%= assigns[:title] || "Plausible ยท Simple web analytics" %>
"/> <%= render("_tracking.html", assigns) %> <%= render("_svg_icons.html") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo.png"), style: "height: 2.5rem;") %>
<%= 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-darkest rounded py-2 px-3 bg-orange-lighter", style: "line-height: 34px;") %>
<% else %>
<%= link("Give feedback", to: "/feedback", class: "font-bold rounded py-2 px-3 hover:bg-grey-lighter", style: "line-height: 34px;") %>
<% end %>
<%= @conn.assigns[:current_user].name || @conn.assigns[:current_user].email %>
<%= link("Settings", to: "/settings", class: "block py-3 px-2 border-b border-grey-light hover:bg-grey-lighter") %> <%= link("Log out", to: "/logout", method: :post, class: "block py-3 px-2 hover:bg-grey-lighter") %>
<% true -> %>
<%= link("Login", to: "/login", class: "font-bold rounded py-2 px-3 hover:bg-grey-lighter", style: "line-height: 33px;") %> <%= link("Start free trial", to: "/register", class: "button button-md hidden sm:inline") %>
<% 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) %>