Update project dependencies and configuration

- Added Filament and Tailwind CSS dependencies in composer.json.
- Updated AGENTS.md to include new package versions.
- Modified boost.json to include tailwindcss-development skill.
- Updated DatabaseSeeder to create an admin user with a password.
- Changed the root route to use HomeController instead of a closure.
- Adjusted permissions for .gitignore in storage directory.
This commit is contained in:
Mekan1206
2026-06-04 21:30:06 +05:00
parent 608876864b
commit b13d61b342
128 changed files with 7221 additions and 223 deletions

View File

@@ -0,0 +1,48 @@
<?php
namespace App\Filament\Resources\Collections;
use App\Filament\Resources\Collections\Pages\CreateCollection;
use App\Filament\Resources\Collections\Pages\EditCollection;
use App\Filament\Resources\Collections\Pages\ListCollections;
use App\Filament\Resources\Collections\Schemas\CollectionForm;
use App\Filament\Resources\Collections\Tables\CollectionsTable;
use App\Models\Collection;
use BackedEnum;
use Filament\Resources\Resource;
use Filament\Schemas\Schema;
use Filament\Support\Icons\Heroicon;
use Filament\Tables\Table;
class CollectionResource extends Resource
{
protected static ?string $model = Collection::class;
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedRectangleStack;
public static function form(Schema $schema): Schema
{
return CollectionForm::configure($schema);
}
public static function table(Table $table): Table
{
return CollectionsTable::configure($table);
}
public static function getRelations(): array
{
return [
//
];
}
public static function getPages(): array
{
return [
'index' => ListCollections::route('/'),
'create' => CreateCollection::route('/create'),
'edit' => EditCollection::route('/{record}/edit'),
];
}
}