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:
7
resources/js/app.js
vendored
7
resources/js/app.js
vendored
@@ -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() {
|
||||
|
||||
25
resources/views/about.blade.php
Normal file
25
resources/views/about.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
@extends('base')
|
||||
|
||||
@php
|
||||
$parse = new Parsedown();
|
||||
@endphp
|
||||
|
||||
@section('meta-description')
|
||||
<meta name="autor" content="Daniel Cortés"/>
|
||||
<meta name="description" content="Hola, soy Daniel Cortés, estudio Ingenieria Informatica, me gusta programar y aprender constantemente sobre el tema">
|
||||
@endsection
|
||||
|
||||
@section('title')
|
||||
<title>About - Daniel Cortes</title>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<article>
|
||||
<header>
|
||||
<h1 class="post-title">About</h1>
|
||||
</header>
|
||||
<p>
|
||||
Oh no
|
||||
</p>
|
||||
</article>
|
||||
@endsection
|
||||
@@ -29,6 +29,9 @@
|
||||
<li class="menu-item">
|
||||
<a class="menu-link" id="setup-link" href="{{route('setups.index')}}">Setups</a>
|
||||
</li>
|
||||
<li class="menu-item">
|
||||
<a class="menu-link" id="about-link" href="{{route('about')}}">About</a>
|
||||
</li>
|
||||
@auth
|
||||
<li class="menu-item">
|
||||
<a class="menu-link special-link" href="{{route('admin')}}">Admin</a>
|
||||
|
||||
Reference in New Issue
Block a user