add permalinks to dashboard

This commit is contained in:
Carneiro 2024-08-05 22:06:49 -03:00
parent a644469897
commit ae12864588
4 changed files with 7 additions and 5 deletions

View File

@ -65,7 +65,7 @@
<div class="button-sidebar">
<ul>
<li>
<a class="" href="{{ site.baseurl }}/dashboard/home.php">
<a class="" href="{{ site.baseurl }}/dashboard">
<span class="menu-txt">Dashboard</span>
<i class="fa-solid fa-house mx-4"></i>
</a>

View File

@ -44,8 +44,8 @@ lang: pt
<h1>Bem vindo <?php echo $username; ?> </h1>
</div>
<div class="menu">
<a class="button" href="{{ site.baseurl }}/dashboard/home.php" >Início</a>
<a class="button" href="{{ site.baseurl }}/dashboard/upload.php" >Criar aula</a>
<a class="button" href="{{ site.baseurl }}/dashboard" >Início</a>
<a class="button" href="{{ site.baseurl }}/dashboard/upload" >Criar aula</a>
</div>
{{ content }}
</div>
</div>

View File

@ -1,5 +1,6 @@
---
layout: dashboard
permalink: /dashboard/
lang: pt
---
@ -9,4 +10,4 @@ lang: pt
<p><?php echo $file_count; ?></p>
</div>
</div>
</div>

View File

@ -1,5 +1,6 @@
---
layout: dashboard
permalink: /dashboard/upload/
lang: pt
---