@@ -1071,33 +1071,11 @@ function getRoleBadgeClass(role: string): string {
1071
1071
</div >
1072
1072
</div >
1073
1073
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 >
1097
1075
<!-- Filters and search -->
1098
1076
<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" >
1101
1079
<div class =" -ml-4 -mt-2 flex flex-wrap items-center justify-between sm:flex-nowrap" >
1102
1080
<div class =" ml-4 mt-2" >
1103
1081
<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 {
1120
1098
</div >
1121
1099
</div >
1122
1100
1123
- <div class = " px-4 py-5 sm:p-6 " >
1101
+ <div >
1124
1102
<div class =" grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
1125
1103
<!-- Search -->
1126
1104
<div >
@@ -1190,19 +1168,6 @@ function getRoleBadgeClass(role: string): string {
1190
1168
1191
1169
<!-- Authors Table -->
1192
1170
<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
-
1206
1171
<div class =" mt-8 flow-root" >
1207
1172
<div class =" overflow-x-auto -mx-4 -my-2 lg:-mx-8 sm:-mx-6" >
1208
1173
<div class =" inline-block min-w-full py-2 align-middle lg:px-8 sm:px-6" >
0 commit comments