uff muchas cosas, agrege projecto y setup
This commit is contained in:
24
public/js/app.js
vendored
24
public/js/app.js
vendored
@@ -94,29 +94,7 @@
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// Highlight links if in his page
|
||||
switch (window.location.pathname) {
|
||||
case "/":
|
||||
document.getElementById("title-link").classList.add("pure-menu-highlight");
|
||||
break;
|
||||
|
||||
case "/blog":
|
||||
case "/blog/archive":
|
||||
document.getElementById("blog-link").classList.add("pure-menu-highlight");
|
||||
break;
|
||||
|
||||
case "/now":
|
||||
document.getElementById("now-link").classList.add("pure-menu-highlight");
|
||||
break;
|
||||
|
||||
case "/projects":
|
||||
document.getElementById("proyectos-link").classList.add("pure-menu-highlight");
|
||||
break;
|
||||
|
||||
case "/setup":
|
||||
document.getElementById("setup-link").classList.add("pure-menu-highlight");
|
||||
break;
|
||||
} // Makes all images clickeable
|
||||
|
||||
if (window.location.pathname == "/blog" || window.location.pathname == "/blog.archive") document.getElementById("blog-link").classList.add("pure-menu-highlight");else if (window.location.pathname == "/now") document.getElementById("now-link").classList.add("pure-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"); // Makes all images clickeable
|
||||
|
||||
var images = document.getElementsByTagName("img");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user