chore(layout): move deploy stamp from navbar to footer
Free up navbar space and let every viewport see the timestamp (the old `hidden md:inline` hid it on phones). Now shows relative + full UTC inline.
This commit is contained in:
parent
2e60e65e2f
commit
617022668e
1 changed files with 5 additions and 6 deletions
|
|
@ -83,7 +83,6 @@ defmodule MicrowavepropWeb.Layouts do
|
|||
</nav>
|
||||
</div>
|
||||
<div class="flex-none flex items-center gap-3">
|
||||
<.deploy_stamp />
|
||||
<.theme_toggle />
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -105,6 +104,9 @@ defmodule MicrowavepropWeb.Layouts do
|
|||
<div>
|
||||
<.link navigate="/privacy" class="link link-hover">Privacy</.link>
|
||||
</div>
|
||||
<div>
|
||||
<.deploy_stamp />
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
|
@ -151,11 +153,8 @@ defmodule MicrowavepropWeb.Layouts do
|
|||
assigns = assign(assigns, build_time: ts, iso: iso, ago: format_time_ago(ts))
|
||||
|
||||
~H"""
|
||||
<span
|
||||
class="hidden md:inline text-xs opacity-60"
|
||||
title={"Last deployed #{@iso}"}
|
||||
>
|
||||
Deployed {@ago}
|
||||
<span title={"Last deployed #{@iso}"}>
|
||||
Deployed {@ago} · <span class="font-mono">{@iso}</span>
|
||||
</span>
|
||||
"""
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue