style(admin): standardize subtitle text size and color across admin pages
This commit is contained in:
@@ -16,7 +16,7 @@ export default function DashboardPage({ stats }) {
|
|||||||
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">
|
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">
|
||||||
Tableau de bord
|
Tableau de bord
|
||||||
</h1>
|
</h1>
|
||||||
<p className="mt-1 text-xs text-neutral-400">Vue d'ensemble de votre application</p>
|
<p className="mt-1 text-[13px] text-neutral-500 dark:text-neutral-400">Vue d'ensemble de votre application</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ const ProfilePage = ({ user: initialUser }) => {
|
|||||||
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">
|
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">
|
||||||
Mon profil
|
Mon profil
|
||||||
</h1>
|
</h1>
|
||||||
<p className="mt-1 text-xs text-neutral-400">
|
<p className="mt-1 text-[13px] text-neutral-500 dark:text-neutral-400">
|
||||||
Gérez les informations de votre compte
|
Gérez les informations de votre compte
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ const RoleEditPage = ({ roleId }) => {
|
|||||||
<div>
|
<div>
|
||||||
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">{title}</h1>
|
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">{title}</h1>
|
||||||
{isSystem && (
|
{isSystem && (
|
||||||
<p className="mt-1 text-xs text-neutral-400">Rôle système — le nom ne peut pas être modifié</p>
|
<p className="mt-1 text-[13px] text-neutral-500 dark:text-neutral-400">Rôle système — le nom ne peut pas être modifié</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -143,7 +143,9 @@ const RolesPage = () => {
|
|||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">Rôles</h1>
|
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">Rôles</h1>
|
||||||
<p className="mt-1 text-xs text-neutral-400">Gérez les rôles et leurs permissions</p>
|
<p className="mt-1 text-[13px] text-neutral-500 dark:text-neutral-400">
|
||||||
|
Gérez les rôles et leurs permissions
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
variant="primary"
|
variant="primary"
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ const UserEditPage = ({ userId }) => {
|
|||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">Modifier l'utilisateur</h1>
|
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">Modifier l'utilisateur</h1>
|
||||||
<p className="mt-1 text-xs text-neutral-400">{userData.email}</p>
|
<p className="mt-1 text-[13px] text-neutral-500 dark:text-neutral-400">{userData.email}</p>
|
||||||
</div>
|
</div>
|
||||||
<Button variant="secondary" size="sm" onClick={() => router.push('/admin/users')}>
|
<Button variant="secondary" size="sm" onClick={() => router.push('/admin/users')}>
|
||||||
← Retour aux utilisateurs
|
← Retour aux utilisateurs
|
||||||
|
|||||||
@@ -209,7 +209,9 @@ const UsersPage = () => {
|
|||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">Utilisateurs</h1>
|
<h1 className="text-lg sm:text-xl font-semibold text-neutral-900 dark:text-white">Utilisateurs</h1>
|
||||||
<p className="mt-1 text-xs text-neutral-400">Gérez les comptes utilisateurs</p>
|
<p className="mt-1 text-[13px] text-neutral-500 dark:text-neutral-400">
|
||||||
|
Gérez les comptes utilisateurs
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<UsersPageClient />
|
<UsersPageClient />
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const StatCard = ({
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={`${bgColor} ${color} w-8 h-8 rounded-sm flex-shrink-0 ml-3 mt-[2px] flex items-center justify-center`}>
|
<div className={`${bgColor} ${color} w-8 h-8 rounded-md flex-shrink-0 ml-3 mt-[2px] flex items-center justify-center`}>
|
||||||
{loading ? (
|
{loading ? (
|
||||||
<Skeleton height="h-4" width="w-4" />
|
<Skeleton height="h-4" width="w-4" />
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user