From 1b70b012413c490b2d8d8ab39cbef2dd6e953548 Mon Sep 17 00:00:00 2001 From: drusepth Date: Tue, 22 Mar 2022 20:04:07 -0700 Subject: [PATCH] wrap up navbar for now --- app/views/layouts/tailwind.html.erb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/tailwind.html.erb b/app/views/layouts/tailwind.html.erb index d53ab325..c7a6a090 100644 --- a/app/views/layouts/tailwind.html.erb +++ b/app/views/layouts/tailwind.html.erb @@ -44,9 +44,12 @@
<% if @universe_scope %> - <%= link_to @universe_scope.name, @universe_scope, class: "px-3 py-2 #{Universe.text_color} bg-purple-100 hover:bg-purple-200 rounded" %> + <%= link_to @universe_scope, class: "px-3 py-2 #{Universe.text_color} bg-purple-50 hover:bg-purple-200 rounded" do %> + <%= Universe.icon %> + <%= @universe_scope.name %> + <% end %> <% else %> - <%= link_to 'Choose a universe', '#', class: "px-3 py-2 text-lg #{Universe.text_color} bg-purple-100 hover:bg-purple-200 rounded" %> + <%= link_to 'Choose a universe', '#', class: "px-3 py-2 text-lg #{Universe.text_color} bg-purple-50 hover:bg-purple-200 rounded" %> <% end %>