Skip to content

Commit

Permalink
changed carla contact link
Browse files Browse the repository at this point in the history
  • Loading branch information
MattRoweEAIF committed Mar 18, 2024
1 parent c1f16ad commit b2caacf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ <h2>Products</h2>
<h2 style="color:white;">Visit the CARLA website <i class="fa-solid fa-chevron-right"></i></h2>
</a>
<br>
<a href="mailto:carla.[email protected]">
<a href="https://carla.org/contact/">
<h2 class="text-left" style="color:white">Contact the CARLA organisation &nbsp;<i
class="fa-solid fa-envelope"></i></h2>
</a>
Expand All @@ -977,7 +977,7 @@ <h2 class="text-left" style="color:white;display:inline;margin-right:2em;"><stro
<h2 style="color:white;">CARLA website <i class="fa-solid fa-chevron-right"></i></h2>
</a>
<br>
<a href="mailto:carla.[email protected]">
<a href="https://carla.org/contact/">
<h2 class="text-left" style="color:white">Contact CARLA &nbsp;<i class="fa-solid fa-envelope"></i>
</h2>
</a>
Expand Down Expand Up @@ -1126,6 +1126,8 @@ <h2 class="text-left" style="color:white;display:inline;margin-right:2em;"><stro

var newToggle = null;

var timeoutID = null;

function addBurger() {
menu.classList.remove("active");
// adds the menu (hamburger) icon
Expand All @@ -1149,10 +1151,11 @@ <h2 class="text-left" style="color:white;display:inline;margin-right:2em;"><stro

function toggleMenu() {
if (menu.classList.contains("active")) {
clearTimeout(timeoutID)
addBurger();
} else {
addX();
setTimeout(addBurger, 4000);
timeoutID = setTimeout(addBurger, 6000);
}
}

Expand Down

0 comments on commit b2caacf

Please sign in to comment.