This commit is contained in:
2023-07-28 16:50:46 +02:00
parent 8974721c9c
commit f32f13604f
5 changed files with 119 additions and 25 deletions

View File

@@ -19,7 +19,14 @@ function createCategory() {
<InertiaHead title="Nowa kategoria" />
<div class="p-4">
<header class="pb-4">
<h1 class="text-3xl font-roboto font-light">Nowa kategoria</h1>
<div class="flex items-center gap-2">
<InertiaLink
as="button"
href="/dashboard"
class="px-2 text-xl text-gray-700 hover:text-black"
title="Wróc do dashboard"><FontAwesomeIcon :icon="['fas', 'caret-left']" /></InertiaLink>
<h1 class="text-3xl font-roboto font-light">Nowa kategoria</h1>
</div>
</header>
<div>
<form class="flex flex-col gap-4" @submit.prevent="createCategory">