Add Base
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
function toggleSidebar() {
|
||||
document.getElementById('sidebar').classList.toggle('open');
|
||||
}
|
||||
|
||||
function showLayer(layerId) {
|
||||
document.querySelectorAll('.layer').forEach(layer => {
|
||||
layer.classList.remove('active');
|
||||
});
|
||||
|
||||
document.getElementById('layer-' + layerId).classList.add('active');
|
||||
|
||||
toggleSidebar();
|
||||
}
|
||||
|
||||
async function fetchData() {
|
||||
}
|
||||
Reference in New Issue
Block a user