@php($title = 'Новости')
@extends('layouts.admin')
@section('content')
    <form class="d-flex mb-3" method="GET" action="{{ route('company.agents.table') }}">
        <div class="ms-auto p-2">
            <a type="button" class="btn btn-primary py-2 px-3 fs-5" href="{{ route('admin.posts.create') }}">
                <i class="bi bi-plus"></i> Добавить новость
            </a>
        </div>
    </form>

    @livewire('admin.posts')
@endsection
