mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-05-01 15:00:31 +00:00
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
<div class="flex flex-col w-0 flex-1 overflow-hidden bg-stone-950">
|
|
<.connection_status>
|
|
Re-establishing connection...
|
|
</.connection_status>
|
|
|
|
<main
|
|
class="main flex-1 relative z-0 overflow-hidden focus:outline-none transition-all duration-500 opacity-0 phx-page-loading:opacity-0"
|
|
phx-mounted={JS.remove_class("opacity-0")}
|
|
>
|
|
{@inner_content}
|
|
</main>
|
|
<aside class={[
|
|
"h-12 w-14 left-0 absolute bg-gray-400 bg-opacity-5 text-gray-200 shadow-lg border-r border-b border-stone-800 bg-opacity-70 bg-neutral-900",
|
|
classes("h-full": @show_sidebar)
|
|
]}>
|
|
<.sidebar_nav_links
|
|
active_tab={@active_tab}
|
|
show_admin={@show_admin}
|
|
show_sidebar={@show_sidebar}
|
|
map_subscriptions_enabled={@map_subscriptions_enabled?}
|
|
/>
|
|
<.ping_container :if={@show_sidebar} rtt_class={@rtt_class} />
|
|
<.donate_container :if={@show_sidebar} />
|
|
<.feedback_container :if={@show_sidebar} />
|
|
<.youtube_container :if={@show_sidebar} />
|
|
<div :if={@show_sidebar}>
|
|
{live_render(@socket, WandererAppWeb.ServerStatusLive,
|
|
container: {:div, class: ""},
|
|
id: "server-status"
|
|
)}
|
|
</div>
|
|
</aside>
|
|
|
|
<.new_version_banner app_version={@app_version} enabled={true} latest_post={@latest_post} />
|
|
</div>
|
|
|
|
<.live_component module={WandererAppWeb.Alerts} id="notifications" view_flash={@flash} />
|