set the profile and pirep show as public
This commit is contained in:
parent
bf410c4f99
commit
1a532a9082
@ -35,7 +35,9 @@
|
||||
<span class="navbar-toggler-bar bar3"></span>
|
||||
</button>
|
||||
<p class="navbar-brand text-white" data-placement="bottom" target="_blank">
|
||||
<a href="{!! url('/') !!}">
|
||||
<img src="/assets/frontend/img/logo_blue_bg.svg" width="135px" style=""/>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse justify-content-end" id="navigation"
|
||||
|
@ -12,12 +12,12 @@
|
||||
@foreach($users as $user)
|
||||
<div class="col-sm-3 ">
|
||||
<div class="card card-signup blue-bg">
|
||||
<div class="card-bg">
|
||||
<i class="fa fa-user-o" style="opacity: .1;"></i>
|
||||
</div>
|
||||
{{--<div class="card-bg">--}}
|
||||
{{--<i class="fa fa-user-o" style="opacity: .1;"></i>--}}
|
||||
{{--</div>--}}
|
||||
<div class="header header-primary text-center blue-bg">
|
||||
<h3 class="title title-up text-white">
|
||||
<a href="#" class="text-white">{!! $user->name !!}</a>
|
||||
<a href="{!! route('frontend.profile.show', ['id' => $user->id]) !!}" class="text-white">{!! $user->name !!}</a>
|
||||
</h3>
|
||||
<div class="photo-container">
|
||||
<img class="rounded-circle"
|
||||
@ -30,7 +30,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer text-center">
|
||||
<!--<a href="#" class="btn btn-neutral btn-round btn-lg">Profile</a>-->
|
||||
<a href="{!! route('frontend.profile.show', ['id' => $user->id]) !!}" class="btn btn-neutral btn-sm">Profile</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,16 @@
|
||||
<?php
|
||||
|
||||
Route::get('/', 'HomeController@index');
|
||||
Route::get('/home', 'HomeController@index');
|
||||
|
||||
/**
|
||||
* User doesn't need to be logged in for these
|
||||
*/
|
||||
Route::group([
|
||||
'namespace' => 'Frontend', 'prefix' => '', 'as' => 'frontend.'
|
||||
], function() {
|
||||
Route::get('/pireps/{id}', 'PirepController@show');
|
||||
Route::get('/profile/{id}', 'ProfileController@show');
|
||||
});
|
||||
|
||||
/**
|
||||
* These are only visible to a logged in user
|
||||
@ -17,7 +26,6 @@ Route::group([
|
||||
Route::match(['post'], 'flights/save', 'FlightController@save');
|
||||
|
||||
Route::resource('profile', 'ProfileController');
|
||||
|
||||
Route::resource('pireps', 'PirepController');
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user