Update profile view, add layout prop

This commit is contained in:
Daniel Supernault 2019-04-16 12:58:38 -06:00
parent bcc9c6916a
commit bdcdb7b249
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -7,7 +7,7 @@
</div>
@endif
<profile profile-id="{{$profile->id}}" :profile-settings="{{json_encode($settings)}}"></profile>
<profile profile-id="{{$profile->id}}" :profile-settings="{{json_encode($settings)}}" profile-layout="{{$profile->profile_layout ?? 'metro'}}"></profile>
@if($profile->website)
<a class="d-none" href="{{$profile->website}}" rel="me">{{$profile->website}}</a>
@endif