1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 15:35:22 +02:00

Lint fixes

This commit is contained in:
Zach Gollwitzer 2025-05-01 15:42:37 -04:00
parent 2618df8843
commit 1638c1e68a
6 changed files with 9 additions and 9 deletions

View file

@ -2,9 +2,9 @@
<% theme = Current.user&.theme || "system" %>
<html
<html
lang="en"
data-theme="<%= theme %>"
data-theme="<%= theme %>"
data-controller="theme intercom"
data-theme-user-preference-value="<%= Current.user&.theme || "system" %>"
class="h-full text-primary overflow-hidden lg:overflow-auto font-sans <%= @os %>">

View file

@ -5,4 +5,4 @@
variant: "ghost",
href: session_path(Current.session),
method: :delete
) %>
) %>

View file

@ -50,4 +50,4 @@
</div>
<% end %>
</div>
</div>
</div>

View file

@ -68,7 +68,7 @@
<%= form.hidden_field :redirect_to, value: "goals" %>
<div class="mb-4">
<%= form.select :theme, [["System", "system"], ["Light", "light"], ["Dark", "dark"]], { label: "Color theme" }, data: { action: "onboarding#setTheme" } %>
<%= form.select :theme, [["System", "system"], ["Light", "light"], ["Dark", "dark"]], { label: "Color theme" }, data: { action: "onboarding#setTheme" } %>
</div>
<div class="space-y-4 mb-4">

View file

@ -42,9 +42,9 @@
<div class="flex gap-3">
<div class="rounded-xl p-1 bg-gray-400/20 theme-dark:bg-gray-500/20 flex flex-col justify-between items-center text-secondary">
<%= render FilledIconComponent.new(icon: "unlock-keyhole", variant: :inverse) %>
<%= render FilledIconComponent.new(icon: "bell", variant: :inverse) %>
<%= render FilledIconComponent.new(icon: "credit-card", variant: :inverse) %>
<%= render FilledIconComponent.new(icon: "unlock-keyhole", variant: :inverse) %>
<%= render FilledIconComponent.new(icon: "bell", variant: :inverse) %>
<%= render FilledIconComponent.new(icon: "credit-card", variant: :inverse) %>
</div>
<div class="space-y-12">

View file

@ -21,7 +21,7 @@
</div>
<p class="text-sm text-secondary">
<% if plan == "annual"%>
<% if plan == "annual" %>
Billed annually, 2 months free
<% else %>
Billed monthly