* Simplify special snowflake onboarding images and center around primary/secondary logos * Remove left and right navbar customization * Update app/lib/constants/site_config.rb Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com> * Remove spec onboarding images Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
28 lines
934 B
Text
28 lines
934 B
Text
<% title "Welcome to #{community_name}" %>
|
|
|
|
<style>
|
|
<% cache(release_adjusted_cache_key("onboarding-css"), expires_in: 10.hours) do %>
|
|
<%= Rails.application.assets["preact/onboarding-modal.css"].to_s.html_safe %>
|
|
<% end %>
|
|
|
|
.crayons-header,
|
|
.crayons-footer {
|
|
display: none;
|
|
}
|
|
</style>
|
|
|
|
<div id="onboarding-container"
|
|
data-community-name="<%= community_name %>"
|
|
data-community-description="<%= SiteConfig.community_description %>"
|
|
data-community-logo="<%= optimized_image_url(safe_logo_url(SiteConfig.secondary_logo_url)) %>"
|
|
data-community-background="<%= optimized_image_url(SiteConfig.onboarding_background_image, width: 1680, quality: 75, random_fallback: false) %>">
|
|
<%= javascript_packs_with_chunks_tag "Onboarding", defer: true %>
|
|
</div>
|
|
|
|
<div id="terms" style="display: none;">
|
|
<%= render "pages/terms_text" %>
|
|
</div>
|
|
|
|
<div id="coc" style="display: none;">
|
|
<%= render "pages/coc_text" %>
|
|
</div>
|