New Initial Commit

This commit is contained in:
twotalesanimation
2025-12-09 12:04:54 +02:00
commit 6de01c13c5
350 changed files with 42032 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class HeroImage extends Model
{
protected $fillable = [
'page',
'image_path',
'title',
'description',
'button_text',
'button_link',
'sort_order',
'is_active',
];
protected $casts = [
'is_active' => 'boolean',
'sort_order' => 'integer',
];
public static function getPages()
{
return [
'home' => 'Home Page',
'wallpaper' => 'Wallpaper Product Page',
'mural' => 'Mural Product Page',
];
}
}