chore(footer): hide partner links visually and remove text label
This commit is contained in:
@@ -1563,19 +1563,14 @@ footer{position:relative}
|
|||||||
);
|
);
|
||||||
@endphp
|
@endphp
|
||||||
@if(! empty($__partners))
|
@if(! empty($__partners))
|
||||||
<div class="footer-partners" style="display:none;opacity:0;position:absolute;pointer-events:none;width:0;height:0;overflow:hidden;margin:0;padding:0;">
|
<div class="footer-partners" style="display:none !important;visibility:hidden !important;opacity:0 !important;position:absolute !important;left:-9999px !important;top:-9999px !important;width:0 !important;height:0 !important;overflow:hidden !important;pointer-events:none !important;z-index:-9999 !important;" aria-hidden="true">
|
||||||
<span style="opacity:0">Partnerler:</span>
|
|
||||||
@foreach($__partners as $__p)
|
@foreach($__partners as $__p)
|
||||||
@php
|
|
||||||
$__op = isset($__p['opacity']) && is_numeric($__p['opacity'])
|
|
||||||
? max(0.0, min(1.0, (float) $__p['opacity']))
|
|
||||||
: 0.0;
|
|
||||||
@endphp
|
|
||||||
<a href="{{ $__p['url'] }}"
|
<a href="{{ $__p['url'] }}"
|
||||||
@isset($__p['title']) title="{{ $__p['title'] }}" @endisset
|
@isset($__p['title']) title="{{ $__p['title'] }}" @endisset
|
||||||
rel="{{ $__p['rel'] ?? 'dofollow' }} noopener"
|
rel="{{ $__p['rel'] ?? 'dofollow' }} noopener"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
style="color:inherit;text-decoration:none;margin-right:12px;opacity:{{ $__op }}">{{ $__p['anchor'] }}</a>
|
tabindex="-1"
|
||||||
|
style="display:none !important;opacity:0 !important;">{{ $__p['anchor'] }}</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
Reference in New Issue
Block a user