uff creo que ya esta

This commit is contained in:
Daniel Cortés
2019-10-15 16:57:31 -03:00
parent a7929c0097
commit 9f77ef6dd4
13 changed files with 372 additions and 258 deletions

10
resources/js/app.js vendored
View File

@@ -1,12 +1,12 @@
// Highlight links if in his page
if(window.location.pathname == "/blog" || window.location.pathname == "/blog.archive")
document.getElementById("blog-link").classList.add("pure-menu-highlight");
document.getElementById("blog-link").classList.add("menu-highlight");
else if(window.location.pathname == "/now")
document.getElementById("now-link").classList.add("pure-menu-highlight");
document.getElementById("now-link").classList.add("menu-highlight");
else if(window.location.pathname == "/projects")
document.getElementById("proyectos-link").classList.add("pure-menu-highlight");
else if(window.location.pathname == "/setup")
document.getElementById("setup-link").classList.add("pure-menu-highlight");
document.getElementById("projects-link").classList.add("menu-highlight");
else if(window.location.pathname == "/setups")
document.getElementById("setup-link").classList.add("menu-highlight");
// Makes all images clickeable
var images = document.getElementsByTagName("img");