Skip to content

Commit cb7638f

Browse files
committed
chore: wip
1 parent 96dd7a2 commit cb7638f

File tree

1 file changed

+4
-39
lines changed
  • storage/framework/defaults/views/dashboard/blog/authors

1 file changed

+4
-39
lines changed

storage/framework/defaults/views/dashboard/blog/authors/index.vue

Lines changed: 4 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,33 +1071,11 @@ function getRoleBadgeClass(role: string): string {
10711071
</div>
10721072
</div>
10731073

1074-
<div class="px-4 sm:px-6 lg:px-8 py-8 w-full max-w-9xl mx-auto">
1075-
<!-- Page header -->
1076-
<div class="sm:flex sm:justify-between sm:items-center mb-8">
1077-
<!-- Left: Title -->
1078-
<div class="mb-4 sm:mb-0">
1079-
<h1 class="text-2xl md:text-3xl text-slate-800 dark:text-slate-100 font-bold">Blog Authors</h1>
1080-
</div>
1081-
1082-
<!-- Right: Actions -->
1083-
<div class="grid grid-flow-col sm:auto-cols-max justify-start sm:justify-end gap-2">
1084-
<!-- Add author button -->
1085-
<button
1086-
@click="openNewAuthorModal"
1087-
class="btn bg-indigo-500 hover:bg-indigo-600 text-white"
1088-
>
1089-
<svg class="w-4 h-4 fill-current opacity-50 shrink-0" viewBox="0 0 16 16">
1090-
<path d="M15 7H9V1c0-.6-.4-1-1-1S7 .4 7 1v6H1c-.6 0-1 .4-1 1h6v6c0 .6.4 1 1 1 1s1-.4 1-1V9h6c.6 0 1-.4 1-1s-.4-1-1-1z" />
1091-
</svg>
1092-
<span class="hidden xs:block ml-2">Add Author</span>
1093-
</button>
1094-
</div>
1095-
</div>
1096-
1074+
<div>
10971075
<!-- Filters and search -->
10981076
<div class="px-4 lg:px-8 sm:px-6">
1099-
<div class="bg-white dark:bg-blue-gray-700 shadow rounded-lg">
1100-
<div class="border-b border-gray-200 dark:border-gray-700 px-4 py-5 sm:px-6">
1077+
<div>
1078+
<div class="py-5">
11011079
<div class="-ml-4 -mt-2 flex flex-wrap items-center justify-between sm:flex-nowrap">
11021080
<div class="ml-4 mt-2">
11031081
<h3 class="text-base font-semibold leading-6 text-gray-900 dark:text-gray-100">Authors</h3>
@@ -1120,7 +1098,7 @@ function getRoleBadgeClass(role: string): string {
11201098
</div>
11211099
</div>
11221100

1123-
<div class="px-4 py-5 sm:p-6">
1101+
<div>
11241102
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4">
11251103
<!-- Search -->
11261104
<div>
@@ -1190,19 +1168,6 @@ function getRoleBadgeClass(role: string): string {
11901168

11911169
<!-- Authors Table -->
11921170
<div class="px-4 pt-12 lg:px-8 sm:px-6">
1193-
<div class="sm:flex sm:items-center">
1194-
<div class="sm:flex-auto">
1195-
<h1 class="text-base text-gray-900 font-semibold leading-6">
1196-
Authors
1197-
</h1>
1198-
<p class="mt-2 text-sm text-gray-700">
1199-
A list of all your blog authors.
1200-
</p>
1201-
</div>
1202-
1203-
<!-- Removing the Add Author button -->
1204-
</div>
1205-
12061171
<div class="mt-8 flow-root">
12071172
<div class="overflow-x-auto -mx-4 -my-2 lg:-mx-8 sm:-mx-6">
12081173
<div class="inline-block min-w-full py-2 align-middle lg:px-8 sm:px-6">

0 commit comments

Comments
 (0)