Skip to content

Commit

Permalink
Adding header
Browse files Browse the repository at this point in the history
  • Loading branch information
devguilhermeribeiro committed Nov 4, 2024
1 parent a8a3a3a commit 9a9d444
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 38 deletions.
5 changes: 5 additions & 0 deletions app/views/barber/index.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<%= render HeaderComponent.new(path: barber_index_path) do %>
<%= render NavbarComponent.new(links: [name: "Profile", path: barber_url(current_barber.id)]) do %>
<%= render ButtonToComponent.new("Logout", destroy_barber_session_path, :delete) %>
<% end %>
<% end %>
4 changes: 0 additions & 4 deletions app/views/scheduling/edit.html.erb

This file was deleted.

4 changes: 0 additions & 4 deletions app/views/scheduling/index.html.erb

This file was deleted.

26 changes: 0 additions & 26 deletions app/views/scheduling/new.html.erb

This file was deleted.

4 changes: 0 additions & 4 deletions app/views/scheduling/show.html.erb

This file was deleted.

0 comments on commit 9a9d444

Please sign in to comment.