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

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

@section('content')
    <x-daylight::page-header :title="__('daylight::store.products')">
        @can('create:products')
            <x-daylight::buttons.primary href="{{ route('daylight.store.products.create') }}" element="a">
                {{ __('Create new product') }}
            </x-daylight::buttons.primary>
        @endcan
    </x-daylight::page-header>

    <x-daylight::session-messages />

    <livewire:daylight::product-table/>

@endsection
