2018-03-12 07:00:42 +08:00
|
|
|
@extends('app')
|
2018-05-19 03:59:34 +08:00
|
|
|
@section('title', __('home.welcome.title'))
|
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">
|
2018-05-19 02:59:37 +08:00
|
|
|
<div class="col-sm-12">
|
2018-05-19 03:18:12 +08:00
|
|
|
<h2 class="description">@lang('common.newestpilots')</h2>
|
2018-05-16 14:47:31 +08:00
|
|
|
@foreach($users as $user)
|
2017-08-10 14:00:08 +08:00
|
|
|
<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">
|
2019-09-14 06:20:50 +08:00
|
|
|
<a href="{{ route('frontend.profile.show', [$user->id]) }}" class="text-white">{{ $user->name }}</a>
|
2017-08-10 14:00:08 +08:00
|
|
|
</h3>
|
|
|
|
<div class="photo-container">
|
2018-05-16 14:47:31 +08:00
|
|
|
@if ($user->avatar == null)
|
2017-08-10 14:00:08 +08:00
|
|
|
<img class="rounded-circle"
|
2018-03-13 06:58:12 +08:00
|
|
|
src="{{ $user->gravatar(123) }}">
|
2018-05-16 14:47:31 +08:00
|
|
|
@else
|
|
|
|
<img src="{{ $user->avatar->url }}" style="width: 123px;">
|
|
|
|
@endif
|
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">
|
2019-09-14 06:20:50 +08:00
|
|
|
<a href="{{ route('frontend.profile.show', [$user->id]) }}" class="btn btn-neutral btn-sm">@lang('common.profile')</a>
|
2017-08-10 14:00:08 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-16 14:47:31 +08:00
|
|
|
@endforeach
|
2017-08-10 14:00:08 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-10 13:31:13 +08:00
|
|
|
@endsection
|