diff --git a/database/.gitignore b/database/.gitignore old mode 100644 new mode 100755 diff --git a/database/factories/ProjectFactory.php b/database/factories/ProjectFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/TaskFactory.php b/database/factories/TaskFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php old mode 100644 new mode 100755 diff --git a/database/migrations/0001_01_01_000000_create_users_table.php b/database/migrations/0001_01_01_000000_create_users_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/0001_01_01_000001_create_cache_table.php b/database/migrations/0001_01_01_000001_create_cache_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/0001_01_01_000002_create_jobs_table.php b/database/migrations/0001_01_01_000002_create_jobs_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2024_02_03_102720_create_projects_table.php b/database/migrations/2024_02_03_102720_create_projects_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2024_02_03_102804_create_tasks_table.php b/database/migrations/2024_02_03_102804_create_tasks_table.php old mode 100644 new mode 100755 diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php old mode 100644 new mode 100755 diff --git a/package-lock.json b/package-lock.json index ec0a354..631c71d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "laravel11-react-inertia", + "name": "laravel11-react-spa", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/resources/js/constants.jsx b/resources/js/constants.jsx index 7367d39..21e9830 100644 --- a/resources/js/constants.jsx +++ b/resources/js/constants.jsx @@ -28,3 +28,15 @@ export const TASK_PRIORITY_TEXT_MAP = { medium: "Medium", high: "High", }; + +export const USER_STATUS_CLASS_MAP = { + active: "text-green-500", + inactive: "text-gray-500", + banned: "text-red-500", +}; + +export const USER_STATUS_TEXT_MAP = { + active: "Active", + inactive: "Inactive", + banned: "Banned", +};