@extends('frontend.layouts.main')
@section('meta_title', 'contact us')
@section('meta_keywords', 'news, article')
@section('meta_description', 'contact us for any query')

@section('section')

    <!-- Start Author Area -->
    <section class="author-area pb-40">
        <div class="container">
            <ul class="breadcrumb">
                <li><a href="#"><i class="icofont-home"></i> Home</a>
                </li>
                <li><i class="icofont-rounded-right"></i></li>
                <li>Author</li>
                <li><i class="icofont-rounded-right"></i></li>
                <li>{{ $user->name }}</li>
            </ul>

            <div class="author-box">
                <img src="{{ asset('asset/user/') }}" alt="image">

                <div class="author-info">
                    <div class="author-title">
                        <h3>{{ $user->name }}</h3>
                        <span><a href="/" target="_blank"></a></span>
                        <p>Dorem Ipsum is simply dummy text of the printing and typesetting industr been the industry's
                            standard dummy text ever since.</p>
                    </div>

                    <ul class="post-meta-info">
                        <li><a href="#"><i class="icofont-blogger"></i> {{ $allPosts->count() }} Posts</a></li>
                        <li><a href="https://templates.envytheme.com/sinmun/default/post-category-3.html"><i
                                    class="icofont-comment"></i> 5 Comments</a></li>
                    </ul>

                    <ul class="social">
                        <li><a href="https://www.facebook.com/login/" class="facebook"><i class="icofont-facebook"></i></a>
                        </li>
                        <li><a href="https://twitter.com/login/" class="twitter"><i class="icofont-twitter"></i></a></li>
                        <li><a href="https://vimeo.com/log_in" target="_blank"><i class="icofont-vimeo"></i></a></li>
                        <li><a href="https://www.instagram.com/accounts/login/" class="instagram"><i
                                    class="icofont-instagram"></i></a></li>
                    </ul>
                </div>
            </div>
        </div>
    </section>
    <!-- End Author Area -->

    <!-- Start All Category News Area -->
    <section class="all-category-news ptb-40 pt-0">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 col-md-12">
                    @include('frontend.partials.allposts')

                </div>
                <div class="col-lg-4 col-md-12">
                    @include('frontend.partials.features-news')
                    <div class="newsletter-box">
                        <div class="section-title">
                            <h2>Newsletter</h2>
                        </div>

                        <div class="newsletter-box-inner">
                            <h3>Subscribe To Our Mailing List To Get The New Updates!</h3>
                            <i class="icofont-email"></i>

                            <form class="newsletter-form" data-toggle="validator" novalidate="true">
                                <input type="email" class="newsletter-input" placeholder="Enter your email" name="EMAIL"
                                    required="" autocomplete="off">
                                <button type="submit" class="disabled" style="pointer-events: all; cursor: pointer;"><i
                                        class="icofont-paper-plane"></i></button>
                                <div id="validator-newsletter" class="form-result"></div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- End All Category News Area -->

@endsection
