@extends('layouts.client')

@section('content-header')
    <h1>
        {{-- Entreprise : {{ auth()->user()->company->name }} --}}
    </h1>
@endsection

@section('content')

    <div class="row clients-dashboard">
        <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="{{ route('clients.products.index') }}">
                <div class="info-box">
                    <span class="info-box-icon bg-aqua"><i class="fa fa-cubes"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">Produits</span>
                        <span class="info-box-number">
                            {{ $products_count }}
                        </span>
                    </div>
                    <!-- /.info-box-content -->
                </div>
            </a>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        {{-- <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="{{ route('clients.catalogues.index') }}">
                <div class="info-box">
                    <span class="info-box-icon bg-red"><i class="fa fa-file-pdf-o"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">Catalogues</span>
                        <span class="info-box-number">
                            {{ $catalogues_count }}
                        </span>
                    </div>
                    <!-- /.info-box-content -->
                </div>
            </a>
            <!-- /.info-box -->
        </div> --}}
        <!-- /.col -->

        <!-- fix for small devices only -->
        <div class="clearfix visible-sm-block"></div>

        <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="{{ route('clients.projects.index') }}">
                <div class="info-box">
                    <span class="info-box-icon bg-green"><i class="fa fa-list"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">Projets</span>
                        <span class="info-box-number">
                            {{ $projects_count }}
                        </span>
                    </div>
                    <!-- /.info-box-content -->
                </div>
            </a>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="{{ route('clients.salons.index') }}">
                <div class="info-box">
                    <span class="info-box-icon bg-yellow"><i class="fa fa-calendar"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">Salons</span>
                        <span class="info-box-number">
                            {{ $salons_count }}
                        </span>
                    </div>
                    <!-- /.info-box-content -->
                </div>
            </a>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="{{ route('clients.trends.index') }}">
                <div class="info-box">
                    <span class="info-box-icon bg-navy"><i class="fa fa-newspaper-o"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">News/Trend</span>
                        <span class="info-box-number">
                            {{ $trends_count }}
                        </span>
                    </div>
                    <!-- /.info-box-content -->
                </div>
            </a>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12">
            <a href="{{ route('clients.places.index') }}">
                <div class="info-box">
                    <span class="info-box-icon bg-gray"><i class="fa fa-map-marker"></i></span>

                    <div class="info-box-content">
                        <span class="info-box-text">Adresses</span>
                        <span class="info-box-number">
                            {{ $adresses_count }}
                        </span>
                    </div>
                    <!-- /.info-box-content -->
                </div>
            </a>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
    </div>

@endsection