feat: Add functionality to retrieve champion images from the database

- Added a new function `getChampionImage` to fetch champion images based on ID and type.
- Created a new model `ChampionImage` to store champion image details in the database.
- Implemented seeding of champion images using `ChampionImageSeeder`.
- Updated usage of champion images in existing methods.
This commit is contained in:
Rico van Zelst
2024-05-02 00:50:51 +02:00
parent 80fc3200c6
commit 6d2731f1d3
8 changed files with 138 additions and 18 deletions

View File

@@ -55,10 +55,6 @@
</head>
<body class="antialiased bg-stone-900 dark scroll-smooth">
<div class="py-1 text-center text-black bg-orange-400">
<p class="text-sm font-medium">We're aware of an issue where certain images may not display properly. We're currently working on a solution.</p>
</div>
<x-navbar />
@yield('content')
<x-footer />