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,40 @@
<?php
namespace App\Filament\Pages;
use Filament\Forms\Components\FileUpload;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Components\Textarea;
use Filament\Schemas\Schema;
use Filament\Pages\SettingsPage;
use App\Settings\GeneralSettings as Settings;
class GeneralSettings extends SettingsPage
{
protected static string|\BackedEnum|null $navigationIcon = 'heroicon-o-cog-6-tooth';
protected static string $settings = Settings::class;
public function form(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('marquee_text')
->required(),
TextInput::make('about_title')
->required(),
Textarea::make('about_text')
->required(),
FileUpload::make('about_image')
->image()
->visibility('public')
->directory('settings'),
Textarea::make('footer_address')
->required(),
TextInput::make('footer_phone')
->required(),
TextInput::make('footer_copyright')
->required(),
]);
}
}