defmodule WandererAppWeb.Layouts do use WandererAppWeb, :html embed_templates "layouts/*" attr :rtt_class, :string def ping_container(assigns) do ~H"""
<.icon name="hero-wifi-solid" class="h-4 w-4" />
""" end attr :app_version, :string def new_version_banner(assigns) do ~H""" """ end def feedback_container(assigns) do ~H"""
<.icon name="hero-hand-thumb-up-solid" class="h-4 w-4" />
""" end attr :id, :string attr :active_tab, :atom attr :show_admin, :boolean attr :map_subscriptions_enabled, :boolean def sidebar_nav_links(assigns) do ~H""" """ end attr :href, :string attr :active, :boolean, default: false attr :class, :string, default: "" attr :icon, :string attr :tip, :string defp nav_link(assigns) do ~H"""
  • <.link navigate={@href} class={[ "h-full w-full text-gray-400 hover:text-white block p-3", classes("border-r-4 text-white border-r-orange-400": @active) ]} aria-current={if @active, do: "true", else: "false"} > <.icon name={@icon} class="w-6 h-6" />
  • """ end end