made sidebar link to pages

This commit is contained in:
acon 2025-04-26 22:15:39 -04:00
parent 1683243d2b
commit 6ce4bfcd28

View file

@ -2,9 +2,9 @@
<%= image_tag "logo.png", class: "w-full mb-8" %>
<div class="text-center grid grid-cols-1 gap-2">
<div class="hover:bg-[#564CAD] border-2 border-[#564CAD] p-2 rounded-lg transition duration-100">Main</div>
<div class="hover:bg-[#564CAD] border-2 border-[#564CAD] p-2 rounded-lg transition duration-100">User</div>
<div class="hover:bg-[#564CAD] border-2 border-[#564CAD] p-2 rounded-lg transition duration-100">Leaderboards</div>
<div class="hover:bg-[#564CAD] border-2 border-[#564CAD] p-2 rounded-lg transition duration-100">Info</div>
<%= link_to "Main", posts_path, class: "hover:bg-[#564CAD] border-2 border-[#564CAD] p-2 rounded-lg transition duration-100 block" %>
<%= link_to "User", root_path, class: "hover:bg-[#564CAD] border-2 border-[#564CAD] p-2 rounded-lg transition duration-100 block" %>
<%= link_to "Leaderboards", root_path, class: "hover:bg-[#564CAD] border-2 border-[#564CAD] p-2 rounded-lg transition duration-100 block" %>
<%= link_to "Info", root_path, class: "hover:bg-[#564CAD] border-2 border-[#564CAD] p-2 rounded-lg transition duration-100 block" %>
</div>
</div>