diff --git a/resources/js/app.js b/resources/js/app.js index 0f97a1b..50db69d 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -3,3 +3,14 @@ import "flowbite"; import "./icons"; import "./icons-brands"; import "./icons-duotone"; + +document.addEventListener("DOMContentLoaded", function () { + const images = document.querySelectorAll(".transition-opacity"); + + images.forEach((image) => { + image.onload = function () { + image.style.filter = "blur(0)"; + image.style.opacity = "1"; + }; + }); +}); diff --git a/resources/views/components/champions/list_all.blade.php b/resources/views/components/champions/list_all.blade.php index 4f1a21f..0cb61de 100644 --- a/resources/views/components/champions/list_all.blade.php +++ b/resources/views/components/champions/list_all.blade.php @@ -19,15 +19,16 @@ border border-stone-800 hover:border-orange-500/10 hover:shadow-orange-500/10">
+
{{ $champion->name }}
{{ $champion->title }}