Remove API

The API was not being used and would need work such as pagination etc

Removing for now but leaving the code intact (just commented out) incase
there is a need to bring it back at a later date
This commit is contained in:
dev 2021-12-10 14:41:53 -06:00
parent af59aaf236
commit 9cfea79309
3 changed files with 9 additions and 9 deletions

View File

@ -128,32 +128,32 @@
<footer class="container-fluid py-5 bg-light shadow-lg text-center">
<div class="row">
<div class="col-6 col-md">
<div class="col-md">
<ul class="list-unstyled">
<li><a href="{{ route('homepage') }}">Home</a></li>
</ul>
</div>
<div class="col-6 col-md">
<div class="col-md">
<ul class="list-unstyled">
<li><a href="{{ url('about') }}">About</a></li>
</ul>
</div>
<div class="col-6 col-md">
{{-- <div class="col-md">
<ul class="list-unstyled">
<li><a href="{{ url('api') }}">API</a></li>
</ul>
</div>
<div class="col-6 col-md">
</div> --}}
<div class="col-md">
<ul class="list-unstyled">
<li><a href="{{ route('leaderboard') }}">Leaderboard</a></li>
</ul>
</div>
<div class="col-6 col-md">
<div class="col-md">
<ul class="list-unstyled">
<li><a href="https://repo.getmonero.org/AnonDev/xmrmemes" target="_blank">Source Code</a></li>
</ul>
</div>
<div class="col-6 col-md">
<div class="col-md">
<ul class="list-unstyled">
<li><a href="{{ route('contact') }}">Contact</a></li>
</ul>

View File

@ -18,4 +18,4 @@ Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
});
Route::middleware('api')->get('memes', [App\Http\Controllers\ApiController::class, 'memes']);
// Route::middleware('api')->get('memes', [App\Http\Controllers\ApiController::class, 'memes']);

View File

@ -28,5 +28,5 @@ Route::post('/meme-create', [App\Http\Controllers\MemeController::class, 'store'
Route::get('user/{id}', [App\Http\Controllers\UserController::class, 'show'])->name('user');
Route::get('/dashboard', [App\Http\Controllers\DashboardController::class, 'index'])->name('dashboard');
Route::get('/leaderboard', [App\Http\Controllers\MemeController::class, 'leaderboard'])->name('leaderboard');
Route::get('/api', [App\Http\Controllers\ApiController::class, 'documentation'])->name('api');
// Route::get('/api', [App\Http\Controllers\ApiController::class, 'documentation'])->name('api');
Route::get('/theme/{style}', [App\Http\Controllers\ThemeSwitcherController::class, 'theme']);