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