From 1a3a221f901ec3f96edcb6dda302ea0cf04f8aa9 Mon Sep 17 00:00:00 2001 From: Kevin Chang Date: Wed, 8 Feb 2023 17:59:39 -0800 Subject: [PATCH] feat(support): relocate feedback to footer --- docs/app/views/application/_footer.html.erb | 9 +++++++++ docs/app/views/pages/_support_modal.html.erb | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/app/views/application/_footer.html.erb b/docs/app/views/application/_footer.html.erb index a727b82628..accd13d705 100644 --- a/docs/app/views/application/_footer.html.erb +++ b/docs/app/views/application/_footer.html.erb @@ -6,6 +6,15 @@ <% end %> <%= sage_component SageButtonGroup, { gap: :md, align: "space-between" } do %> <%= sage_component SageButtonGroup, { gap: :md } do %> + <%= sage_component SagePopover, { + custom_content_class: "feedback-popover-panel", + icon: "feedback", + trigger_icon_only: false, + trigger_value: "Was this page helpful?", + popover_position: "top", + } do %> +
+ <% end %> <%= sage_component SageLink, { label: "SassDocs", url: Rails.application.config.sassdocs_root_url, diff --git a/docs/app/views/pages/_support_modal.html.erb b/docs/app/views/pages/_support_modal.html.erb index 6b00ad964d..9b0c9498d8 100644 --- a/docs/app/views/pages/_support_modal.html.erb +++ b/docs/app/views/pages/_support_modal.html.erb @@ -38,7 +38,6 @@

Share your feedback

We care about improving your experience! Share your feedback below.


-
<% end %> <% end %>