Add nav link to dev dashboard

Invisible on mobile portrait layout - visible if device is turned to
landscape. Reasoning is that the dev dashboard is pretty unusable in
portrait mode anyway.
This commit is contained in:
Claudio Ortolina
2024-11-29 08:33:29 +00:00
parent 95e11d45d5
commit df9d18a21f
2 changed files with 9 additions and 1 deletions
@@ -21,6 +21,9 @@
</div>
</div>
<div class="flex space-x-8">
<a class={["max-sm:hidden" | nav_link_classes()]} } href={~p"/dev/dashboard"}>
<%= gettext("Dev dashboard") %>
</a>
<a class={nav_link_classes()} } href={~p"/login"}>
<%= gettext("Logout") %>
</a>
+6 -1
View File
@@ -143,7 +143,7 @@ msgstr ""
msgid "Login"
msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex:25
#: lib/music_library_web/components/layouts/app.html.heex:28
#, elixir-autogen, elixir-format
msgid "Logout"
msgstr ""
@@ -468,3 +468,8 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Made by"
msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex:25
#, elixir-autogen, elixir-format
msgid "Dev dashboard"
msgstr ""