Commit bdab764a authored by LianaHus's avatar LianaHus Committed by Liana Husikyan

added async to medium script

parent 47bce201
...@@ -159,8 +159,9 @@ export class LandingPage extends ViewPlugin { ...@@ -159,8 +159,9 @@ export class LandingPage extends ViewPlugin {
data-poststyle="external" data-poststyle="external"
data-readmore="More..." data-readmore="More..."
data-buttonclass="btn mb-3" data-buttonclass="btn mb-3"
data-offset="-100"> data-offset="-100"
</div> >
- </div>
</div> </div>
</div> </div>
` `
...@@ -329,7 +330,7 @@ export class LandingPage extends ViewPlugin { ...@@ -329,7 +330,7 @@ export class LandingPage extends ViewPlugin {
const img = yo`<img class=${css.logoImg} src="assets/img/guitarRemiCroped.webp" onclick="${() => playRemi()}"></img>` const img = yo`<img class=${css.logoImg} src="assets/img/guitarRemiCroped.webp" onclick="${() => playRemi()}"></img>`
const playRemi = async () => { await document.getElementById('remiAudio').play() } const playRemi = async () => { await document.getElementById('remiAudio').play() }
// to retrieve medium posts // to retrieve medium posts
document.body.appendChild(yo`<script src="https://www.retainable.io/assets/retainable/rss-embed/retainable-rss-embed.js"></script>`) document.body.appendChild(yo`<script async src="https://www.retainable.io/assets/retainable/rss-embed/retainable-rss-embed.js"></script>`)
const container = yo` const container = yo`
<div class="${css.homeContainer} d-flex" data-id="landingPageHomeContainer"> <div class="${css.homeContainer} d-flex" data-id="landingPageHomeContainer">
<div class="${css.mainContent} bg-light"> <div class="${css.mainContent} bg-light">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment