Saved your changes before starting work
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 5e584ab0-c340-4432-97ef-1972582b60e9 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 6d4dbe7c-69e4-4510-bd62-638ff9c78d5c
BIN
static/images/bggg.png
Normal file
|
After Width: | Height: | Size: 318 KiB |
BIN
static/images/frctees.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
static/images/gene.png
Normal file
|
After Width: | Height: | Size: 221 KiB |
BIN
static/images/geneh.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
static/images/images_3.jpeg
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
static/images/michiana.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
static/images/sam.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
static/images/sam2.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
static/images/tt1.png
Normal file
|
After Width: | Height: | Size: 178 KiB |
BIN
static/images/tt2.png
Normal file
|
After Width: | Height: | Size: 113 KiB |
BIN
static/images/tt3.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
static/images/tt4.png
Normal file
|
After Width: | Height: | Size: 139 KiB |
BIN
static/images/tt5.png
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
static/images/tt6.png
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
static/images/tt7.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
@@ -0,0 +1,33 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const currentPath = window.location.pathname;
|
||||
|
||||
const navLinks = document.querySelectorAll('.nav-item-center, .nav-item-left');
|
||||
navLinks.forEach(navItem => {
|
||||
const link = navItem.querySelector('a');
|
||||
if (link) {
|
||||
const linkPath = new URL(link.href).pathname;
|
||||
if (linkPath === currentPath || (currentPath === '/' && linkPath === '/')) {
|
||||
navItem.classList.add('active');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
const sidebarLinks = document.querySelectorAll('.sidebar a');
|
||||
const hash = window.location.hash;
|
||||
if (hash) {
|
||||
sidebarLinks.forEach(link => {
|
||||
if (link.getAttribute('href') === hash) {
|
||||
link.classList.add('active');
|
||||
}
|
||||
});
|
||||
} else if (sidebarLinks.length > 0) {
|
||||
sidebarLinks[0].classList.add('active');
|
||||
}
|
||||
|
||||
sidebarLinks.forEach(link => {
|
||||
link.addEventListener('click', function() {
|
||||
sidebarLinks.forEach(l => l.classList.remove('active'));
|
||||
this.classList.add('active');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||