@extends('theme.default')
@section('title', 'Dashboard')
@section('title.page', 'Dashboard')
@section('title.page1', 'Escola da árvore')
@section('title.page2', 'Home')
@section('title.page3', 'Dashboard')
@section('content')
    <div class="container-fluid user-card">
        <div class="row">
            @foreach ($usuarios as $usuario)
                <div class="col-md-6 col-lg-6 col-xl-4 box-col-6">
                    <div class="card custom-card">
                        <div class="card-header"><img class="img-fluid" src="https://bucket.cciti.com.br/cae/images/banner_user.png" alt=""></div>
                        <div class="card-profile"><img class="rounded-circle" src="https://bucket.cciti.com.br/cae/images/logo3.png" alt=""></div>
                        <div class="text-center profile-details"><a href="user-profile.html">
                                <h4>{{ $usuario->name }}</h4>
                            </a>
                            <h6>{{$usuario->funcao()}}</h6>
                        </div>
                        <div class="card-footer row">
                            <div class="col-4 col-sm-4">
                                <h6>Follower</h6>
                                <h3 class="counter">9564</h3>
                            </div>
                            <div class="col-4 col-sm-4">
                                <h6>Following</h6>
                                <h3><span class="counter">49</span>K</h3>
                            </div>
                            <div class="col-4 col-sm-4">
                                <h6>Total Post</h6>
                                <h3><span class="counter">96</span>M</h3>
                            </div>
                        </div>
                    </div>
                </div>
            @endforeach

        </div>
    </div>
@endsection
