phpvms/resources/views/layouts/default/home.blade.php

53 lines
2.2 KiB
PHP
Raw Normal View History

@extends('app')
2018-05-18 06:03:30 +08:00
@section('title', trans('frontend.home.welcome.title'))
@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-18 06:03:30 +08:00
<div class="col-sm-9">
<center><h1 class="description">@lang('frontend.home.welcome.message', ['Appname' => config('app.name')])</h1></center>
<div class="photo-container">
<img src="{{ public_asset('/assets/img/Airplane.jpg') }}" style=""/>
</div>
2017-08-10 14:00:08 +08:00
</div>
<div class="col-sm-3 ">
2018-05-18 06:03:30 +08:00
<h2 class="description">@lang('frontend.global.newestpilots')</h2>
@foreach($users as $user)
2017-08-10 14:00:08 +08:00
<div class="card card-signup blue-bg">
{{--<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">
<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">
@if ($user->avatar == null)
2017-08-10 14:00:08 +08:00
<img class="rounded-circle"
src="{{ $user->gravatar(123) }}">
@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))
{{ $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-05-18 06:03:30 +08:00
<a href="{{ route('frontend.profile.show', ['id' => $user->id]) }}" class="btn btn-neutral btn-sm">@lang('frontend.global.profile')</a>
2017-08-10 14:00:08 +08:00
</div>
</div>
@endforeach
2017-08-10 14:00:08 +08:00
</div>
</div>
@endsection