diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 675019f..1431028 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -8,3 +8,4 @@ a1713c2f67dc8fcb83b8a54013b74859ff93f076 016a0c75837e666dcc6d04ccbf109ab47618f3dc fb5b8f82813a6ab7122b482db546be37237045ee e3ec9b4abafdeb1eb7550fb7714dfca488be466c +c5094aa91a8defd998c305710e1578923f3cf69f diff --git a/config/ads.php b/config/ads.php new file mode 100644 index 0000000..a5f0eef --- /dev/null +++ b/config/ads.php @@ -0,0 +1,22 @@ + 'ca-pub-4505764048662657', + + 'slots' => [ + 'horizontal_banner' => '9840151408', + 'vertical_banner' => '9117294343', + 'in_article' => '7169787855', + 'rectangle' => '1917461172', + 'common' => '4128691547', + ], +]; diff --git a/resources/css/app.css b/resources/css/app.css index 8e67e45..ac9163e 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -153,3 +153,14 @@ ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; } + +.ad-container { + overflow: hidden; + width: 100%; + max-width: 100%; +} + +.ad-container ins.adsbygoogle { + background-color: rgba(0, 0, 0, 0.02); + border-radius: 4px; +} diff --git a/resources/views/assets/index.blade.php b/resources/views/assets/index.blade.php index 40117fa..84fb7f3 100644 --- a/resources/views/assets/index.blade.php +++ b/resources/views/assets/index.blade.php @@ -5,11 +5,6 @@ 'Explore game assets on Heimerdinger.LoL. Find detailed information on all icons and emotes available in League of Legends!') - @push('top_scripts') - - @endpush - @section('content')
@@ -44,9 +36,3 @@
@endsection
-
-@push('bottom_scripts')
-
-@endpush
diff --git a/resources/views/champions/index.blade.php b/resources/views/champions/index.blade.php
index 717705a..7025e16 100644
--- a/resources/views/champions/index.blade.php
+++ b/resources/views/champions/index.blade.php
@@ -7,8 +7,6 @@
@push('top_scripts')
@vite('resources/js/lane-filter.js')
-
@endpush
@section('content')
@@ -17,7 +15,4 @@
@push('bottom_scripts')
@include('popper::assets')
-
@endpush
diff --git a/resources/views/components/ads/common.blade.php b/resources/views/components/ads/common.blade.php
new file mode 100644
index 0000000..3701c72
--- /dev/null
+++ b/resources/views/components/ads/common.blade.php
@@ -0,0 +1,7 @@
+{{ $champion->lore }} @@ -161,8 +163,6 @@ @push('top_scripts') @vite('resources/js/lane-filter.js') - @endpush @push('bottom_scripts') @include('popper::assets') diff --git a/resources/views/components/champions/list_all.blade.php b/resources/views/components/champions/list_all.blade.php index 19e2c3d..6ffba52 100644 --- a/resources/views/components/champions/list_all.blade.php +++ b/resources/views/components/champions/list_all.blade.php @@ -11,13 +11,14 @@ Champions - -
{{ $post->contents }}
+Tagged with: {{ isset($post->tags) ? implode(', ', $post->tags) : 'League of Legends' }}
-