Skip to content

Commit

Permalink
Update resources.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateo-Johnson authored May 12, 2024
1 parent c73ae16 commit 89b72b8
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions resources/resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
box-shadow: 0 0 10px darkRed;
}

/* Animation */
.button:nth-child(1) {
animation: slideFadeIn 0.9s ease forwards 0.3s;
}
Expand Down Expand Up @@ -101,7 +100,6 @@
}
}

/* Instagram logo */
.instagram-logo {
background-image: url('https://mateo-johnson.github.io/assets/instagram-white-icon.png');
background-size: cover;
Expand All @@ -111,7 +109,6 @@
margin-right: 5px;
}

/* Twitter logo */
.twitter-logo {
background-image: url('https://mateo-johnson.github.io/assets/twitter-512.png');
background-size: cover;
Expand All @@ -121,7 +118,6 @@
margin-right: 5px;
}

/* GitHub logo */
.github-logo {
background-image: url('https://mateo-johnson.github.io/assets/github.png');
background-size: cover;
Expand Down Expand Up @@ -149,7 +145,6 @@
margin-right: 5px;
}

/* Home button */
.home-button {
position: fixed;
top: 20px;
Expand Down Expand Up @@ -188,22 +183,9 @@
</div>
</div>

<!-- HTML for the home button -->
<a href="#" class="home-button" id="homeButton"></a>

<!-- JavaScript for click event on home button -->

<script>
function openEmail() {
// Specify the email address
var email = "example@example.com";

// Create the mailto link
var mailtoLink = "mailto:" + email;

// Open the default email client
window.location.href = mailtoLink;
}
document.getElementById('homeButton').addEventListener('click', function() {
window.location.href = 'https://mateo-johnson.github.io/index.html';
});
Expand Down

0 comments on commit 89b72b8

Please sign in to comment.