Skip to content

Commit

Permalink
Update: Update profile information
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Oct 4, 2024
1 parent 8cc322b commit d8a1600
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,7 @@ <h3 class="contact__title">Location</h3>
</a>

<!--==================== SCROLL TO TOP ====================-->
<a class="scrollup" id="back-to-top" title="Back to Top" data-tooltip="Back to Top"><i class="fa fa-arrow-up"></i></a>
<a class="scrollup" style="display: block" id="back-to-top" title="Back to Top" data-tooltip="Back to Top"><i class="fa fa-arrow-up"></i></a>

<!--==================== SWIPER JS ====================-->
<script src="./packages/js/swiper-bundle.min.js"></script>
Expand Down
19 changes: 10 additions & 9 deletions packages/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
/* ==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

@media (max-width: 768px) {
html, body {
margin: 0;
padding: 0;
overflow-x: hidden;
height: 100%;
}
}

/*==================== VARIABLES CSS ====================*/
:root {
--header-height: 3rem;
Expand Down Expand Up @@ -339,14 +348,6 @@ img {
color: var(--first-color-alt);
}

html, body {
margin: 0;
padding: 0;
overflow-x: hidden; /* Ensure no horizontal scroll */
height: 100%;
}


/* show menu */
.show-menu {
bottom: 0;
Expand Down Expand Up @@ -1630,7 +1631,7 @@ body {
}

.welcome {
width: 100vw;
width: 99vw;
height: 100vh;
background-color: var(--body-color);
display: flex;
Expand Down
2 changes: 0 additions & 2 deletions packages/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,10 @@ function typeSubtitle() {
}
}

// Start typing animation when page loads
document.addEventListener("DOMContentLoaded", function () {
setTimeout(typeTitle, newTextDelay);
});

// Smooth scroll when button is clicked
document.getElementById("scroll-button").addEventListener("click", function (event) {
event.preventDefault();
document.getElementById("home").scrollIntoView({ behavior: "smooth" });
Expand Down

0 comments on commit d8a1600

Please sign in to comment.