Updates to add back buttons and known router paths

This commit is contained in:
Matthew Aaron Raymer
2022-11-30 14:39:24 +08:00
parent f28e2123b1
commit 65d4efb936
7 changed files with 17 additions and 38 deletions

View File

@@ -28,9 +28,7 @@
</li>
<!-- Profile -->
<li class="basis-1/5 rounded-md text-slate-500">
<a href="account-view.html" class="block text-center py-3 px-1"
><fa icon="circle-user" class="fa-fw"></fa
></a>
<router-link :to="{ name:'account' }" class="block text-center py-3 px-1"><fa icon="circle-user" class="fa-fw"></fa></router-link>
</li>
</ul>
</nav>
@@ -41,9 +39,7 @@
<div id="ViewBreadcrumb" class="mb-8">
<h1 class="text-lg text-center font-light relative px-7">
<!-- Back -->
<a href="" class="text-lg text-center px-2 py-1 absolute -left-2 -top-1"
><fa icon="chevron-left" class="fa-fw"></fa
></a>
<button @click="$router.go(-1)" class="text-lg text-center px-2 py-1 absolute -left-2 -top-1"><fa icon="chevron-left" class="fa-fw"></fa></button>
<!-- Context Menu -->
<a
href=""
@@ -83,11 +79,7 @@
</div>
<!-- Commit -->
<a
href="commitment-edit.html"
class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-8"
>Make Commitment</a
>
<router-link :to="{ name:'new-edit-commitment' }" class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-8">Make Commitment</router-link>
<!-- Commitments -->
<div class="bg-slate-100 px-4 py-3 rounded-md">