Browse Source

fix: sidebar text color

main
Inhji Y. 7 months ago
parent
commit
6b0347977f
  1. 2
      assets/css/_navigation.scss
  2. 9
      lib/mirage_web/templates/layout/root.html.leex

2
assets/css/_navigation.scss

@ -10,7 +10,7 @@ nav#sidebar {
ul {
li {
a {
color: #ccc;
color: var(--light);
display: inline-block;
padding: 1rem;
text-decoration: none;

9
lib/mirage_web/templates/layout/root.html.leex

@ -23,6 +23,13 @@
<header>
<nav role="navigation">
<%= active_link(@conn, @_s.header_title.value, to: "/") %> / <%= active_link(@conn, "Blog", to: "/blog") %>
<%= if not Mirage.Accounts.has_user? do %>
/ <%= link "Register", to: Routes.user_registration_path(@conn, :new) %>
<% end %>
<%= unless @current_user do %>
/ <%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
<% end %>
</nav>
</header>
@ -32,7 +39,7 @@
<footer>
<p>
<%= raw @_s.footer_text.value_html %> - <%= render "_user_menu.html", assigns %>
<%= raw @_s.footer_text.value_html %>
</p>
</footer>

Loading…
Cancel
Save