Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Update subscription upgrade view to replace settings button with account settings link for improved clarity and navigation.

Josh Pigfordfd3b583737a0
diff --git a/app/views/subscriptions/upgrade.html.erb b/app/views/subscriptions/upgrade.html.erb
index e1456beb..ff1babb1 100644
--- a/app/views/subscriptions/upgrade.html.erb
+++ b/app/views/subscriptions/upgrade.html.erb
@@ -3,12 +3,11 @@
<h1 class="sr-only">Upgrade</h1>
<div class="flex justify-end gap-2">
- <%= render ButtonComponent.new(
- text: "Settings",
+ <%= render LinkComponent.new(
+ text: "Account Settings",
icon: "settings",
- icon_position: :left,
variant: "ghost",
- href: settings_profile_path(return_to: request.fullpath)
+ href: settings_profile_path,
) %>
<%= render ButtonComponent.new(