@extends('daylight::layouts.app')

@section('title', __('daylight::store.categories'))

@section('content')
    <x-daylight::page-header :title=" __('daylight::store.categories')">
        @can('update:customer-groups')
            <x-daylight::buttons.primary href="{{ route('daylight.store.categories.create') }}" element="a">
                {{ __('daylight::store.create_new_category') }}
            </x-daylight::buttons.primary>
        @endcan
    </x-daylight::page-header>

    <x-daylight::session-messages/>

    <livewire:daylight::category-table />
@endsection
