feat: add recent skins to home

This commit is contained in:
Rico van Zelst
2023-11-06 00:56:11 +01:00
parent 10d45c5dd1
commit 0fb5f76ad2
6 changed files with 135 additions and 3 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\View\Components\home;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class recent_skins extends Component
{
/**
* Create a new component instance.
*/
public function __construct()
{
public array $skins;
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.home.recent_skins');
}
}