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