Skip to content

Commit

Permalink
Add link to account path to navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislo committed Feb 28, 2024
1 parent 79e2081 commit d8ad02a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/layouts/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
<svg viewBox="0 0 40 40" width="2.5em" height="2.5em" xmlns="http://www.w3.org/2000/svg"><path d="M20 5C11.7167 5 5 11.7167 5 20V31.6667C5 33.5 6.5 35 8.33333 35H15V21.6667H8.33333V20C8.33333 13.55 13.55 8.33333 20 8.33333C26.45 8.33333 31.6667 13.55 31.6667 20V21.6667H25V35H31.6667C33.5 35 35 33.5 35 31.6667V20C35 11.7167 28.2833 5 20 5ZM11.6667 25V31.6667H8.33333V25H11.6667ZM31.6667 31.6667H28.3333V25H31.6667V31.6667Z" fill="#1E293B"/>
</svg>
<% end %>
<%= link_to account_path do %>
<svg viewBox="0 0 40 40" width="2.5em" height="2.5em" xmlns="http://www.w3.org/2000/svg">
<path d="M20 3.33301C10.8 3.33301 3.33337 10.7997 3.33337 19.9997C3.33337 29.1997 10.8 36.6663 20 36.6663C29.2 36.6663 36.6667 29.1997 36.6667 19.9997C36.6667 10.7997 29.2 3.33301 20 3.33301ZM11.7834 30.4663C12.5 28.9663 16.8667 27.4997 20 27.4997C23.1334 27.4997 27.5167 28.9663 28.2167 30.4663C25.95 32.2663 23.1 33.333 20 33.333C16.9 33.333 14.05 32.2663 11.7834 30.4663ZM30.6 28.0497C28.2167 25.1497 22.4334 24.1663 20 24.1663C17.5667 24.1663 11.7834 25.1497 9.40004 28.0497C7.70004 25.8163 6.66671 23.033 6.66671 19.9997C6.66671 12.6497 12.65 6.66634 20 6.66634C27.35 6.66634 33.3334 12.6497 33.3334 19.9997C33.3334 23.033 32.3 25.8163 30.6 28.0497ZM20 9.99967C16.7667 9.99967 14.1667 12.5997 14.1667 15.833C14.1667 19.0663 16.7667 21.6663 20 21.6663C23.2334 21.6663 25.8334 19.0663 25.8334 15.833C25.8334 12.5997 23.2334 9.99967 20 9.99967ZM20 18.333C18.6167 18.333 17.5 17.2163 17.5 15.833C17.5 14.4497 18.6167 13.333 20 13.333C21.3834 13.333 22.5 14.4497 22.5 15.833C22.5 17.2163 21.3834 18.333 20 18.333Z" fill="#1E293B"/>
</svg>
<% end %>
</div>
<% else %>
<%= link_to "sign up", sign_up_path, class: 'link' %>
Expand Down

0 comments on commit d8ad02a

Please sign in to comment.