mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-04 21:15:19 +02:00
Billing (#1269)
* Change env SELF_HOSTING_ENABLED to SELF_HOSTED * Initial Stripe implementation * Fix portal link * Use webhook signatures * Migrated to new Stripe gem conventions Also updated resource routing * Added faraday-multipart gem to resolve middleware notice * Merge fix * Merge fix * Temporary upgrade prompt for early access * Lint fix * i18n fixes * Remove catch-all rescue * Update .env.example
This commit is contained in:
parent
41dff228e8
commit
31f3ff6a16
27 changed files with 225 additions and 12 deletions
16
app/views/shared/_subscribe_prompt.html.erb
Normal file
16
app/views/shared/_subscribe_prompt.html.erb
Normal file
|
@ -0,0 +1,16 @@
|
|||
<div class="flex justify-center items-center h-[800px]">
|
||||
<div class="text-center flex flex-col gap-4 items-center max-w-[300px]">
|
||||
<%= lucide_icon "circle-fading-arrow-up", class: "w-8 h-8 text-green-500" %>
|
||||
|
||||
<div class="space-y-1 text-sm">
|
||||
<p class="text-gray-900 font-medium"><%= t(".title") %></p>
|
||||
<p class="text-gray-500"><%= t(".subtitle") %></p>
|
||||
<p class="text-gray-400 text-xs"><%= t(".guarantee") %></p>
|
||||
</div>
|
||||
|
||||
<%= link_to new_subscription_path, class: "btn btn--primary flex items-center gap-1" do %>
|
||||
<%= lucide_icon("credit-card", class: "w-5 h-5") %>
|
||||
<span><%= t(".subscribe") %></span>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue