mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
fix temporary
This commit is contained in:
@@ -10,7 +10,7 @@ class SaleController extends Controller
|
|||||||
{
|
{
|
||||||
$sales = Cache::remember('sales_data', 60 * 60 * 8, static function () {
|
$sales = Cache::remember('sales_data', 60 * 60 * 8, static function () {
|
||||||
$shopData = json_decode(
|
$shopData = json_decode(
|
||||||
file_get_contents('https://api.shop.riotgames.com/v3/collections/'),
|
file_get_contents('https://rico-vz.github.io/shop-depr-temp/download.json'),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$salesData = array_filter($shopData, static fn ($collection) => $collection['path'] === '/event/sales');
|
$salesData = array_filter($shopData, static fn ($collection) => $collection['path'] === '/event/sales');
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
<section class="max-w-screen-xl mx-auto mt-12">
|
<section class="max-w-screen-xl mx-auto mt-12">
|
||||||
|
<h3 class="mt-8 mb-2 text-lg font-bold text-center text-transparent uppercase sm:text-xl bg-gradient-to-bl from-orange-300 to-orange-500 bg-clip-text">Sale Rotation is currently undergoing maintenance. This data is not up-to-date. Check back soon.</h3>
|
||||||
|
|
||||||
<h1
|
<h1
|
||||||
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">
|
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">
|
||||||
Sale Rotation</h1>
|
Sale Rotation</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user