@extends('layouts.yellow')
@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-12 p-3">
            <div class="card">
                <div class="card-header">
                    <h2>{{ __('view-areas.titleView') }}</h2>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-12">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-12">
                        <div class="float-right">
                            <a href="{{URL::to('/admin/create-areas')}}" class="btn btn-success">
                                {{__("view-areas.create")}}
                            </a>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-12">
                        <div style="margin-left:100px">
                            <img class="w-40" src="{{asset('img/areas.png')}}" alt="">
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-12">
                        <livewire:areas-table-view />
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection