[fix] perbaikan padding dan title yang tidak serasih
This commit is contained in:
parent
7766fd8938
commit
86f3e101c8
@ -20,12 +20,12 @@ class DatabaseSeeder extends Seeder
|
|||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
User::factory()->create([
|
User::factory()->create([
|
||||||
'nama' => 'Owner',
|
'nama' => 'iwan',
|
||||||
'role' => 'owner',
|
'role' => 'owner',
|
||||||
'password' => bcrypt('123123'),
|
'password' => bcrypt('123123'),
|
||||||
]);
|
]);
|
||||||
User::factory()->create([
|
User::factory()->create([
|
||||||
'nama' => 'Kasir',
|
'nama' => 'luis',
|
||||||
'role' => 'kasir',
|
'role' => 'kasir',
|
||||||
'password' => bcrypt('123123'),
|
'password' => bcrypt('123123'),
|
||||||
]);
|
]);
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<mainLayout>
|
<mainLayout>
|
||||||
<p style="font-family: 'IM FELL Great Primer', serif; font-style: italic;font-size: 25px;">BRANKAS</p>
|
<div class="p-6">
|
||||||
|
<p class="font-serif italic text-[25px] text-D">BRANKAS</p>
|
||||||
<searchbar v-model:search="searchQuery" />
|
<searchbar v-model:search="searchQuery" />
|
||||||
<BrankasList :search="searchQuery" />
|
<BrankasList :search="searchQuery" />
|
||||||
|
</div>
|
||||||
</mainLayout>
|
</mainLayout>
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
<ConfirmDeleteModal :isOpen="confirmDeleteOpen" :item="kategoriToDelete" title="Hapus Kategori"
|
<ConfirmDeleteModal :isOpen="confirmDeleteOpen" :item="kategoriToDelete" title="Hapus Kategori"
|
||||||
message="Apakah Anda yakin ingin menghapus kategori ini?" @confirm="confirmDelete" @cancel="closeDeleteModal" />
|
message="Apakah Anda yakin ingin menghapus kategori ini?" @confirm="confirmDelete" @cancel="closeDeleteModal" />
|
||||||
<div class="p-6 min-h-[75vh]" >
|
<div class="p-6 min-h-[75vh]" >
|
||||||
<!-- Header Section -->
|
<p class="font-serif italic text-[25px] text-D">KATEGORI</p>
|
||||||
<div class="flex justify-between items-center mb-6">
|
<div class="flex justify-between items-center mb-6">
|
||||||
<h1 class="text-2xl font-bold text-gray-800">Kategori</h1>
|
|
||||||
<button @click="tambahKategori"
|
<button @click="tambahKategori"
|
||||||
class="px-4 py-2 bg-C text-black rounded-md hover:bg-B transition duration-200 flex items-center gap-2">
|
class="px-4 py-2 bg-C text-black rounded-md hover:bg-B transition duration-200 flex items-center gap-2">
|
||||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="p-6 min-h-[75vh]">
|
<div class="p-6 min-h-[75vh]">
|
||||||
<!-- Header Section -->
|
<p class="font-serif italic text-[25px] text-D">SALES</p>
|
||||||
<div class="flex justify-between items-center mb-6">
|
<div class="flex justify-between items-center mb-6">
|
||||||
<h1 class="text-2xl font-bold text-D">Sales</h1>
|
|
||||||
<button
|
<button
|
||||||
@click="tambahSales"
|
@click="tambahSales"
|
||||||
class="px-4 py-2 bg-C text-D rounded-md hover:bg-C/80 transition duration-200 flex items-center gap-2"
|
class="px-4 py-2 bg-C text-D rounded-md hover:bg-C/80 transition duration-200 flex items-center gap-2"
|
||||||
|
@ -1,17 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<mainLayout>
|
<mainLayout>
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div class="mb-4">
|
<div class="p-6">
|
||||||
<!-- Judul -->
|
<!-- Judul -->
|
||||||
<p
|
<p class="font-serif italic text-[25px] text-D">NAMPAN</p>
|
||||||
style="
|
|
||||||
font-family: 'IM FELL Great Primer', serif;
|
|
||||||
font-style: italic;
|
|
||||||
font-size: 25px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
NAMPAN
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<!-- Searchbar -->
|
<!-- Searchbar -->
|
||||||
<div class="flex justify-end mt-2">
|
<div class="flex justify-end mt-2">
|
||||||
|
@ -15,6 +15,7 @@ import Akun from "../pages/Akun.vue";
|
|||||||
import auth from "../middlewares/auth";
|
import auth from "../middlewares/auth";
|
||||||
import guest from "../middlewares/guest";
|
import guest from "../middlewares/guest";
|
||||||
import owner from "../middlewares/owner";
|
import owner from "../middlewares/owner";
|
||||||
|
import StrukOverlay from "../components/StrukOverlay.vue";
|
||||||
|
|
||||||
const middlewareMap = { auth, guest, owner };
|
const middlewareMap = { auth, guest, owner };
|
||||||
|
|
||||||
@ -50,6 +51,11 @@ const routes = [
|
|||||||
component: Brankas,
|
component: Brankas,
|
||||||
meta: { middleware: "auth" },
|
meta: { middleware: "auth" },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/home",
|
||||||
|
name: "Home",
|
||||||
|
meta: { middleware: "auth" },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/nampan",
|
path: "/nampan",
|
||||||
name: "Nampan",
|
name: "Nampan",
|
||||||
|
Loading…
Reference in New Issue
Block a user