Skip to content

Commit

Permalink
feat(sidebar): replace sidebar nav link with button
Browse files Browse the repository at this point in the history
  • Loading branch information
teenwolfblitzer committed Feb 24, 2023
1 parent 7691368 commit 273d27e
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions docs/app/views/application/_sidebar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,16 @@
<% end %>

<%= content_for :sage_sidebar_footer do %>
<%= sage_component SageNav, {
aria_label: "Secondary",
items: [
{
text: "Help & Feedback",
link: "#support-request",
icon: "help-filled",
attributes: {
"data-js-modaltrigger": "support-request",
"data-js-event": "support-request-sidebar"
}
}
]
<%= sage_component SageButton, {
value: "Help & Feedback",
icon: {
style: "left",
name: "help-filled",
},
attributes: {
"data-js-modaltrigger": "support-request",
"data-js-event": "support-request-sidebar"
}
} %>
<% end %>
<% end %>
Expand Down

0 comments on commit 273d27e

Please sign in to comment.