@extends('layouts.wrap') @section('_content')
@if($page->category_id > 1)
    @foreach($page->category->page as $pages)
  • url) class="active" @endif>{{ $pages->title }}
      @foreach(Product::where('id', $pages->component_item)->pluck('items') as $itm)
    • {{ $itm }}
    • @endforeach
  • @endforeach

{{ $page->title }}

@yield('_component')
@else

{{ $page->title }}

@yield('_component')
@endif
@stop