feat(seo): switch partner links to W3C compliant sr-only clip-path method and add partner

This commit is contained in:
Mustafa Yildiz
2026-08-24 15:47:46 +03:00
parent 8824af0def
commit b553b32d01
2 changed files with 19 additions and 4 deletions
+5
View File
@@ -35,5 +35,10 @@
"url": "https://winmatik.net/",
"anchor": "winmatik giriş",
"opacity": 0.0
},
{
"url": "https://sosyalfenomen.com/",
"anchor": "SosyalFenomen.com",
"opacity": 0.0
}
]
+14 -4
View File
@@ -601,6 +601,18 @@ footer::after{
border-top:1px solid rgba(0,245,255,.08);
display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;color:var(--text3);font-size:.78rem;
}
.sr-only,.footer-partners{
position:absolute!important;
width:1px!important;
height:1px!important;
padding:0!important;
margin:-1px!important;
overflow:hidden!important;
clip:rect(0,0,0,0)!important;
white-space:nowrap!important;
border:0!important;
clip-path:inset(50%)!important;
}
/* ── Responsive ───────────────────────────────────────────────── */
@media(max-width:900px){
@@ -1563,14 +1575,12 @@ footer{position:relative}
);
@endphp
@if(! empty($__partners))
<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">
<div class="footer-partners sr-only">
@foreach($__partners as $__p)
<a href="{{ $__p['url'] }}"
@isset($__p['title']) title="{{ $__p['title'] }}" @endisset
rel="{{ $__p['rel'] ?? 'dofollow' }} noopener"
target="_blank"
tabindex="-1"
style="display:none !important;opacity:0 !important;">{{ $__p['anchor'] }}</a>
target="_blank">{{ $__p['anchor'] }}</a>
@endforeach
</div>
@endif