Commit Graph

24 Commits

Author SHA1 Message Date
Rico van Zelst
a94e0ded51 fix: Add Frenzy to resourcetypes 2024-07-26 15:52:05 +02:00
Rico van Zelst
03c93ed189 feat(Champion Model): Add 'Crimson Rush' to resource types
A new resource type, 'Crimson Rush', has been added to the Champion model. This extends the range of available resource types for champions in the game.
2024-06-22 18:56:19 +02:00
Rico van Zelst
a0b37a4ab4 🧹 Duster 2024-06-18 12:55:10 +02:00
StyleCI Bot
cd709d7255 Apply fixes from StyleCI 2024-05-01 22:51:00 +00:00
Rico van Zelst
6d2731f1d3 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.
2024-05-02 00:50:51 +02:00
StyleCI Bot
672088b696 Apply fixes from StyleCI 2024-04-30 23:18:02 +00:00
Rico van Zelst
c69a5472aa refactor: Update image URL generation logic
- Refactored the logic for generating image URLs for champions and champion skins to improve readability and maintainability.
2024-05-01 01:12:31 +02:00
StyleCI Bot
401fa11cb1 Apply fixes from StyleCI 2024-04-15 03:17:22 +00:00
Rico van Zelst
0fb2b967fb feat: Add support for uncentered champion images
- Updated the Champion model to include an optional parameter for retrieving uncentered champion images. Adjusted image URLs in relevant views accordingly.
2024-04-14 14:21:32 +02:00
StyleCI Bot
a5f00c2828 Apply fixes from StyleCI 2024-04-14 11:47:00 +00:00
Rico van Zelst
01b3e35e87 fix: Update Champion image URLs from CDN Cdragon to RAW
- Refactored the Champion model to use new image URLs for different attributes.
- Updated blade templates to fetch champion images with correct URLs.
2024-04-14 13:46:53 +02:00
Rico van Zelst
e6dcfacb31 feat: Add streamers to champion show view
- Added loading of streamers data in the champion show view.
- Updated ChampionController to load streamers for display.
2024-03-23 02:48:08 +01:00
StyleCI Bot
8fa00e2ef6 Apply fixes from StyleCI 2024-03-18 17:48:57 +00:00
Shift
1038874e0f Convert $casts property to method 2024-03-18 16:13:34 +00:00
Rico van Zelst
68231197d0 fix: skin foreign key 2023-11-08 15:01:20 +01:00
Rico van Zelst
149174ebc3 feat: champ information, style improvement 2023-11-08 14:12:51 +01:00
Rico van Zelst
38247c71d9 feat: champ info start 2023-11-08 10:39:52 +01:00
Rico van Zelst
4445bc1478 feat: champion list 2023-11-07 17:28:37 +01:00
Rico van Zelst
3d6c00dd0d feat: upcoming skins & feat: return types 2023-11-06 20:56:21 +01:00
Rico van Zelst
91ec747c2c style: make per the coding style in pint 2023-11-02 13:05:53 +01:00
Rico van Zelst
9ced9a83f3 style: laravel pint lint 2023-11-01 14:09:25 +01:00
Rico van Zelst
69c072a003 feat: make models sluggable 2023-11-01 14:08:20 +01:00
Rico van Zelst
bb771faf25 🍺 Laravel Pint ran
- Moved the import statement for `Champion` and `ChampionSkin` models in their respective controllers to improve code organization.
- Refactored image attribute methods in the `Champion` model to use string interpolation for better readability.
- Refactored image attribute methods in the `ChampionSkin` model to use string interpolation for better readability.

This commit improves code organization and readability by refactoring import statements and using string interpolation for image attribute methods.
2023-10-27 01:23:39 +02:00
Rico van Zelst
1414391197 🎨 Champion + Skin databases 2023-10-26 20:46:09 +02:00