From 273d27e1a11c62f99e1db506961ecdcb59de4fdc Mon Sep 17 00:00:00 2001 From: Kevin Chang Date: Mon, 6 Feb 2023 17:20:28 -0800 Subject: [PATCH] feat(sidebar): replace sidebar nav link with button --- docs/app/views/application/_sidebar.html.erb | 23 +++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/docs/app/views/application/_sidebar.html.erb b/docs/app/views/application/_sidebar.html.erb index 8c6e92e358..0c81fb2edd 100644 --- a/docs/app/views/application/_sidebar.html.erb +++ b/docs/app/views/application/_sidebar.html.erb @@ -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 %>