@extends((isset(Auth::user()->id)) ? 'layouts.master': 'layouts.landing_page.master')

@section('title', __('Support Ticket'))

@push('styles')
    <link rel="stylesheet" href="{{asset('frontend/styles/css/jquery.fileuploader.css')}}">
    <link rel="stylesheet" href="{{ asset('frontend/styles/css/summernote/summernote-lite.min.css') }}">
    <style>
        .note-editable{
            background: white !important;
        }
    </style>
@endpush

@auth
@section('breadcrumb-text')
    <div class="w-100 d-flex justify-content-between">
        <div>
            <h4 class="p-0 m-0">{{ __('Support Ticket') }}</h4>
        </div>
    </div>
@endsection
@endauth

@section('content')

    <section id="featured-services" class="featured-services main_section my-3">
        <div class="container" id="about">
            @include('support_ticket.form')
        </div>
    </section>

@endsection

@push('scripts')
    <script src="{{ asset('frontend/js/sweetalert2/sweetalert2.js') }}"></script>
    <script src="{{ asset('frontend/js/jquery.fileuploader.js') }}"></script>
    <script src="{{ asset('frontend/js/summernote/summernote-lite.min.js') }}"></script>
    <script src="{{ asset('frontend/js/page-js/get-support-category.js') }}"></script>
    @include('layouts.inc.custom-script')

    <script>
        $(document).ready(function() {
            $('#description').summernote({
                height: 200,
            });
        });
    </script>
@endpush
