mirror of
https://github.com/ivabus/www
synced 2024-11-25 21:15:07 +03:00
Remove text carousel script
This commit is contained in:
parent
3e8b5f14b2
commit
1f2b3c038a
2 changed files with 0 additions and 48 deletions
|
@ -115,30 +115,6 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
|||
gtag('config', 'G-Q3M5LVH76F');
|
||||
</script>
|
||||
|
||||
<script>
|
||||
const textList = [
|
||||
"game‐dev",
|
||||
"AI",
|
||||
"automation",
|
||||
"data",
|
||||
"ML",
|
||||
"web",
|
||||
"devops",
|
||||
"creating",
|
||||
"everything",
|
||||
"<i>you<i>"
|
||||
];
|
||||
const cycle = document.querySelector(".cycle","#cycle");
|
||||
let i = 0;
|
||||
const cycleText = () => {
|
||||
cycle.innerHTML = textList[i];
|
||||
i = ++i % textList.length;
|
||||
};
|
||||
cycleText();
|
||||
setInterval(cycleText, 2400);
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
rdt('track', 'SignUp');
|
||||
rdt('track', 'ViewContent');
|
||||
|
|
|
@ -38,30 +38,6 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
|||
gtag('config', 'G-Q3M5LVH76F');
|
||||
</script>
|
||||
|
||||
<script>
|
||||
const textList = [
|
||||
"game‐dev",
|
||||
"AI",
|
||||
"automation",
|
||||
"data",
|
||||
"ML",
|
||||
"web",
|
||||
"devops",
|
||||
"creating",
|
||||
"everything",
|
||||
"<i>you<i>"
|
||||
];
|
||||
const cycle = document.querySelector(".cycle","#cycle");
|
||||
let i = 0;
|
||||
const cycleText = () => {
|
||||
cycle.innerHTML = textList[i];
|
||||
i = ++i % textList.length;
|
||||
};
|
||||
cycleText();
|
||||
setInterval(cycleText, 2400);
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
rdt('track', 'SignUp');
|
||||
rdt('track', 'ViewContent');
|
||||
|
|
Loading…
Reference in a new issue