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

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

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

    <x-daylight::session-messages />

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