Skip to content

Commit

Permalink
Update image layout on profiles
Browse files Browse the repository at this point in the history
This closes #300
  • Loading branch information
portableant committed May 7, 2022
1 parent 4aa4419 commit 708d05e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions resources/views/research/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@
<div class="bg-white p-3" style="min-height: 500px;">
<div class="mb-3">
@if(!is_null($profile['profile_image']))
<div class="img-fluid float-right p-3">
<div class="p-3 ">
<a href="{{ route('research-profile', $profile['slug']) }}"><img
src="{{ $profile['profile_image']['data']['thumbnails'][2]['url']}}"
src="{{ $profile['profile_image']['data']['thumbnails'][5]['url']}}"
alt="Profile image for {{ $profile['display_name'] }}"
width="{{ $profile['profile_image']['data']['thumbnails'][2]['width'] }}"
height="{{ $profile['profile_image']['data']['thumbnails'][2]['height'] }}"
loading="lazy"/></a>
loading="lazy" class="img-fluid mx-auto d-block"/></a>
</div>
@endif
<h3>
Expand Down

0 comments on commit 708d05e

Please sign in to comment.