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 %>
- <%= image_tag "card-headers/#{content_name.pluralize}.jpg", height: 300, width: 300 %> - Create <%= content_name == "magic" ? 'magic' : content_name.pluralize %> + <%= image_tag "card-headers/#{content_name.pluralize}.jpg", height: 300, width: 300, style: 'object-fit: cover' %> +

Create <%= content_name == "magic" ? 'magic' : content_name.pluralize %>

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 @@

- <%= image_tag "screenshots/prompts.png", class: 'materialboxed' %> + <%= image_tag "screenshots/prompts.png", class: 'materialboxed tooltipped', alt: "An example of a writing prompt generated for user's fictional race", data: { tooltip: "An example of a writing prompt generated for a fictional race" } %>

diff --git a/app/views/layouts/landing.html.erb b/app/views/layouts/landing.html.erb index 793272b0..001e93db 100644 --- a/app/views/layouts/landing.html.erb +++ b/app/views/layouts/landing.html.erb @@ -1,3 +1,5 @@ +<% set_meta_tags site: "The smart notebook for worldbuilders - Notebook.ai", page: '' %> + diff --git a/app/views/main/index.html.erb b/app/views/main/index.html.erb index b68fbdba..db17d4f6 100644 --- a/app/views/main/index.html.erb +++ b/app/views/main/index.html.erb @@ -31,8 +31,8 @@
-

create

-
<%= t('marketing.landing_page.cta.writers.header') %>
+
create
+

<%= t('marketing.landing_page.cta.writers.header') %>

<%= t('marketing.landing_page.cta.writers.body') %>

@@ -44,8 +44,8 @@
-

gavel

-
<%= t('marketing.landing_page.cta.roleplayers.header') %>
+
gavel
+

<%= t('marketing.landing_page.cta.roleplayers.header') %>

<%= t('marketing.landing_page.cta.roleplayers.body') %>

@@ -57,8 +57,8 @@
-

brush

-
<%= t('marketing.landing_page.cta.designers.header') %>
+
brush
+

<%= t('marketing.landing_page.cta.designers.header') %>

<%= t('marketing.landing_page.cta.designers.body') %>

@@ -92,8 +92,8 @@
-

bubble_chart

-
<%= t('marketing.landing_page.benefits.creativity.title') %>
+
bubble_chart
+

<%= t('marketing.landing_page.benefits.creativity.title') %>

<%= t('marketing.landing_page.benefits.creativity.text') %>

@@ -102,8 +102,8 @@
-

cloud

-
<%= t('marketing.landing_page.benefits.backups.title') %>
+
cloud
+

<%= t('marketing.landing_page.benefits.backups.title') %>

<%= t('marketing.landing_page.benefits.backups.text') %>

@@ -112,8 +112,8 @@
-

security

-
<%= t('marketing.landing_page.benefits.ads.title') %>
+
security
+

<%= t('marketing.landing_page.benefits.ads.title') %>

<%= t('marketing.landing_page.benefits.ads.text') %>

@@ -123,8 +123,8 @@
-

face

-
<%= t('marketing.landing_page.benefits.characters.title') %>
+
face
+

<%= t('marketing.landing_page.benefits.characters.title') %>

<%= t('marketing.landing_page.benefits.characters.text') %>

@@ -133,8 +133,8 @@
-

public

-
<%= t('marketing.landing_page.benefits.locations.title') %>
+
public
+

<%= t('marketing.landing_page.benefits.locations.title') %>

<%= t('marketing.landing_page.benefits.locations.text') %>

@@ -143,8 +143,8 @@
-

assignment_turned_in

-
<%= t('marketing.landing_page.benefits.continuity.title') %>
+
assignment_turned_in
+

<%= t('marketing.landing_page.benefits.continuity.title') %>

<%= t('marketing.landing_page.benefits.continuity.text') %>

@@ -154,8 +154,8 @@
-

search

-
<%= t('marketing.landing_page.benefits.search.title') %>
+
search
+

<%= t('marketing.landing_page.benefits.search.title') %>

<%= t('marketing.landing_page.benefits.search.text') %>

@@ -164,8 +164,8 @@
-

list

-
<%= t('marketing.landing_page.benefits.organization.title') %>
+
list
+

<%= t('marketing.landing_page.benefits.organization.title') %>

<%= t('marketing.landing_page.benefits.organization.text') %>

@@ -174,8 +174,8 @@
-

settings_ethernet

-
<%= t('marketing.landing_page.benefits.growth.title') %>
+
settings_ethernet
+

<%= t('marketing.landing_page.benefits.growth.title') %>

<%= t('marketing.landing_page.benefits.growth.text') %>

@@ -185,8 +185,8 @@
-

group

-
<%= t('marketing.landing_page.benefits.sharing.title') %>
+
group
+

<%= t('marketing.landing_page.benefits.sharing.title') %>

<%= t('marketing.landing_page.benefits.sharing.text') %>

@@ -195,8 +195,8 @@
-

schedule

-
<%= t('marketing.landing_page.benefits.speed.title') %>
+
schedule
+

<%= t('marketing.landing_page.benefits.speed.title') %>

<%= t('marketing.landing_page.benefits.speed.text') %>

@@ -205,8 +205,8 @@
-

bar_chart

-
<%= t('marketing.landing_page.benefits.quality.title') %>
+
bar_chart
+

<%= t('marketing.landing_page.benefits.quality.title') %>

<%= t('marketing.landing_page.benefits.quality.text') %>

@@ -243,7 +243,7 @@
-

<%= t('marketing.landing_page.pricing.title') %>

+

<%= t('marketing.landing_page.pricing.title') %>

<%= t('marketing.landing_page.pricing.subtitle') %>