Added rounded avatar
Added class 'rounded-avatar' to avatar images
This commit is contained in:
parent
a28b285334
commit
5364591c12
|
@ -34,9 +34,9 @@
|
||||||
<div class="column" style="margin-top: 5%">
|
<div class="column" style="margin-top: 5%">
|
||||||
<!-- Your Image Here -->
|
<!-- Your Image Here -->
|
||||||
@if(file_exists(public_path("img/$littlelink_name" . ".png" )))
|
@if(file_exists(public_path("img/$littlelink_name" . ".png" )))
|
||||||
<img src="{{ asset("img/$littlelink_name" . ".png") }}" width="100px" height="100px">
|
<img class="rounded-avatar" src="{{ asset("img/$littlelink_name" . ".png") }}" width="100px" height="100px">
|
||||||
@else
|
@else
|
||||||
<img src="{{ asset('littlelink/images/avatar.png') }}" srcset="{{ asset('littlelink/images/avatar@2x.png 2x') }}" width="100px" height="100px">
|
<img class="rounded-avatar" src="{{ asset('littlelink/images/avatar.png') }}" srcset="{{ asset('littlelink/images/avatar@2x.png 2x') }}" width="100px" height="100px">
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@foreach($information as $info)
|
@foreach($information as $info)
|
||||||
|
@ -54,6 +54,9 @@
|
||||||
<a class="button button-title" href="{{ route('clickNumber') . '/' . $link->id . '/' . $link->link}}" target="_blank">
|
<a class="button button-title" href="{{ route('clickNumber') . '/' . $link->id . '/' . $link->link}}" target="_blank">
|
||||||
{{ $link->title }}</a>
|
{{ $link->title }}</a>
|
||||||
<br>
|
<br>
|
||||||
|
@elseif($link->name === "custom")
|
||||||
|
<a class="button button-{{ $link->name }}" href="{{ route('clickNumber') . '/' . $link->id . '/' . $link->link}}" target="_blank"><img class="icon" src="{{ asset('\/littlelink/icons\/') . $linkName }}.svg">{{ $link->title }}</a>
|
||||||
|
<br>
|
||||||
@else
|
@else
|
||||||
<a class="button button-{{ $link->name }}" href="{{ route('clickNumber') . '/' . $link->id . '/' . $link->link}}" target="_blank"><img class="icon" src="{{ asset('\/littlelink/icons\/') . $linkName }}.svg">{{ ucfirst($linkName) }}</a>
|
<a class="button button-{{ $link->name }}" href="{{ route('clickNumber') . '/' . $link->id . '/' . $link->link}}" target="_blank"><img class="icon" src="{{ asset('\/littlelink/icons\/') . $linkName }}.svg">{{ ucfirst($linkName) }}</a>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in New Issue