Skip to content

Commit

Permalink
Add analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
VerisimilitudeX committed Mar 4, 2025
1 parent 4fd6993 commit 38fd8a0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/analyzer/analyzer.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ <h4>Advanced Features</h4>
</div>

<div class="tab-content" id="genetic-testing">
<h3>Genetic Testing Coming Soon</h3>
<div class="analyzer-upload" id="geneticFileDropZone">
<i class="fas fa-cloud-upload-alt"></i>
<h3>Upload Genetic Data</h3>
Expand Down
21 changes: 21 additions & 0 deletions web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,27 @@ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
});
}
});
/*
* Initialize futuristic navbar effects
*/
function initFuturisticNavbar() {
const navbar = document.getElementById('navbar');
if (!navbar) return;
navbar.addEventListener('mousemove', (e) => {
const rect = navbar.getBoundingClientRect();
const x = e.clientX - rect.left;
const y = e.clientY - rect.top;
navbar.style.background = `radial-gradient(circle at ${x}px ${y}px, rgba(255,255,255,0.2), transparent), linear-gradient(90deg, rgba(0,20,39,0.8), rgba(0,20,39,1))`;
});
navbar.addEventListener('mouseleave', () => {
navbar.style.background = '';
});
}

document.addEventListener('DOMContentLoaded', function() {
initFuturisticNavbar();
});

});

/**
Expand Down

0 comments on commit 38fd8a0

Please sign in to comment.