refactor: remove ad scripts from views

Cleaned up multiple view files by removing Google AdSense script inclusions.
This commit is contained in:
Rico van Zelst
2025-02-26 22:25:14 +01:00
parent 76d468d1da
commit 45cb08c4d9
9 changed files with 2 additions and 93 deletions

View File

@@ -5,17 +5,6 @@
'Explore all LoL icons on Heimerdinger.LoL. Find detailed information on popular summoner icons
such as Qiyana Champie 2, Omen of the Cursed Revenant, Lil\' Sprout, Dominion Retirement, Winterblessed Hwei and more!')
@push('top_scripts')
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4505764048662657"
crossorigin="anonymous"></script>
@endpush
@section('content')
<x-icons.list_all :icons="$icons" />
@endsection
@push('bottom_scripts')
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
@endpush

View File

@@ -3,16 +3,6 @@
@section('title', $icon->title . ' • Heimerdinger')
@section('description', 'Heimerdinger.LoL: ' . $icon->title . ' details showing all the information about the icon
released in ' . $icon->release_year . '. ' . substr($icon->description, 0, 64) . '...')
@push('top_scripts')
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4505764048662657"
crossorigin="anonymous"></script>
@endpush
@section('content')
<x-icons.view_grid :icon="$icon" />
@endsection
@push('bottom_scripts')
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
@endpush