-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1f16ad
commit b2caacf
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <i | ||
class="fa-solid fa-envelope"></i></h2> | ||
</a> | ||
|
@@ -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 <i class="fa-solid fa-envelope"></i> | ||
</h2> | ||
</a> | ||
|
@@ -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 | ||
|
@@ -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); | ||
} | ||
} | ||
|
||
|