Migration complete

This commit is contained in:
2026-06-23 19:24:38 +02:00
parent 279160c1cb
commit 64b26ef059
126 changed files with 8121 additions and 221 deletions

View File

@@ -17,7 +17,7 @@ class DatabaseFilterWithModeSearch extends Component
public string $model,
public string $modeModel,
public string $selectedMode,
public string $searchModel,
public string $idProperty = 'id',
public string $nameProperty = 'name',
)

View File

@@ -15,7 +15,7 @@ class DatabaseFilterWithoutModeSearch extends Component
public string $title,
public $items,
public string $model,
public string $searchModel,
public string $idProperty = 'id',
public string $nameProperty = 'name',
)

View File

@@ -17,6 +17,10 @@ class ErrorBlock extends Component
'page-not-allowed' => [
'icon' => 'shield-ban',
'message' => "You do not have permission to access this page.\nRequired permission: %s"
],
'user-state-not-valid' => [
'icon' => 'shield-ban',
'message' => "You do not have permission to access this page.\nYour user profile is incomplete: %s\nGo back to the forum for more details."
]
];

View File

@@ -0,0 +1,30 @@
<?php
namespace App\View\Components;
use App\Models\EntryReview;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class ReviewCard extends Component
{
/**
* Create a new component instance.
*/
public function __construct(
public EntryReview $review,
public bool $entryShow = false
)
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.review-card');
}
}

View File

@@ -0,0 +1,28 @@
<?php
namespace App\View\Components;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class ReviewStarRating extends Component
{
/**
* Create a new component instance.
*/
public function __construct(
public float $rating,
)
{
//
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.review-star-rating');
}
}