diff --git a/app/assets/images/card-headers/planets.jpg b/app/assets/images/card-headers/planets.jpg index c3adb478..7f707a2c 100644 Binary files a/app/assets/images/card-headers/planets.jpg and b/app/assets/images/card-headers/planets.jpg differ diff --git a/app/assets/stylesheets/landing.scss b/app/assets/stylesheets/landing.scss index f8099bbf..aef9df12 100644 --- a/app/assets/stylesheets/landing.scss +++ b/app/assets/stylesheets/landing.scss @@ -45,6 +45,7 @@ display: block; opacity: 0.25; position: absolute; + z-index: -1; left: 50%; bottom: 0; min-width: 100%; diff --git a/app/assets/stylesheets/typography.scss b/app/assets/stylesheets/typography.scss index 8ebc5745..e349647f 100644 --- a/app/assets/stylesheets/typography.scss +++ b/app/assets/stylesheets/typography.scss @@ -10,10 +10,29 @@ h1.card-title, h2.card-title, h3.card-title { margin-top: 0; + margin-bottom: 0; } .h1-size { font-size: 4.2rem; line-height: 110%; font-weight: 400; +} +.h2-size { + font-size: 3.56rem; + line-height: 110%; + font-weight: 400; + margin: 2rem 0 1rem 0; +} +.h3-size { + font-size: 2.92rem; + line-height: 110%; + font-weight: 400; + margin: 2rem 0 1rem 0; +} + +.h5-size { + font-size: 1.64rem; + line-height: 110%; + margin: 1rem 0 0.5rem 0; } \ No newline at end of file diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index 83d81ec1..59ad1b55 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -13,7 +13,6 @@ class MainController < ApplicationController end def index - @page_title = "Worldbuilding and writing" redirect_to(:dashboard) if user_signed_in? end @@ -24,6 +23,8 @@ class MainController < ApplicationController end def dashboard + @page_title = "My notebook" + set_random_content # for questions @attribute_field_to_question = SerendipitousService.question_for(@content) end diff --git a/app/views/cards/intros/_content_type_intro.html.erb b/app/views/cards/intros/_content_type_intro.html.erb index 2875d6e7..b2f76114 100644 --- a/app/views/cards/intros/_content_type_intro.html.erb +++ b/app/views/cards/intros/_content_type_intro.html.erb @@ -6,8 +6,8 @@ <%= link_to send("#{content_name}_worldbuilding_info_path"), class: 'black-text' do %>
diff --git a/app/views/information/content_type.html.erb b/app/views/information/content_type.html.erb index 836e757c..f173eaef 100644 --- a/app/views/information/content_type.html.erb +++ b/app/views/information/content_type.html.erb @@ -285,7 +285,7 @@
<%= t('marketing.landing_page.cta.writers.body') %>
@@ -44,8 +44,8 @@<%= t('marketing.landing_page.cta.roleplayers.body') %>
@@ -57,8 +57,8 @@<%= t('marketing.landing_page.cta.designers.body') %>
@@ -92,8 +92,8 @@<%= t('marketing.landing_page.benefits.creativity.text') %>
@@ -102,8 +102,8 @@<%= t('marketing.landing_page.benefits.backups.text') %>
@@ -112,8 +112,8 @@<%= t('marketing.landing_page.benefits.ads.text') %>
@@ -123,8 +123,8 @@<%= t('marketing.landing_page.benefits.characters.text') %>
@@ -133,8 +133,8 @@<%= t('marketing.landing_page.benefits.locations.text') %>
@@ -143,8 +143,8 @@<%= t('marketing.landing_page.benefits.continuity.text') %>
@@ -154,8 +154,8 @@<%= t('marketing.landing_page.benefits.search.text') %>
@@ -164,8 +164,8 @@<%= t('marketing.landing_page.benefits.organization.text') %>
@@ -174,8 +174,8 @@<%= t('marketing.landing_page.benefits.growth.text') %>
@@ -185,8 +185,8 @@<%= t('marketing.landing_page.benefits.sharing.text') %>
@@ -195,8 +195,8 @@<%= t('marketing.landing_page.benefits.speed.text') %>
@@ -205,8 +205,8 @@<%= t('marketing.landing_page.benefits.quality.text') %>
@@ -243,7 +243,7 @@