Skip to content

Commit ec86490

Browse files
committed
start on content_type landing pages wip
1 parent 0a2d249 commit ec86490

File tree

2 files changed

+43
-7
lines changed

2 files changed

+43
-7
lines changed

app/views/information/content_type.html.erb

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,44 @@
1111
}
1212
%>
1313

14+
<section class="text-green-900" style="height: 78vh;">
15+
<div class="h-full bg-right-bottom bg-cover flex shadow-lg" style="background-image: url(<%= image_path 'card-headers/universes.webp' %>);">
16+
<div class="container mx-auto p-4 flex items-center z-10">
17+
<div class="text-center w-full">
18+
<div class="text-black py-4 px-5 my-5">
19+
<div class="mb-3 text-4xl md:text-6xl" style="text-shadow: white 0px 0px 10px;">
20+
The <span class="text-blue-500">smart</span> notebook<br class="hidden sm:block" />
21+
for <span class="text-blue-500">smart</span> worldbuilders
22+
</div>
23+
<div class="leading-normal text-2xl" style="text-shadow: white 0px 0px 10px;">
24+
<%= t('marketing.landing_page.promo_subheader') %>
25+
</div>
26+
</div>
27+
<div class="cta clear-left px-5">
28+
<%= link_to new_user_registration_path, class: 'no-underline btn block sm:inline-block global-transition text-white bg-blue-500 hover:bg-blue-400' do %>
29+
<div class="flex justify-center items-center">
30+
<span>Start worldbuilding now</span>
31+
<span class="fa fa-xs fa-arrow-right ml-4"></span>
32+
</div>
33+
<% end %>
34+
<!--
35+
<span class="text-white ml-4">
36+
No card needed.
37+
</span>
38+
-->
39+
</div>
40+
</div>
41+
</div>
42+
</div>
43+
</section>
44+
45+
46+
47+
48+
49+
<% 15.times do %><br /><% end %>
50+
51+
1452
<%= content_for :full_width_page_header do %>
1553
<%= render partial: 'content/components/parallax_header', locals: { content_type: singular_class_name, content_class: @content_type } %>
1654
<% end %>

app/views/layouts/application.html.erb

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@
1313
<main>
1414
<%= yield :full_width_page_header %>
1515
<%= yield :full_width_page_content %>
16-
<div class="container<% if (user_signed_in? && current_user.fluid_preference) || request.env.fetch('REQUEST_PATH', '').start_with?('/forum/') || @full_width_page_override %>-fluid<% end %>">
17-
<%= render 'cards/ui/alert' %>
18-
<%= render 'cards/ui/notice' %>
19-
<div class="row">
20-
<div class="col s12">
21-
<%= yield %>
22-
</div>
16+
<%= render 'cards/ui/alert' %>
17+
<%= render 'cards/ui/notice' %>
18+
<div class="row">
19+
<div class="col s12">
20+
<%= yield %>
2321
</div>
2422
</div>
2523
</main>

0 commit comments

Comments
 (0)