2018-03-12 07:00:42 +08:00
|
|
|
@extends('app')
|
2017-12-25 02:30:25 +08:00
|
|
|
@section('title', 'welcome!')
|
2018-02-04 08:18:09 +08:00
|
|
|
|
2017-08-10 13:31:13 +08:00
|
|
|
@section('content')
|
|
|
|
<div class="row">
|
2017-08-10 14:00:08 +08:00
|
|
|
<div class="col-sm-12">
|
2017-06-10 04:07:29 +08:00
|
|
|
</div>
|
2017-06-09 02:28:26 +08:00
|
|
|
</div>
|
2017-08-10 14:00:08 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2 class="description">newest pilots</h2>
|
|
|
|
</div>
|
|
|
|
@foreach($users as $user)
|
|
|
|
<div class="col-sm-3 ">
|
|
|
|
<div class="card card-signup blue-bg">
|
2017-08-10 23:36:55 +08:00
|
|
|
{{--<div class="card-bg">--}}
|
|
|
|
{{--<i class="fa fa-user-o" style="opacity: .1;"></i>--}}
|
|
|
|
{{--</div>--}}
|
2017-08-10 14:00:08 +08:00
|
|
|
<div class="header header-primary text-center blue-bg">
|
|
|
|
<h3 class="title title-up text-white">
|
2018-03-13 06:58:12 +08:00
|
|
|
<a href="{{ route('frontend.profile.show', ['id' => $user->id]) }}" class="text-white">{{ $user->name }}</a>
|
2017-08-10 14:00:08 +08:00
|
|
|
</h3>
|
|
|
|
<div class="photo-container">
|
|
|
|
<img class="rounded-circle"
|
2018-03-13 06:58:12 +08:00
|
|
|
src="{{ $user->gravatar(123) }}">
|
2017-08-10 14:00:08 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content content-center">
|
|
|
|
<div class="social-description text-center text-white">
|
2018-02-11 10:30:11 +08:00
|
|
|
<h2 class="description text-white">
|
|
|
|
@if(filled($user->home_airport))
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ $user->home_airport->icao }}
|
2018-02-11 10:30:11 +08:00
|
|
|
@endif
|
|
|
|
</h2>
|
2017-08-10 14:00:08 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="footer text-center">
|
2018-03-13 06:58:12 +08:00
|
|
|
<a href="{{ route('frontend.profile.show', ['id' => $user->id]) }}" class="btn btn-neutral btn-sm">Profile</a>
|
2017-08-10 14:00:08 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2017-08-10 13:31:13 +08:00
|
|
|
@endsection
|