Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LuigiR0jas committed Jul 30, 2024
1 parent 2247572 commit 257cde2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/views/layouts/_bottom_navbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


<div class="sticky bottom-0 flex flex-row items-center justify-center gap-8 bg-white py-1 border-t border-b border-gray-7 text-[11px]">
<a href="<%= root_path %>" class="<%= nav_text_class_for [root_path] %> flex flex-col items-center">
<%= inline_svg_tag "calendar.svg", class: nav_icon_class_for([root_path]) %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</head>

<body class="flex flex-col h-full bg-gray-8">
<main class="relative flex flex-col w-full mx-auto flex-1 overflow-auto">
<main class="relative flex flex-col flex-1 w-full mx-auto overflow-auto">
<% if !current_page?(new_session_path) %>
<div class="flex justify-center w-full py-6 mx-auto border-b border-b-white bg-purple-dark">
<div class="flex max-w-screen-sm px-5">
Expand All @@ -33,6 +33,6 @@
<%= button_to "Log out", session_path, method: :delete %>
<% end %>
</main>
<%= render partial: "/layouts/bottom_navbar" if current_user.present? %>
<%= render partial: "layouts/bottom_navbar" if user_signed_in? %>
</body>
</html>

0 comments on commit 257cde2

Please sign in to comment.