Merge pull request #52 from beatriceo/brandi

done
This commit is contained in:
Beatrice Olivera
2018-09-04 11:53:10 +01:00
committed by GitHub
6 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
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 };

View File

@@ -3,6 +3,9 @@ import ActionCable from 'actioncable'
import { triggerModalEvent } from "../components/modal.js";
import { loadDynamicBannerText } from '../components/banner';
loadDynamicBannerText();
triggerModalEvent();
const settingsPage = document.getElementById('settings-page');