diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index c2082f1..e8adb89 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -74,10 +74,6 @@ Colours #4c82fc - Green */ -.has-text-primary { - color: #4c82fc !important; -} - .has-mustard-bg { background-color: #4c82fc; } @@ -104,10 +100,6 @@ Colours } } -/* -Typography -*/ - @import url('https://fonts.googleapis.com/css?family=Calistoga|Open+Sans&display=swap'); h1, @@ -123,14 +115,6 @@ span { font-weight: 400; } -@media(max-width: 767px) { - p { - max-width: 90%; - margin: 0 auto; - } -} - - /* Links @@ -152,11 +136,11 @@ Links Wrapper */ .section .container, -.hero .hero-body, -.hero .hero-head { +.hero .hero-body { width: 1200px; max-width: 100%; margin: 0 auto; + text-align: center; } /* @@ -187,34 +171,12 @@ Hero background-position: 80% 50%; background-repeat: no-repeat; } - .hero-body p { - width: 600px; - } } -/* -Button -*/ -.btn { - margin-top: 20px; - border-radius: 50px; - border: none; - padding: 10px 30px; - transition: opacity 1s ease; - opacity: 1; - cursor: pointer; +.call-to-action { + margin-top: 2em; } -.btn:hover { - opacity: 0.8; -} - -/* -Twitter Feed -*/ -#twitter-feed .columns { - margin: 0px; -} @media(max-width: 1024px) { margin: 0px 10px; } diff --git a/app/assets/stylesheets/home.css.scss b/app/assets/stylesheets/home.css.scss new file mode 100644 index 0000000..e69de29 diff --git a/app/javascript/backend_typed.js b/app/javascript/backend_typed.js index 6148c06..f2ec594 100644 --- a/app/javascript/backend_typed.js +++ b/app/javascript/backend_typed.js @@ -1,13 +1,15 @@ const Typed = require('typed.js'); document.addEventListener("turbolinks:load", function () { - new Typed('.backends-cycler', { - strings: ['Google Sheets', 'Airtable', 'Google Sheets', 'Airtable'], // smoother loops - loop: true, - typeSpeed: 100, - backSpeed: 40, - backDelay: 1400, - smartBackspace: true, - startDelay: 800, - onBegin: (typed) => { typed.currentElContent = typed.el.innerText; } + document.querySelectorAll('.backends-cycler').forEach( el => { + new Typed(el, { + strings: ['Google Sheets', 'Airtable', 'Google Sheets', 'Airtable'], // smoother loops + loop: true, + typeSpeed: 100, + backSpeed: 40, + backDelay: 1400, + smartBackspace: true, + startDelay: 800, + onBegin: (typed) => { typed.currentElContent = typed.el.innerText; } + }); }); }); diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index f9553e8..86a6117 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -15,61 +15,27 @@ <% =end%> - -
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. -
- -+ Link your online forms to Google Sheets and receive form submissions in your favorite spreadsheet tool. +
++ <%= link_to "Signup", signup_url, class: 'button is-rounded has-mustard-bg has-text-white a-menu' %> + or try our <%= link_to "Demo", demo_url %> +
+