app/Http/Controllers/GalleryPageController.php
/**
     * Display site's Gallery page
     *
     * @return View
     */
Display site's Gallery page
@return View
Display site ' s Gallery page @return View
public function index(): view 
    {
        $gallery = Gallery::where(['title' => 'Cars'])->firstOrFail();
        return view('site.gallery')->with([
            'title' => 'Gallery',
            'gallery' => $gallery,
        ]);
    }
public function index ( ) : view { $ gallery = Gallery :: where ( [ 'title' => 'Cars' ] ) -> firstOrFail ( ) ; return view ( 'site.gallery' ) -> with ( [ 'title' => 'Gallery' , 'gallery' => $ gallery , ] ) ; }
Display site's Gallery page
 @return View
Display site ' s Gallery page @return View