<a class="nav-item" href="/lucent">{{$channel->name}}</a>
<div class="sidebar">

    <div class="sidebar-header">
        Content
    </div>
    @foreach($schemas->where("type.value", "collection")->where("isEntry",true) as $schema)
        @include("lucent::sidebar.sidebar-item", ["schema" => $schema])
    @endforeach
    <div class="sidebar-header">
        Files
    </div>
    @foreach($schemas->where("type.value", "files") as $schema)
        @include("lucent::sidebar.sidebar-item", ["schema" => $schema])
    @endforeach
    <div class="sidebar-header">
        Other
    </div>
    @foreach($schemas->where("type.value", "collection")->where("isEntry",false) as $schema)
        @include("lucent::sidebar.sidebar-item", ["schema" => $schema])
    @endforeach
</div>