From 7e728b6fbd66118d2fd6aee5807968d56e4972f9 Mon Sep 17 00:00:00 2001 From: Beatrice Olivera <31216493+beatriceo@users.noreply.github.com> Date: Tue, 4 Sep 2018 12:04:22 +0100 Subject: [PATCH] Revert "done" --- app/assets/stylesheets/pages/_home.scss | 2 -- app/javascript/components/banner.js | 13 ------------- app/javascript/packs/application.js | 3 --- app/views/pages/home.html.erb | 3 --- package.json | 3 +-- yarn.lock | 4 ---- 6 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 app/javascript/components/banner.js diff --git a/app/assets/stylesheets/pages/_home.scss b/app/assets/stylesheets/pages/_home.scss index ba27993..a3fa38e 100755 --- a/app/assets/stylesheets/pages/_home.scss +++ b/app/assets/stylesheets/pages/_home.scss @@ -31,5 +31,3 @@ video { display: flex; justify-content: space-between; } - - diff --git a/app/javascript/components/banner.js b/app/javascript/components/banner.js deleted file mode 100644 index 57535ed..0000000 --- a/app/javascript/components/banner.js +++ /dev/null @@ -1,13 +0,0 @@ -import Typed from 'typed.js'; - -function loadDynamicBannerText() { - new Typed('#banner-typed-text', { - strings: ["Language is not a barrier anymore", "Stay connected"], - typeSpeed: 50, - loop: true - }); -} - -export { loadDynamicBannerText }; - - diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index 4ba0f88..72512a0 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -3,9 +3,6 @@ import ActionCable from 'actioncable' import { triggerModalEvent } from "../components/modal.js"; -import { loadDynamicBannerText } from '../components/banner'; -loadDynamicBannerText(); - triggerModalEvent(); const settingsPage = document.getElementById('settings-page'); diff --git a/app/views/pages/home.html.erb b/app/views/pages/home.html.erb index cefdfde..97289e0 100644 --- a/app/views/pages/home.html.erb +++ b/app/views/pages/home.html.erb @@ -1,8 +1,5 @@