new design with nice layout

This commit is contained in:
Mark Gregory
2026-11-20 07:19:23 +00:00
parent 1e7b41ae2d
commit 37bb7354fa
18 changed files with 381 additions and 141 deletions
+11 -3
View File
@@ -1,7 +1,15 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SiteSection extends Model {
protected $fillable = ['key','eyebrow','title','body','button_label','button_url','is_visible','sort_order'];
protected function casts(): array { return ['is_visible'=>'boolean','sort_order'=>'integer']; }
class SiteSection extends Model
{
protected $fillable = ['key', 'eyebrow', 'title', 'body', 'button_label', 'button_url', 'is_visible', 'sort_order'];
protected function casts(): array
{
return ['is_visible' => 'boolean', 'sort_order' => 'integer'];
}
}