Skip to content
Snippets Groups Projects
Commit bfe4d6ef authored by Vishwaa Kannan's avatar Vishwaa Kannan
Browse files

remove text on hero gif after 5 seconds

parent 0d364b19
No related branches found
No related tags found
No related merge requests found
Pipeline #404537 passed
......@@ -44,4 +44,10 @@ document.addEventListener('DOMContentLoaded', function () {
checkScroll(); // Check on load
});
\ No newline at end of file
document.addEventListener("DOMContentLoaded", function() {
setTimeout(() => {
const heroSection = document.querySelector('.time');
heroSection.classList.add('hidden');
heroSection.classList.remove('hero-overlay');
}, 5000); // 5 seconds delay
});
\ No newline at end of file
......@@ -325,4 +325,6 @@ h2 {
opacity: 1;
transform: translateY(0);
}
\ No newline at end of file
.hidden {
display: none;
}
\ No newline at end of file
......@@ -64,7 +64,7 @@
<!-- Full-screen GIF Section -->
<section class="hero-section">
<div class="hero-overlay">
<div class="time hero-overlay">
<h1>Welcome to the GCM-KY Team</h1>
<p>We are working on solutions to detect PFAS</p>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment