diff --git a/app/assets/stylesheets/application.tailwind.css b/app/assets/stylesheets/application.tailwind.css index 3f7b012..e87cf44 100644 --- a/app/assets/stylesheets/application.tailwind.css +++ b/app/assets/stylesheets/application.tailwind.css @@ -41,6 +41,27 @@ border-radius: 0.5rem; color: #2b2b2b; } + + .active-toolbar-tab { + background-color: white; + display: inline-block; + padding: 16px; + color: rgb(107 33 168); + border-top-left-radius: 0.5rem; + border-top-right-radius: 0.5rem; + } + + .inactive-toolbar-tab { + display: inline-block; + padding: 16px; + border-top-left-radius: 0.5rem; + border-top-right-radius: 0.5rem; + } + + .inactive-toolbar-tab:hover { + color: rgb(75 85 99); + background-color: rgb(249 250 251); + } } diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 189a80d..295b4ff 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -4,6 +4,10 @@ class DashboardController < ApplicationController def index build_dashboard_variables! + respond_to do |format| + format.turbo_stream + format.html + end end def switch_taxable_income diff --git a/app/views/components/_toolbar.html.erb b/app/views/components/_toolbar.html.erb index 01c0b14..c0d842d 100644 --- a/app/views/components/_toolbar.html.erb +++ b/app/views/components/_toolbar.html.erb @@ -1,17 +1,19 @@ -
<%= notice %>
<% end %> -