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')
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
2017-06-09 02:28:26 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2 class="description">@lang('common.newestpilots')</h2>
|
|
|
|
@foreach($users as $user)
|
|
|
|
<div class="card card-signup blue-bg">
|
|
|
|
<div class="header header-primary text-center blue-bg">
|
|
|
|
<h3 class="title title-up text-white">
|
2020-04-07 00:03:19 +08:00
|
|
|
<a href="{{ route('frontend.profile.show', [$user->id]) }}" class="text-white">{{ $user->name_private }}</a>
|
2020-02-02 02:05:56 +08:00
|
|
|
</h3>
|
|
|
|
<div class="photo-container">
|
|
|
|
@if ($user->avatar == null)
|
|
|
|
<img class="rounded-circle"
|
|
|
|
src="{{ $user->gravatar(123) }}">
|
|
|
|
@else
|
|
|
|
<img src="{{ $user->avatar->url }}" style="width: 123px;">
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content content-center">
|
|
|
|
<div class="social-description text-center text-white">
|
|
|
|
<h2 class="description text-white">
|
|
|
|
@if(filled($user->home_airport))
|
|
|
|
{{ $user->home_airport->icao }}
|
|
|
|
@endif
|
|
|
|
</h2>
|
2017-08-10 14:00:08 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
|
|
|
<div class="footer text-center">
|
|
|
|
<a href="{{ route('frontend.profile.show', [$user->id]) }}"
|
|
|
|
class="btn btn-neutral btn-sm">@lang('common.profile')</a>
|
|
|
|
</div>
|
2017-08-10 14:00:08 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
@endforeach
|
2017-08-10 14:00:08 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
2017-08-10 13:31:13 +08:00
|
|
|
@endsection
|