From f1ada2fb0118004acc1c0e89884f0a8ad5efe2d7 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Fri, 16 Feb 2024 01:57:48 +0100 Subject: [PATCH] refactor(icons): improve code readability and formatting - Reorganized the HTML structure for better readability. - Fixed indentation and spacing inconsistencies. - Added missing newline after PHP opening tag. - Updated class names to follow consistent naming conventions. - Wrapped icon titles in anchor tags for improved accessibility. --- .../views/components/icons/list_all.blade.php | 43 +++++++++---------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/resources/views/components/icons/list_all.blade.php b/resources/views/components/icons/list_all.blade.php index 5328bbc..5ad77ea 100644 --- a/resources/views/components/icons/list_all.blade.php +++ b/resources/views/components/icons/list_all.blade.php @@ -1,44 +1,43 @@ +/** @var App\Models\SummonerIcon $icon */ +?>

+ 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) + @foreach ($icons as $key => $icon)
+ class="flex flex-col items-center text-gray-700 border shadow-md champ-card bg-stone-800/40 rounded-2xl bg-clip-border border-stone-800 hover:border-orange-500/10 hover:shadow-orange-500/10">
- {{ $icon->title }} Icon + class="w-24 h-24 mx-4 mt-3 overflow-hidden border-2 rounded-2xl bg-clip-border border-orange-400/40"> + + {{ $icon->title }} Icon
-

- {{ $icon->title }} +

+ + {{ $icon->title }} +

-