From 561e53cee6730d8e429893a13e1067c28a89fd44 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 8 Dec 2023 17:39:24 +0100 Subject: [PATCH] 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