WIP New app layout
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-19 22:46:12 -06:00
parent a2889705ed
commit 4f2b35ccb9
12 changed files with 372 additions and 318 deletions

View File

@@ -2,4 +2,12 @@ module ApplicationHelper
def sats_to_btc(sats)
sats.to_f / 100000000
end
def main_nav_class(current_section, link_to_section)
if current_section == link_to_section
"bg-gray-900/50 text-white px-3 py-2 rounded-md text-sm font-medium"
else
"text-gray-300 hover:bg-gray-900/30 hover:text-white px-3 py-2 rounded-md text-sm font-medium"
end
end
end