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')

LoL Icons & Emotes

- -
Heimerdinger Emote @@ -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 @@ +
+ + +
diff --git a/resources/views/components/ads/horizontal-banner.blade.php b/resources/views/components/ads/horizontal-banner.blade.php new file mode 100644 index 0000000..b2781b9 --- /dev/null +++ b/resources/views/components/ads/horizontal-banner.blade.php @@ -0,0 +1,8 @@ +
+ + +
diff --git a/resources/views/components/ads/in-article.blade.php b/resources/views/components/ads/in-article.blade.php new file mode 100644 index 0000000..1a6ee0d --- /dev/null +++ b/resources/views/components/ads/in-article.blade.php @@ -0,0 +1,7 @@ +
+ + +
diff --git a/resources/views/components/ads/vertical-banner.blade.php b/resources/views/components/ads/vertical-banner.blade.php new file mode 100644 index 0000000..4ccb0ca --- /dev/null +++ b/resources/views/components/ads/vertical-banner.blade.php @@ -0,0 +1,8 @@ +
+ + +
diff --git a/resources/views/components/champions/grid_info.blade.php b/resources/views/components/champions/grid_info.blade.php index 14b8220..d7c71dd 100644 --- a/resources/views/components/champions/grid_info.blade.php +++ b/resources/views/components/champions/grid_info.blade.php @@ -37,7 +37,8 @@ Popular Positions: @if (isset($champion->lanes) && isset($champion->lanes->roles)) @foreach ($champion->lanes->roles as $lane) - {{ $lane }} @svg(getRoleIconSvg($lane), 'w-5 h-5 inline-block') + {{ $lane }} + @svg(getRoleIconSvg($lane), 'w-5 h-5 inline-block') @if (!$loop->last) - @endif @@ -150,6 +151,7 @@

{{ $champion->name }} Lore

+

{{ $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 - -

+
+ +
+
@foreach ($champions as $key => $champion) diff --git a/resources/views/components/emotes/list_all.blade.php b/resources/views/components/emotes/list_all.blade.php index e998671..dfa1ecc 100644 --- a/resources/views/components/emotes/list_all.blade.php +++ b/resources/views/components/emotes/list_all.blade.php @@ -9,12 +9,12 @@ -
- -
-
+ + +
@foreach ($emotes as $key => $emote) diff --git a/resources/views/components/home/features.blade.php b/resources/views/components/home/features.blade.php index 75aa476..4c789ee 100644 --- a/resources/views/components/home/features.blade.php +++ b/resources/views/components/home/features.blade.php @@ -84,9 +84,9 @@ information about the game.

-
- +
+
+
diff --git a/resources/views/components/icons/list_all.blade.php b/resources/views/components/icons/list_all.blade.php index 97fb0c3..d0f98a8 100644 --- a/resources/views/components/icons/list_all.blade.php +++ b/resources/views/components/icons/list_all.blade.php @@ -7,14 +7,12 @@ class="text-3xl font-bold text-center text-transparent uppercase sm:text-4xl bg-gradient-to-bl from-orange-300 to-orange-500 bg-clip-text"> Summoner Icons - -
- -
-
+ +
@foreach ($icons as $key => $icon) diff --git a/resources/views/components/icons/view_grid.blade.php b/resources/views/components/icons/view_grid.blade.php index 2c0a793..4d2ee15 100644 --- a/resources/views/components/icons/view_grid.blade.php +++ b/resources/views/components/icons/view_grid.blade.php @@ -102,13 +102,6 @@
- -
- -
-
diff --git a/resources/views/components/sales/current_sales.blade.php b/resources/views/components/sales/current_sales.blade.php index 5c39ed6..44cd3f1 100644 --- a/resources/views/components/sales/current_sales.blade.php +++ b/resources/views/components/sales/current_sales.blade.php @@ -46,8 +46,6 @@
@endforeach -
diff --git a/resources/views/components/skins/paginatedlist.blade.php b/resources/views/components/skins/paginatedlist.blade.php index 7f45c86..8760f35 100644 --- a/resources/views/components/skins/paginatedlist.blade.php +++ b/resources/views/components/skins/paginatedlist.blade.php @@ -8,12 +8,9 @@ Champion Skins - +
+ +
@fragment('skin-list')
diff --git a/resources/views/emotes/index.blade.php b/resources/views/emotes/index.blade.php index 611d7a8..bbca850 100644 --- a/resources/views/emotes/index.blade.php +++ b/resources/views/emotes/index.blade.php @@ -4,17 +4,6 @@ @section('description', 'Explore all LoL Emotes on Heimerdinger.LoL. Find detailed information on popular emotes such as Dab Pengu, Bee Mad, Little Camper, Super Shy, PENGUMODE and more!') - - @push('top_scripts') - - @endpush @section('content') @endsection - -@push('bottom_scripts') - -@endpush diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index b832666..32126eb 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -5,11 +5,6 @@ 'Explore League of Legends champions, skins, and game assets on Heimerdinger. Your ultimate source for in-depth information on LoL gaming. Dive in now!') - @push('top_scripts') - - @endpush - @section('content') @@ -18,9 +13,3 @@ @endif @endsection - -@push('bottom_scripts') - -@endpush diff --git a/resources/views/icons/index.blade.php b/resources/views/icons/index.blade.php index c749d03..9e06083 100644 --- a/resources/views/icons/index.blade.php +++ b/resources/views/icons/index.blade.php @@ -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') - - @endpush - @section('content') @endsection - -@push('bottom_scripts') - -@endpush diff --git a/resources/views/icons/show.blade.php b/resources/views/icons/show.blade.php index c1fff39..9b7985f 100644 --- a/resources/views/icons/show.blade.php +++ b/resources/views/icons/show.blade.php @@ -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') - - @endpush @section('content') @endsection - -@push('bottom_scripts') - -@endpush diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 7ce1eac..b58a076 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -52,6 +52,10 @@ @vite(['resources/css/app.css', 'resources/js/app.js']) + + + @stack('top_scripts') @@ -59,6 +63,7 @@ @yield('content') + @stack('bottom_scripts') diff --git a/resources/views/posts/show.blade.php b/resources/views/posts/show.blade.php index 20b1a0d..39e4731 100644 --- a/resources/views/posts/show.blade.php +++ b/resources/views/posts/show.blade.php @@ -14,11 +14,6 @@ @endpush -@push('top_scripts') - -@endpush - @section('content') Back @@ -40,22 +35,15 @@

“{{ $post->description }}”

- +

{{ $post->contents }}

+

Tagged with: {{ isset($post->tags) ? implode(', ', $post->tags) : 'League of Legends' }}

-
@endsection - -@push('bottom_scripts') - -@endpush diff --git a/resources/views/sales/index.blade.php b/resources/views/sales/index.blade.php index 8dab9d6..605d86f 100644 --- a/resources/views/sales/index.blade.php +++ b/resources/views/sales/index.blade.php @@ -5,18 +5,7 @@ 'Explore the current LoL Sale on Heimerdinger.LoL. Find detailed information on what champions and skins are currently on sale and grab a good deal!') - @push('top_scripts') - - @endpush - @section('content') @endsection - -@push('bottom_scripts') - -@endpush \ No newline at end of file diff --git a/resources/views/skins/index.blade.php b/resources/views/skins/index.blade.php index 471737d..e05f598 100644 --- a/resources/views/skins/index.blade.php +++ b/resources/views/skins/index.blade.php @@ -5,17 +5,6 @@ 'Explore all champion skins on Heimerdinger.LoL. Find detailed information on popular skins such as Dark Cosmic Jhin, HEARTSTEEL Ezreal, PROJECT: Vayne and more!') - @push('top_scripts') - - @endpush - @section('content') @endsection - -@push('bottom_scripts') - -@endpush