mirror of
https://github.com/ivabus/www
synced 2024-11-22 23:35:07 +03:00
Text cycle
This commit is contained in:
parent
b6454d4230
commit
cdc333eeeb
2 changed files with 4 additions and 4 deletions
|
@ -47,7 +47,7 @@
|
|||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h2 class="black text-center" style="z-index:2;">equitable open-source<br>for web3</h2>
|
||||
<h2 class="black text-center" style="z-index:2;">equitable open-source<br>for <span class="cycle">web3</span></h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<hr>
|
||||
<div class="row" style="margin: 75px 0px;">
|
||||
<div class="col-lg-8 footer-content">
|
||||
<h4>Equitable Open-Source for Web3</h4>
|
||||
<h4>Equitable open-source for <span id="cycle">web3</span></h4>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||
<img src="/Images/footer-grid-element.svg" alt="tea.grid">
|
||||
</div>
|
||||
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row mb-4">
|
||||
<h4>Subscribe to our email list</h4>
|
||||
<h4>subscribe to our email list</h4>
|
||||
<hr>
|
||||
<div class="col">
|
||||
<div class="input-group">
|
||||
|
@ -132,7 +132,7 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
|||
"everything",
|
||||
"<i>you<i>"
|
||||
];
|
||||
const cycle = document.querySelector("#cycle");
|
||||
const cycle = document.querySelector(".cycle","#cycle");
|
||||
let i = 0;
|
||||
const cycleText = () => {
|
||||
cycle.innerHTML = textList[i];
|
||||
|
|
Loading…
Reference in a new issue