This commit is contained in:
24c02 2025-12-17 12:33:15 -05:00
parent d2dcc70e82
commit 4bb69a5694

View file

@ -1,8 +1,8 @@
<% service_name = @program&.name || "the application" %>
<% scenario_class = @program&.onboarding_scenario_class %>
<% scenario = scenario_class&.new(nil) %>
<% if scenario&.background_url %>
<% content_for(:body_style) { "background-image: url('#{scenario.background_url}'); background-size: cover; background-position: center;" } %>
<% if scenario&.background_path %>
<% content_for(:body_style) { "background-image: url('#{scenario.background_path}'); background-size: cover; background-position: center;" } %>
<% end %>
<%= render Components::AuthWelcome.new(
headline: "Continue to #{service_name}",