Skip to content

Commit

Permalink
Style breadcrumb to be more consistent with AccountNavComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislo committed Dec 11, 2024
1 parent 9b0254d commit 72e18fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/albums/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<%= render(SectionComponent.new(title: "Editing #{@album.title}")) do %>
<div class="flex flex-col gap-6">
<ol class="flex gap-2 text-sm">
<ol class="flex gap-2 mt-3 text-sm uppercase">
<li><%= link_to 'Account', account_path, class: 'hover:underline' %></li>
<li class='text-slate-400'>/</li>
<li><%= link_to @album.artist.name, edit_artist_path(@album.artist), class: 'hover:underline' %></li>
<li class='text-slate-400'>/</li>
<li class='text-rose-400'><%= @album.title %></li>
<li class='font-semibold'><%= @album.title %></li>
</ol>

<%= render "form", album: @album %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/albums/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<%= render(SectionComponent.new(title: 'New album')) do %>
<div class="flex flex-col gap-3">
<ol class="flex gap-2 text-sm">
<ol class="flex gap-2 mt-3 text-sm uppercase">
<li><%= link_to 'Account', account_path, class: 'hover:underline' %></li>
<li class='text-slate-400'>/</li>
<li><%= link_to @album.artist.name, edit_artist_path(@album.artist), class: 'hover:underline' %></li>
<li class='text-slate-400'>/</li>
<li class='text-rose-400'>New album</li>
<li class='font-semibold'>New album</li>
</ol>

<%= render "form", album: @album %>
Expand Down

0 comments on commit 72e18fd

Please sign in to comment.