<?php

namespace App\Http\Controllers;

use App\Http\Controllers\Controller;
use App\Models\Product;
use App\Models\Category;
use App\Models\HeroImage;

class MuralsController extends Controller
{
    public function index()
    {
        $products = Product::where('type', 'mural')->get();
        $categories = Category::all();
        $heroImages = HeroImage::where('page', 'mural')->where('is_active', true)->orderBy('sort_order')->get();
        
        return view('murals', [
            'products' => $products,
            'categories' => $categories,
            'heroImages' => $heroImages
        ]);
    }
}
