mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
feat: start on emote components...
This commit is contained in:
14
app/View/Components/Emotes/List_all.php
Normal file
14
app/View/Components/Emotes/List_all.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Emotes;
|
||||
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\View\Component;
|
||||
|
||||
class List_all extends Component
|
||||
{
|
||||
public function render(): View
|
||||
{
|
||||
return view('components.emotes.list_all');
|
||||
}
|
||||
}
|
||||
3
resources/views/components/emotes/list_all.blade.php
Normal file
3
resources/views/components/emotes/list_all.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
|
||||
</div>
|
||||
0
resources/views/emotes/index.blade.php
Normal file
0
resources/views/emotes/index.blade.php
Normal file
@@ -2,6 +2,7 @@
|
||||
|
||||
use App\Http\Controllers\AssetsController;
|
||||
use App\Http\Controllers\ChampionController;
|
||||
use App\Http\Controllers\SummonerEmoteController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\Http\Controllers\HomeController;
|
||||
use App\Http\Controllers\ChampionSkinController;
|
||||
@@ -36,6 +37,12 @@ Route::get('/icons', [
|
||||
'index'
|
||||
])->name('assets.icons.index');
|
||||
|
||||
// Emotes
|
||||
Route::get('/emotes', [
|
||||
SummonerEmoteController::class,
|
||||
'index'
|
||||
])->name('assets.emotes.index');
|
||||
|
||||
// Assets
|
||||
Route::get('/assets', [
|
||||
AssetsController::class,
|
||||
|
||||
Reference in New Issue
Block a user