Commit Graph

12 Commits

Author SHA1 Message Date
StyleCI Bot 8fa00e2ef6 Apply fixes from StyleCI 2024-03-18 17:48:57 +00:00
Rico 00b096892e Apply fixes from StyleCI 2024-01-15 20:59:11 +00:00
Rico van Zelst 5c6f13a072 feat(cache): update cache expiration times
- Update the cache expiration time for 'championsListAllCache' and 'championsRolesCache' to 8 hours.
- Update the cache expiration time for 'championShowCache{slug}' to 3 days.
- Update the cache expiration time for 'championSplashColorCache{slug}' to 6 months.
- Update the cache expiration time for 'championSkinShowCache{slug}' to 48 hours.
- Update the cache expiration time for 'championSkinSplashColorCache{slug}' to 120 hours.
2024-01-14 00:13:37 +01:00
Rico b2dedb56c9 Apply fixes from StyleCI 2024-01-05 23:14:56 +00:00
Rico van Zelst 85e3c4ff2e feat(controllers): optimize caching and view data passing
- Refactored the ChampionController, ChampionSkinController, HomeController, SaleController, SummonerEmoteController, and SummonerIconController to use arrow functions for cache callbacks.
- Updated the view data passing in the ChampionController, ChampionSkinController, HomeController, PostsController, SaleController, SummonerEmoteController, and SummonerIconController to use associative arrays instead of compact().
- Removed unused imports from web.php.
2024-01-06 00:15:19 +01:00
Rico van Zelst d79c0dba5f style: laravel pint 2023-11-27 20:49:41 +01:00
Rico van Zelst 7ced468ad1 feat: search through skins 2023-11-14 10:30:44 +01:00
Rico van Zelst c542a2421b feat: skin grid info 2023-11-09 14:55:57 +01:00
Rico van Zelst 86990c6fea feat: skin rarity color 2023-11-09 14:10:01 +01:00
Rico van Zelst 2b8e6d9327 feat: skin list 2023-11-09 12:20:46 +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