feat: Agregada pagina about

Se creo una pagina about, esta sera creada manualmente, sin conexion a
base de datos porque no es una pagina que valla a cambiar constantemente
This commit is contained in:
Daniel Cortés
2019-10-20 03:41:25 -03:00
parent de4ee6dcce
commit 569bbb0cbd
5 changed files with 41 additions and 4 deletions

7
resources/js/app.js vendored
View File

@@ -21,6 +21,10 @@ function is_setups_route() {
return window.location.pathname == "/setups";
}
function is_about_route() {
return window.location.pathname == "/about";
}
function highlight_route() {
if(is_blog_route()){
document.getElementById("blog-link").classList.add("menu-highlight");
@@ -30,7 +34,10 @@ function highlight_route() {
document.getElementById("projects-link").classList.add("menu-highlight");
}else if(is_projects_route()){
document.getElementById("setup-link").classList.add("menu-highlight");
}else if(is_about_route()){
document.getElementById("about-link").classList.add("menu-highlight");
}
}
function make_images_clickeable() {