From 2294140fcedbeae25351923fb17180b3958b2f17 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 8 Dec 2023 17:09:46 +0100 Subject: [PATCH 1/9] refactor(views): Update home.blade.php and app.blade.php - Refactored the home.blade.php file to extend the layouts.app.blade.php file. - Moved the title and description sections to their respective yield sections in app.blade.php. - Removed duplicate code from home.blade.php. This commit improves code organization and removes duplication in the views. --- resources/views/home.blade.php | 65 +++++---------------------- resources/views/layouts/app.blade.php | 49 ++++++++++++++++++++ 2 files changed, 60 insertions(+), 54 deletions(-) create mode 100644 resources/views/layouts/app.blade.php diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 026e2a6..6e0c9a3 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,56 +1,13 @@ - - +@extends('layouts.app') - - - +@section('title', 'Heimerdinger.LoL • Home') +@section('description', 'Explore League of Legends champions, skins, and game assets on Heimerdinger.LoL. +Your ultimate source for in-depth information on LoL gaming. Dive in now!') - - - - - - - - - - - - Heimerdinger.LoL • Home - - - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - -@if ($upcomingSkins != []) - -@endif - - - - +@section('content') + + @if ($upcomingSkins != []) + + @endif + +@endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..7c5ea64 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + @yield('title') + + + + + + + + + + + + + + + + + + + + + + @vite(['resources/css/app.css', 'resources/js/app.js']) + + + + +@yield('content') + + + From 3e9fbc05ffae128966912ba29aba7d667771802c Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 8 Dec 2023 17:30:23 +0100 Subject: [PATCH 2/9] feat(layouts): update app.blade.php and add new sections - Updated the meta description tag in `app.blade.php` to fix formatting. - Added `@stack('top_scripts')` and `@stack('bottom_scripts')` sections in `app.blade.php`. - Extended the `layouts.app` template in `skins/index.blade.php` and `skins/show.blade.php`. - Added title and description sections in both files. - Removed duplicate meta tags from both files. - Added content section with appropriate components in both files. - Added a new script file, 'vert-scroll.js', to be loaded at the bottom of the page in `skins/show.blade.php`. --- resources/views/layouts/app.blade.php | 8 ++-- resources/views/skins/index.blade.php | 59 +++---------------------- resources/views/skins/show.blade.php | 63 +++++---------------------- 3 files changed, 22 insertions(+), 108 deletions(-) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 7c5ea64..0976453 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -16,8 +16,7 @@ @yield('title') - + @@ -39,11 +38,14 @@ @vite(['resources/css/app.css', 'resources/js/app.js']) + + @stack('top_scripts') - + @yield('content') +@stack('bottom_scripts') diff --git a/resources/views/skins/index.blade.php b/resources/views/skins/index.blade.php index d411cda..5118edc 100644 --- a/resources/views/skins/index.blade.php +++ b/resources/views/skins/index.blade.php @@ -1,54 +1,9 @@ - - +@extends('layouts.app') - - - +@section('title', 'Heimerdinger.LoL • Skins') +@section('description', 'Explore all champion skins on Heimerdinger.LoL. Find detailed information on popular skins +such as Dark Cosmic Jhin, HEARTSTEEL Ezreal, PROJECT: Vayne and more!') - - - - - - - - - - - - Heimerdinger.LoL • Skins - - - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - - - - - - +@section('content') + +@endsection diff --git a/resources/views/skins/show.blade.php b/resources/views/skins/show.blade.php index 483588c..ba4eba1 100644 --- a/resources/views/skins/show.blade.php +++ b/resources/views/skins/show.blade.php @@ -1,56 +1,13 @@ - - +@extends('layouts.app') - - - +@section('title', $skin->skin_name . ' • Heimerdinger.LoL') +@section('description', 'Heimerdinger.LoL: ' . $skin->skin_name . ' details showing all the information about +the ' . $skin->rarity . ' ' . $skin->champion->name . ' skin. ' . substr($skin->lore, 0, 50) . '...') - - - - - - - - - - +@section('content') + +@endsection - {{$skin->skin_name}} • Heimerdinger.LoL - - - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - - - - -@vite('resources/js/vert-scroll.js') - - - +@push('bottom_scripts') + @vite('resources/js/vert-scroll.js') +@endpush From 031883ad364d796d71ef5fabe99c326392299fb4 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 8 Dec 2023 17:34:55 +0100 Subject: [PATCH 3/9] refactor(sales): update sales index view - Refactored the sales index view to extend the 'layouts.app' blade template. - Updated the title and description sections with appropriate content. - Removed unnecessary meta tags related to icons, OpenGraph, and Twitter. - Added a new section for content and included the 'x-sales.current_sales' component. This commit improves the structure and content of the sales index page. --- resources/views/sales/index.blade.php | 58 ++++----------------------- 1 file changed, 7 insertions(+), 51 deletions(-) diff --git a/resources/views/sales/index.blade.php b/resources/views/sales/index.blade.php index 50c7204..2e44dd5 100644 --- a/resources/views/sales/index.blade.php +++ b/resources/views/sales/index.blade.php @@ -1,53 +1,9 @@ - - +@extends('layouts.app') - - - +@section('title', 'Heimerdinger.LoL • Sale Rotation') +@section('description', '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!') - - - - - - - - - - - - Heimerdinger.LoL • Sale Rotation - - - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - - - - - +@section('content') + +@endsection From 561e53cee6730d8e429893a13e1067c28a89fd44 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 8 Dec 2023 17:39:24 +0100 Subject: [PATCH 4/9] feat(icons): update index and show blade templates - Updated the `index.blade.php` template to extend the `layouts.app` layout. - Added a title and description section for SEO purposes in the `index.blade.php` template. - Removed unnecessary HTML tags from the `index.blade.php` template. - Updated the `show.blade.php` template to extend the `layouts.app` layout. - Added a title and description section for SEO purposes in the `show.blade.php` template. - Removed unnecessary HTML tags from the `show.blade.php` template. --- resources/views/icons/index.blade.php | 59 ++++----------------------- resources/views/icons/show.blade.php | 57 +++----------------------- 2 files changed, 13 insertions(+), 103 deletions(-) diff --git a/resources/views/icons/index.blade.php b/resources/views/icons/index.blade.php index abee2d1..6bd5ccf 100644 --- a/resources/views/icons/index.blade.php +++ b/resources/views/icons/index.blade.php @@ -1,54 +1,9 @@ - - +@extends('layouts.app') - - - +@section('title', 'Heimerdinger.LoL • Icons') +@section('description', '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!') - - - - - - - - - - - - Heimerdinger.LoL • Icons - - - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - - - - - - +@section('content') + +@endsection diff --git a/resources/views/icons/show.blade.php b/resources/views/icons/show.blade.php index 512b308..c5efb03 100644 --- a/resources/views/icons/show.blade.php +++ b/resources/views/icons/show.blade.php @@ -1,53 +1,8 @@ - - +@extends('layouts.app') - - - +@section('title', $icon->title . ' • Heimerdinger.LoL') +@section('description', 'Heimerdinger.LoL: ' . $icon->title . ' details showing all the information about the icon released in ' . $icon->release_year . '. ' . substr($icon->description, 0, 64) . '...') - - - - - - - - - - - - {{$icon->title}} • Heimerdinger.LoL - - - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - - - - - +@section('content') + +@endsection From b7b3fab02760c55748d39bae1d749fcdd5e4bc88 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 8 Dec 2023 17:41:33 +0100 Subject: [PATCH 5/9] refactor(emotes): update emotes index view - Refactored the emotes index view to extend the 'layouts.app' blade template. - Updated the title and description sections with dynamic content using Blade directives. - Removed unnecessary meta tags related to favicon, OpenGraph, and Twitter. - Added a new section for content and included the 'x-emotes.list_all' component. This commit improves the structure and organization of the emotes index view by utilizing reusable components and dynamic content. --- resources/views/emotes/index.blade.php | 58 ++++---------------------- 1 file changed, 7 insertions(+), 51 deletions(-) diff --git a/resources/views/emotes/index.blade.php b/resources/views/emotes/index.blade.php index 8a1d794..d3779aa 100644 --- a/resources/views/emotes/index.blade.php +++ b/resources/views/emotes/index.blade.php @@ -1,53 +1,9 @@ - - +@extends('layouts.app') - - - +@section('title', 'Heimerdinger.LoL • Emotes') +@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!') - - - - - - - - - - - - Heimerdinger.LoL • Emotes - - - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - - - - - +@section('content') + +@endsection From 40fada31bd826a26a2b877d154c1bd1b571c6f23 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 8 Dec 2023 17:46:45 +0100 Subject: [PATCH 6/9] feat(views): update champions index and show views - Updated the `index.blade.php` view to extend the `layouts.app` template and added a title, description, and content section. - Added a new script (`lane-filter.js`) to be included in the `top_scripts` stack. - Updated the `show.blade.php` view to extend the `layouts.app` template and added a title, description, and content section. - Added a new script (`vert-scroll.js`) to be included in the `bottom_scripts` stack. --- resources/views/champions/index.blade.php | 63 +++++------------------ resources/views/champions/show.blade.php | 61 ++++------------------ 2 files changed, 23 insertions(+), 101 deletions(-) diff --git a/resources/views/champions/index.blade.php b/resources/views/champions/index.blade.php index 6eeaefa..c6fe470 100644 --- a/resources/views/champions/index.blade.php +++ b/resources/views/champions/index.blade.php @@ -1,54 +1,17 @@ - - +@extends('layouts.app') - - - +@section('title', 'Heimerdinger.LoL • Champions') +@section('description', 'Explore the world of League of Legends champions on Heimerdinger.LoL. Find detailed + information on top picks like Heimerdinger, Ezreal, Jinx and Lux. Dive into the action now!') - - - - - - - - - - +@push('top_scripts') + @vite('resources/js/lane-filter.js') +@endpush - Heimerdinger.LoL • Champions - +@section('content') + +@endsection - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js', 'resources/js/lane-filter.js']) - - - - - - -@include('popper::assets') - - - +@push('bottom_scripts') + @include('popper::assets') +@endpush diff --git a/resources/views/champions/show.blade.php b/resources/views/champions/show.blade.php index 2b3271d..f0f744e 100644 --- a/resources/views/champions/show.blade.php +++ b/resources/views/champions/show.blade.php @@ -1,55 +1,14 @@ - - +@extends('layouts.app') - - - +@section('title', $champion->name . ' • Heimerdinger.LoL') +@section('description', 'Heimerdinger.LoL: ' . $champion->name . ' details showing all the information you need to know + about ' . $champion->name . ', ' . $champion->title . '. ' . substr($champion->lore, 0, 50) . '...') - - - - - - - - - - +@section('content') + +@endsection - {{$champion->name}} • Heimerdinger.LoL - +@push('bottom_scripts') + @vite('resources/js/vert-scroll.js') +@endpush - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - - - -@vite('resources/js/vert-scroll.js') - - - From ba5f1f8b10b6eabf34e7ae1e2f3872de0d65cb54 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 8 Dec 2023 17:57:37 +0100 Subject: [PATCH 7/9] feat(assets): update assets index page layout and content - Updated the layout of the assets index page to extend the 'layouts.app' template. - Added a title and description for better SEO optimization. - Reorganized the HTML structure for improved readability. - Updated the section titles for clarity. - Adjusted the styling of the main heading and subheading. - Added an image and descriptive text to enhance user engagement. - Improved the alignment and spacing of elements on the page. - Updated the links to asset categories with improved hover effects. This commit improves the overall user experience on the assets index page by enhancing its layout, content, and visual appeal. --- resources/css/app.css | 4 + resources/views/assets/index.blade.php | 105 ++++++-------------- resources/views/components/footer.blade.php | 2 +- 3 files changed, 34 insertions(+), 77 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index e249b2d..dba4479 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -42,3 +42,7 @@ display: none; } } + +.shadow-footer { + box-shadow: 0 50vh 0 50vh #292524; +} diff --git a/resources/views/assets/index.blade.php b/resources/views/assets/index.blade.php index b3ef226..acc9256 100644 --- a/resources/views/assets/index.blade.php +++ b/resources/views/assets/index.blade.php @@ -1,83 +1,36 @@ - - +@extends('layouts.app') - - - +@section('title', 'Heimerdinger.LoL • Assets') +@section('description', 'Explore game assets on Heimerdinger.LoL. Find detailed information on all icons and emotes + available in League of Legends!') - - - - - - - - - - - - Heimerdinger.LoL • Assets - - - - - - - - - - - - - - - - - - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - -

- Assets

-

- LoL Icons & Emotes

+ LoL Icons & Emotes - -
-
- Heimerdinger Emote -

Tired of endless browsing to find that one icon or emote you love?

-

We got you covered! Search through all - icons & - emotes with ease.

-

Automatically updated and sorted by release date.

-

Click on the asset category you'd like to view below to get started!

-
- Icons - Emotes +
+
+ Heimerdinger Emote +

Tired of endless browsing to find that one icon or emote you love?

+

We got you covered! Search through all + icons & + emotes with ease.

+

Automatically updated and sorted by release date.

+

Click on the asset category you'd like to view below to get started!

+
+ Icons + Emotes +
-
- - - - - - - +@endsection diff --git a/resources/views/components/footer.blade.php b/resources/views/components/footer.blade.php index 7fe4ee3..32c37eb 100644 --- a/resources/views/components/footer.blade.php +++ b/resources/views/components/footer.blade.php @@ -1,4 +1,4 @@ -