Initial commit
This commit is contained in:
21
routes/api.php
Normal file
21
routes/api.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\Http\Controllers\Api\HomepageController;
|
||||
use App\Http\Controllers\Api\PromotionController;
|
||||
use App\Http\Controllers\Api\NavigationController;
|
||||
use App\Http\Controllers\Api\PhotoController;
|
||||
use App\Http\Controllers\Api\LinkController;
|
||||
use App\Http\Controllers\Api\FooterController;
|
||||
use App\Http\Controllers\Api\ProductController;
|
||||
use App\Http\Controllers\Api\SizeController;
|
||||
|
||||
Route::get('homepage', [HomepageController::class, 'index']);
|
||||
Route::get('promotions', [PromotionController::class, 'index']);
|
||||
Route::get('navigation', [NavigationController::class, 'index']);
|
||||
Route::get('photos', [PhotoController::class, 'index']);
|
||||
Route::get('buttons', [LinkController::class, 'index']);
|
||||
Route::get('footer', [FooterController::class, 'index']);
|
||||
Route::get('products', [ProductController::class, 'index']);
|
||||
Route::get('sizes', [SizeController::class, 'index']);
|
||||
8
routes/console.php
Normal file
8
routes/console.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->purpose('Display an inspiring quote');
|
||||
16
routes/web.php
Normal file
16
routes/web.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Inertia\Inertia;
|
||||
|
||||
Route::get('/', function () {
|
||||
return Inertia::render('Home');
|
||||
})->name('home');
|
||||
|
||||
Route::get('/menu', function () {
|
||||
return Inertia::render('Menu/Menu');
|
||||
})->name('menu');
|
||||
|
||||
Route::get('/galeria', function () {
|
||||
return Inertia::render('Gallery/Gallery');
|
||||
})->name('gallery');
|
||||
Reference in New Issue
Block a user