This commit is contained in:
salam committed 2025-08-17 07:30:26 +02:00
1 parent 97fa1202f0
commit 461dc178d1
10 files changed
+283 -72

No files matched your search

+1 -4
View File
@@ -1,4 +1,3 @@
plugins plugins
https://github.com/bezhanSalleh/filament-shield/tree/4.x https://github.com/bezhanSalleh/filament-shield/tree/4.x
@@ -19,6 +18,7 @@ https://filamentphp.com/plugins/jeffersongoncalves-fathom
Icon Icon
https://lucide.dev/icons/ https://lucide.dev/icons/
https://filamentphp.com/plugins/codewithdennis-lucide-icons
composer require codewithdennis/filament-lucide-icons composer require codewithdennis/filament-lucide-icons
bg bg
@@ -36,6 +36,3 @@ https://filamentphp.com/plugins/ysfkaya-phone-input
work work
https://laraveldaily.com/post/filament-disable-dashboard-auto-redirect-url-after-login https://laraveldaily.com/post/filament-disable-dashboard-auto-redirect-url-after-login
https://laracasts.com/discuss/channels/filament/filament-redirect-unauthenticated-and-non-admin-users-from-admin-to-a-certain-other-route https://laracasts.com/discuss/channels/filament/filament-redirect-unauthenticated-and-non-admin-users-from-admin-to-a-certain-other-route
wappen
https://wappenwiki.org/index.php/Republic_of_Austria
@@ -0,0 +1,19 @@
<?php
namespace App\Filament\Resources\Sports\Pages;
use App\Filament\Resources\Sports\SportResource;
use Filament\Actions\CreateAction;
use Filament\Resources\Pages\ManageRecords;
class ManageSports extends ManageRecords
{
protected static string $resource = SportResource::class;
protected function getHeaderActions(): array
{
return [
CreateAction::make(),
];
}
}
@@ -0,0 +1,71 @@
<?php
namespace App\Filament\Resources\Sports;
use App\Filament\Resources\Sports\Pages\ManageSports;
use App\Models\Sport;
use BackedEnum;
use Filament\Actions\BulkActionGroup;
use Filament\Actions\DeleteAction;
use Filament\Actions\DeleteBulkAction;
use Filament\Actions\EditAction;
use Filament\Resources\Resource;
use Filament\Schemas\Schema;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;
use UnitEnum;
class SportResource extends Resource
{
protected static ?string $model = Sport::class;
protected static string|BackedEnum|null $navigationIcon = 'lucide-volleyball';
protected static ?string $recordTitleAttribute = 'name';
protected static ?string $navigationLabel = 'Sport';
protected static ?string $pluralLabel = 'Sports';
protected static string|UnitEnum|null $navigationGroup = 'Administration';
public static function form(Schema $schema): Schema
{
return $schema
->components([
//
]);
}
public static function table(Table $table): Table
{
return $table
->columns([
TextColumn::make('name')->searchable(),
])
->filters([
//
])
->recordActions([
EditAction::make(),
DeleteAction::make(),
])
->toolbarActions([
BulkActionGroup::make([
DeleteBulkAction::make(),
]),
]);
}
public static function getPages(): array
{
return [
'index' => ManageSports::route('/'),
];
}
public static function getNavigationBadge(): ?string
{
return parent::getEloquentQuery()->count();
}
}
+10
View File
@@ -0,0 +1,10 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Sport extends Model
{
//
}
+108
View File
@@ -0,0 +1,108 @@
<?php
namespace App\Policies;
use App\Models\User;
use Spatie\Permission\Models\Role;
use Illuminate\Auth\Access\HandlesAuthorization;
class RolePolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view any models.
*/
public function viewAny(User $user): bool
{
return $user->can('view_any_role');
}
/**
* Determine whether the user can view the model.
*/
public function view(User $user, Role $role): bool
{
return $user->can('view_role');
}
/**
* Determine whether the user can create models.
*/
public function create(User $user): bool
{
return $user->can('create_role');
}
/**
* Determine whether the user can update the model.
*/
public function update(User $user, Role $role): bool
{
return $user->can('update_role');
}
/**
* Determine whether the user can delete the model.
*/
public function delete(User $user, Role $role): bool
{
return $user->can('delete_role');
}
/**
* Determine whether the user can bulk delete.
*/
public function deleteAny(User $user): bool
{
return $user->can('delete_any_role');
}
/**
* Determine whether the user can permanently delete.
*/
public function forceDelete(User $user, Role $role): bool
{
return $user->can('{{ ForceDelete }}');
}
/**
* Determine whether the user can permanently bulk delete.
*/
public function forceDeleteAny(User $user): bool
{
return $user->can('{{ ForceDeleteAny }}');
}
/**
* Determine whether the user can restore.
*/
public function restore(User $user, Role $role): bool
{
return $user->can('{{ Restore }}');
}
/**
* Determine whether the user can bulk restore.
*/
public function restoreAny(User $user): bool
{
return $user->can('{{ RestoreAny }}');
}
/**
* Determine whether the user can replicate.
*/
public function replicate(User $user, Role $role): bool
{
return $user->can('{{ Replicate }}');
}
/**
* Determine whether the user can reorder.
*/
public function reorder(User $user): bool
{
return $user->can('{{ Reorder }}');
}
}
@@ -3,6 +3,7 @@
namespace App\Providers\Filament; namespace App\Providers\Filament;
use Awcodes\LightSwitch\Enums\Alignment; use Awcodes\LightSwitch\Enums\Alignment;
use BezhanSalleh\FilamentShield\FilamentShieldPlugin;
use Awcodes\LightSwitch\LightSwitchPlugin; use Awcodes\LightSwitch\LightSwitchPlugin;
use Filament\Actions\Action; use Filament\Actions\Action;
use Filament\Http\Middleware\Authenticate; use Filament\Http\Middleware\Authenticate;
@@ -81,6 +82,7 @@ class AdminPanelProvider extends PanelProvider
->authMiddleware([ ->authMiddleware([
Authenticate::class, Authenticate::class,
])->plugins([ ])->plugins([
FilamentShieldPlugin::make(),
FilamentEditProfilePlugin::make()->shouldRegisterNavigation(false), FilamentEditProfilePlugin::make()->shouldRegisterNavigation(false),
LightSwitchPlugin::make()->position(Alignment::BottomCenter), LightSwitchPlugin::make()->position(Alignment::BottomCenter),
FilamentBackgroundsPlugin::make() FilamentBackgroundsPlugin::make()
Generated
+63 -63
View File
@@ -1225,16 +1225,16 @@
}, },
{ {
"name": "filament/actions", "name": "filament/actions",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/actions.git", "url": "https://github.com/filamentphp/actions.git",
"reference": "8b8eef43e31f86681d7c8f1a8d8400afa9172442" "reference": "74ceba975116fcc23491ea367cc5066063d72194"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/actions/zipball/8b8eef43e31f86681d7c8f1a8d8400afa9172442", "url": "https://api.github.com/repos/filamentphp/actions/zipball/74ceba975116fcc23491ea367cc5066063d72194",
"reference": "8b8eef43e31f86681d7c8f1a8d8400afa9172442", "reference": "74ceba975116fcc23491ea367cc5066063d72194",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1270,20 +1270,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-08-11T19:29:26+00:00" "time": "2025-08-15T11:43:56+00:00"
}, },
{ {
"name": "filament/filament", "name": "filament/filament",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/panels.git", "url": "https://github.com/filamentphp/panels.git",
"reference": "dc8306c984d0d52b0b8365b5e66bb7c43b81784b" "reference": "057372136aa75f3c49cf500f56f6459749cac789"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/panels/zipball/dc8306c984d0d52b0b8365b5e66bb7c43b81784b", "url": "https://api.github.com/repos/filamentphp/panels/zipball/057372136aa75f3c49cf500f56f6459749cac789",
"reference": "dc8306c984d0d52b0b8365b5e66bb7c43b81784b", "reference": "057372136aa75f3c49cf500f56f6459749cac789",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1327,20 +1327,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-08-11T19:28:59+00:00" "time": "2025-08-15T11:44:02+00:00"
}, },
{ {
"name": "filament/forms", "name": "filament/forms",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/forms.git", "url": "https://github.com/filamentphp/forms.git",
"reference": "cb06cbd7855a178fd9c1db88ad5f3ecad7d993a1" "reference": "fdb4745b174c9747348b115bfebdcd23c2dcf245"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/forms/zipball/cb06cbd7855a178fd9c1db88ad5f3ecad7d993a1", "url": "https://api.github.com/repos/filamentphp/forms/zipball/fdb4745b174c9747348b115bfebdcd23c2dcf245",
"reference": "cb06cbd7855a178fd9c1db88ad5f3ecad7d993a1", "reference": "fdb4745b174c9747348b115bfebdcd23c2dcf245",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1377,20 +1377,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-08-11T19:29:11+00:00" "time": "2025-08-15T11:43:55+00:00"
}, },
{ {
"name": "filament/infolists", "name": "filament/infolists",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/infolists.git", "url": "https://github.com/filamentphp/infolists.git",
"reference": "43acef5a76da2b6dd05ee480caaca9d3ba4edcd1" "reference": "c49ac2fa923f54f9232c4598e3837875151b0e98"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/infolists/zipball/43acef5a76da2b6dd05ee480caaca9d3ba4edcd1", "url": "https://api.github.com/repos/filamentphp/infolists/zipball/c49ac2fa923f54f9232c4598e3837875151b0e98",
"reference": "43acef5a76da2b6dd05ee480caaca9d3ba4edcd1", "reference": "c49ac2fa923f54f9232c4598e3837875151b0e98",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1422,20 +1422,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-08-12T13:17:14+00:00" "time": "2025-08-15T11:43:54+00:00"
}, },
{ {
"name": "filament/notifications", "name": "filament/notifications",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/notifications.git", "url": "https://github.com/filamentphp/notifications.git",
"reference": "9b9022c6f682755317092b289a61928348310737" "reference": "7f66df600982cacb8570bd3e8559a706a8151057"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/notifications/zipball/9b9022c6f682755317092b289a61928348310737", "url": "https://api.github.com/repos/filamentphp/notifications/zipball/7f66df600982cacb8570bd3e8559a706a8151057",
"reference": "9b9022c6f682755317092b289a61928348310737", "reference": "7f66df600982cacb8570bd3e8559a706a8151057",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1469,20 +1469,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-07-16T13:41:20+00:00" "time": "2025-08-15T11:44:04+00:00"
}, },
{ {
"name": "filament/schemas", "name": "filament/schemas",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/schemas.git", "url": "https://github.com/filamentphp/schemas.git",
"reference": "407e656aab02840781161648ea4a3f4c96de6570" "reference": "f463b1b4b4db681f48a13a3c69f32055eede6b9e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/schemas/zipball/407e656aab02840781161648ea4a3f4c96de6570", "url": "https://api.github.com/repos/filamentphp/schemas/zipball/f463b1b4b4db681f48a13a3c69f32055eede6b9e",
"reference": "407e656aab02840781161648ea4a3f4c96de6570", "reference": "f463b1b4b4db681f48a13a3c69f32055eede6b9e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1514,20 +1514,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-08-11T19:28:52+00:00" "time": "2025-08-15T11:43:56+00:00"
}, },
{ {
"name": "filament/support", "name": "filament/support",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/support.git", "url": "https://github.com/filamentphp/support.git",
"reference": "1c6ed2b3697600f5213bee6760e0f709a746a968" "reference": "92968adedd48f034d596a93916f2fe4c93e06649"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/support/zipball/1c6ed2b3697600f5213bee6760e0f709a746a968", "url": "https://api.github.com/repos/filamentphp/support/zipball/92968adedd48f034d596a93916f2fe4c93e06649",
"reference": "1c6ed2b3697600f5213bee6760e0f709a746a968", "reference": "92968adedd48f034d596a93916f2fe4c93e06649",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1572,20 +1572,20 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-08-10T20:27:33+00:00" "time": "2025-08-15T11:44:12+00:00"
}, },
{ {
"name": "filament/tables", "name": "filament/tables",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/tables.git", "url": "https://github.com/filamentphp/tables.git",
"reference": "55b96c365ec5d50dcadb996515557ced08ce7b27" "reference": "ef16a6e0915470fc8f434dc6e1a025a7dfe869dd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/tables/zipball/55b96c365ec5d50dcadb996515557ced08ce7b27", "url": "https://api.github.com/repos/filamentphp/tables/zipball/ef16a6e0915470fc8f434dc6e1a025a7dfe869dd",
"reference": "55b96c365ec5d50dcadb996515557ced08ce7b27", "reference": "ef16a6e0915470fc8f434dc6e1a025a7dfe869dd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1617,11 +1617,11 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-08-12T13:17:20+00:00" "time": "2025-08-15T11:44:14+00:00"
}, },
{ {
"name": "filament/upgrade", "name": "filament/upgrade",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/upgrade.git", "url": "https://github.com/filamentphp/upgrade.git",
@@ -1668,16 +1668,16 @@
}, },
{ {
"name": "filament/widgets", "name": "filament/widgets",
"version": "v4.0.0", "version": "v4.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filamentphp/widgets.git", "url": "https://github.com/filamentphp/widgets.git",
"reference": "ec65855e6b572900eefbb514608fb2ce92abb8d0" "reference": "e025308638f5cb2bc5d77db8fc27438ee1337759"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/ec65855e6b572900eefbb514608fb2ce92abb8d0", "url": "https://api.github.com/repos/filamentphp/widgets/zipball/e025308638f5cb2bc5d77db8fc27438ee1337759",
"reference": "ec65855e6b572900eefbb514608fb2ce92abb8d0", "reference": "e025308638f5cb2bc5d77db8fc27438ee1337759",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1708,7 +1708,7 @@
"issues": "https://github.com/filamentphp/filament/issues", "issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament" "source": "https://github.com/filamentphp/filament"
}, },
"time": "2025-08-10T20:27:56+00:00" "time": "2025-08-15T11:44:09+00:00"
}, },
{ {
"name": "fruitcake/php-cors", "name": "fruitcake/php-cors",
@@ -2391,16 +2391,16 @@
}, },
{ {
"name": "joaopaulolndev/filament-edit-profile", "name": "joaopaulolndev/filament-edit-profile",
"version": "v2.0.3", "version": "v2.0.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/joaopaulolndev/filament-edit-profile.git", "url": "https://github.com/joaopaulolndev/filament-edit-profile.git",
"reference": "700f155e0039e0564aff32602920bb8c2f07cf92" "reference": "cba566fe51418df01a166ab2b55927b5186282a4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/joaopaulolndev/filament-edit-profile/zipball/700f155e0039e0564aff32602920bb8c2f07cf92", "url": "https://api.github.com/repos/joaopaulolndev/filament-edit-profile/zipball/cba566fe51418df01a166ab2b55927b5186282a4",
"reference": "700f155e0039e0564aff32602920bb8c2f07cf92", "reference": "cba566fe51418df01a166ab2b55927b5186282a4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2460,20 +2460,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-08-09T21:31:00+00:00" "time": "2025-08-16T19:29:48+00:00"
}, },
{ {
"name": "kirschbaum-development/eloquent-power-joins", "name": "kirschbaum-development/eloquent-power-joins",
"version": "4.2.7", "version": "4.2.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/kirschbaum-development/eloquent-power-joins.git", "url": "https://github.com/kirschbaum-development/eloquent-power-joins.git",
"reference": "f2f8d3575a54d91b3e5058d65ac1fccb3ea7dd94" "reference": "d67c7e2efa886d2ef8bb29e86c3ddb9438ac6390"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/f2f8d3575a54d91b3e5058d65ac1fccb3ea7dd94", "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/d67c7e2efa886d2ef8bb29e86c3ddb9438ac6390",
"reference": "f2f8d3575a54d91b3e5058d65ac1fccb3ea7dd94", "reference": "d67c7e2efa886d2ef8bb29e86c3ddb9438ac6390",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2521,9 +2521,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues", "issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues",
"source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.7" "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.8"
}, },
"time": "2025-08-06T10:46:13+00:00" "time": "2025-08-14T18:43:05+00:00"
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
@@ -5603,16 +5603,16 @@
}, },
{ {
"name": "rector/rector", "name": "rector/rector",
"version": "2.1.3", "version": "2.1.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/rectorphp/rector.git", "url": "https://github.com/rectorphp/rector.git",
"reference": "dd430c869fddf4965049c8fd6f5ee49f155cfddf" "reference": "fe613c528819222f8686a9a037a315ef9d4915b3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/rectorphp/rector/zipball/dd430c869fddf4965049c8fd6f5ee49f155cfddf", "url": "https://api.github.com/repos/rectorphp/rector/zipball/fe613c528819222f8686a9a037a315ef9d4915b3",
"reference": "dd430c869fddf4965049c8fd6f5ee49f155cfddf", "reference": "fe613c528819222f8686a9a037a315ef9d4915b3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -5651,7 +5651,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/rectorphp/rector/issues", "issues": "https://github.com/rectorphp/rector/issues",
"source": "https://github.com/rectorphp/rector/tree/2.1.3" "source": "https://github.com/rectorphp/rector/tree/2.1.4"
}, },
"funding": [ "funding": [
{ {
@@ -5659,7 +5659,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-08-13T11:43:04+00:00" "time": "2025-08-15T14:41:36+00:00"
}, },
{ {
"name": "ryangjchandler/blade-capture-directive", "name": "ryangjchandler/blade-capture-directive",
@@ -25,7 +25,7 @@ class RolesAndPermissionsSeeder extends Seeder
'password' => Hash::make('salam'), 'password' => Hash::make('salam'),
'email_verified_at' => now(), 'email_verified_at' => now(),
]); ]);
$user->assignRole('administrator'); $user->assignRole('super_admin');
$user = User::factory()->create([ $user = User::factory()->create([
'name' => 'Ubaldo Perrucci', 'name' => 'Ubaldo Perrucci',
+1 -1
View File
@@ -1,2 +1,2 @@
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */ /*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-tracking:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-x-reverse:0;--tw-content:"";--tw-outline-style:solid;--tw-space-x-reverse:0}}}@layer theme{:root,:host{--font-mono:var(--mono-font-family),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-sky-400:oklch(74.6% .16 232.661);--color-gray-200:var(--gray-200);--color-gray-300:var(--gray-300);--color-gray-400:var(--gray-400);--color-gray-500:var(--gray-500);--color-gray-600:var(--gray-600);--color-gray-700:var(--gray-700);--color-gray-950:var(--gray-950);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--leading-loose:2;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-family),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--default-mono-font-family:var(--mono-font-family),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-primary-400:var(--primary-400)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-Line truncated @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-tracking:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-x-reverse:0;--tw-content:"";--tw-outline-style:solid;--tw-space-x-reverse:0}}}@layer theme{:root,:host{--font-mono:var(--mono-font-family),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-sky-400:oklch(74.6% .16 232.661);--color-gray-200:var(--gray-200);--color-gray-300:var(--gray-300);--color-gray-400:var(--gray-400);--color-gray-500:var(--gray-500);--color-gray-600:var(--gray-600);--color-gray-700:var(--gray-700);--color-gray-950:var(--gray-950);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--leading-loose:2;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-family),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--default-mono-font-family:var(--mono-font-family),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-primary-400:var(--primary-400)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-Line truncated
+7 -3
View File
@@ -26,16 +26,20 @@ case "$1" in
"5") "5")
php artisan storage:link php artisan storage:link
;; ;;
"6")
php artisan filament:assets
;;
*) *)
echo "" echo ""
echo "--------------------------" echo "--------------------------"
echo "setup nuh lives" echo "setup nuh lives"
echo "--------------------------" echo "--------------------------"
echo "1 => git pull & composer update & optimize" echo "1 => git pull & composer update & optimize"
echo "2 => artisan db fresh & seed" echo "2 => a db fresh & seed"
echo "3 => artisan cache & storage" echo "3 => a cache & storage"
echo "4 => chown -R apache:apache ." echo "4 => chown -R apache:apache ."
echo "5 => artisan storage:link" echo "5 => a storage:link"
echo "6 => a filament:assets . copy to prod"
echo "--------------------------" echo "--------------------------"
echo "" echo ""
;; ;;