diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 78f9b65..09236d4 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -197,8 +197,7 @@ footer { font-size: var(--fs-base); font-family: var(--ff-ikea); font-weight: 700; - line-height: 1.4; - height: 60px; + line-height: 1.2; border-radius: 400px; width: 100%; cursor: pointer; @@ -206,7 +205,7 @@ footer { display: inline-block; text-align: center; box-sizing: border-box; - padding: 0.888888888888889em 1.333333333333333em; + padding: 0.62em 1em; } .button__base-light { @@ -252,8 +251,9 @@ main { line-height: 1.4; } -.intro-content-container button { - margin: 4px 0 0 0 + +.intro-content-container > :last-child { + margin-top: 4px; } diff --git a/app/views/languages/_intro.html.erb b/app/views/languages/_intro.html.erb index d9be02f..859e291 100644 --- a/app/views/languages/_intro.html.erb +++ b/app/views/languages/_intro.html.erb @@ -2,6 +2,5 @@ <%= tag.div attachment.body.html_safe, class: i == 0 ? "intro-content-header" : "intro-content-body" %> <% end %> - \ No newline at end of file +<%= link_to t('get_started'), Node.roots.first.children.first.url, class: 'button__base' %> + diff --git a/app/views/languages/index.html.erb b/app/views/languages/index.html.erb index 7be8eaa..a43e099 100644 --- a/app/views/languages/index.html.erb +++ b/app/views/languages/index.html.erb @@ -1,7 +1,9 @@ <%- content_for :title, t('project_name') %> +<%= turbo_frame_tag 'main' do %>
+
@@ -27,4 +29,5 @@ <%= render partial: 'intro' %>
-
\ No newline at end of file +
+<% end %> \ No newline at end of file diff --git a/app/views/site/tmpl_article.html.erb b/app/views/site/tmpl_article.html.erb index b6acdb4..9ffeeb8 100644 --- a/app/views/site/tmpl_article.html.erb +++ b/app/views/site/tmpl_article.html.erb @@ -8,3 +8,6 @@ content_for :meta_description, @node.page_description.blank? ? article_parts[:description] : @node.page_description %> +<%= turbo_frame_tag 'main' do %> +Hej +<% end %> \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index fb038e5..ff3d924 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -7,7 +7,7 @@ en: hello: Hello! please_select_a_language_to_get_started: Please select a language to get started. confirm: Confirm - get_started: Get started + get_started: Let’s go! learn_more: Learn more spot_another_link: Spot another link challange_a_friend: Challenge a friend