mirror of
https://github.com/ivabus/www
synced 2024-11-26 06:55:05 +03:00
Merge pull request #67 from teaxyz/word-carousel
Equitable Open-Source for... Word carousel.
This commit is contained in:
commit
a16c36dc36
3 changed files with 36 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
<div class="row hero my-auto">
|
<div class="row hero my-auto">
|
||||||
<div style="z-index:100; display:flex; flex-direction:column;" class="col-lg-6 col-sm-12">
|
<div style="z-index:100; display:flex; flex-direction:column;" class="col-lg-6 col-sm-12">
|
||||||
<div style="margin-top:auto; margin-bottom:auto;">
|
<div style="margin-top:auto; margin-bottom:auto;">
|
||||||
<h1 class="display-1 mb-4"><span class="yellow">Equitable</span> Open‐Source for web3</h1>
|
<h1 class="display-1 mb-4"><span class="yellow">Equitable</span> <span id="cycle-br-two"><br></span>Open‐Source for <span id="cycle-br"><br></span><span id="cycle"></span></h1>
|
||||||
<p class="mb-5 fs-sm-5 fs-lg-6 lead">The tools that build the internet have steeped too long. For the past two
|
<p class="mb-5 fs-sm-5 fs-lg-6 lead">The tools that build the internet have steeped too long. For the past two
|
||||||
decades, big tech has made trillions off the generosity of visionary developers and web pioneers… never
|
decades, big tech has made trillions off the generosity of visionary developers and web pioneers… never
|
||||||
thanking, never mentioning, and certainly never paying. At tea, we’re brewing something to change that by
|
thanking, never mentioning, and certainly never paying. At tea, we’re brewing something to change that by
|
||||||
|
@ -69,6 +69,12 @@
|
||||||
.discord-btn:hover{
|
.discord-btn:hover{
|
||||||
background-color: #388495 !important;
|
background-color: #388495 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 992px) {
|
||||||
|
#cycle-br{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- Mission Statement -->
|
<!-- Mission Statement -->
|
||||||
|
|
|
@ -82,6 +82,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script src="js/classListShim.js"></script>
|
||||||
|
|
||||||
<!-- JavaScript Bundle with Popper -->
|
<!-- JavaScript Bundle with Popper -->
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
|
||||||
|
@ -154,3 +156,29 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
||||||
|
|
||||||
gtag('config', 'G-Q3M5LVH76F');
|
gtag('config', 'G-Q3M5LVH76F');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const textList = [
|
||||||
|
"web3",
|
||||||
|
"game‐dev",
|
||||||
|
"web",
|
||||||
|
"AI",
|
||||||
|
"automation",
|
||||||
|
"data",
|
||||||
|
"ML",
|
||||||
|
"devops",
|
||||||
|
"ML",
|
||||||
|
"creating",
|
||||||
|
"everything",
|
||||||
|
"<i>you<i>"
|
||||||
|
];
|
||||||
|
const cycle = document.querySelector("#cycle");
|
||||||
|
let i = 0;
|
||||||
|
const cycleText = () => {
|
||||||
|
cycle.innerHTML = textList[i];
|
||||||
|
i = ++i % textList.length;
|
||||||
|
};
|
||||||
|
cycleText();
|
||||||
|
setInterval(cycleText, 1200);
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
|
@ -225,6 +225,7 @@ For authenticated users:
|
||||||
|
|
||||||
|
|
||||||
@media only screen and (min-width: 600px) {
|
@media only screen and (min-width: 600px) {
|
||||||
|
|
||||||
#tea-steam-1{
|
#tea-steam-1{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
|
Loading…
Reference in a new issue