Merge branch 'feature-product' into development
WMS API/ECOMMERCE/pipeline/head This commit looks good
Details
WMS API/ECOMMERCE/pipeline/head This commit looks good
Details
This commit is contained in:
commit
c42d359db1
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="nav flex-nowrap justify-content-between gap-4 py-2">
|
<div class="nav flex-nowrap justify-content-between gap-4 py-2">
|
||||||
|
|
||||||
@foreach ($brands as $key => $brand)
|
@foreach ($brands as $key => $brand)
|
||||||
@if ($brand->image_url)
|
|
||||||
<a class="nav-link align-items-center animate-underline gap-2 p-0"
|
<a class="nav-link align-items-center animate-underline gap-2 p-0"
|
||||||
href="{{ route('product.index', ['filter[brand]' => $brand->id]) }}">
|
href="{{ route('product.index', ['filter[brand]' => $brand->id]) }}">
|
||||||
<span class="d-flex align-items-center justify-content-center bg-white border rounded-circle"
|
<span class="d-flex align-items-center justify-content-center bg-white border rounded-circle"
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
</span>
|
</span>
|
||||||
<span class="d-block animate-target fw-semibold text-nowrap ms-1">{{ $brand->name }}</span>
|
<span class="d-block animate-target fw-semibold text-nowrap ms-1">{{ $brand->name }}</span>
|
||||||
</a>
|
</a>
|
||||||
@endif
|
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,8 @@ Route::post('/location/select', [LocationController::class, 'select'])->name('lo
|
||||||
// Language switching route
|
// Language switching route
|
||||||
Route::post('/locale/switch', [LocaleController::class, 'switch'])->name('locale.switch');
|
Route::post('/locale/switch', [LocaleController::class, 'switch'])->name('locale.switch');
|
||||||
|
|
||||||
Route::get('/', [HomeController::class, 'index'])->name('home');
|
Route::get('/', [HomeController::class, 'store'])->name('home');
|
||||||
|
Route::get('/fashion', [HomeController::class, 'fashion'])->name('fashion');
|
||||||
|
|
||||||
Route::get('/products', [ProductController::class, 'index'])->name('product.index');
|
Route::get('/products', [ProductController::class, 'index'])->name('product.index');
|
||||||
Route::get('/products/ajax', [ProductController::class, 'ajax'])->name('product.ajax');
|
Route::get('/products/ajax', [ProductController::class, 'ajax'])->name('product.ajax');
|
||||||
|
|
@ -52,7 +52,7 @@ Route::get('/products/ajax/announcements', [ProductController::class, 'announcem
|
||||||
Route::get('/product/{slug}', [ProductController::class, 'detail'])->name('product.detail');
|
Route::get('/product/{slug}', [ProductController::class, 'detail'])->name('product.detail');
|
||||||
|
|
||||||
|
|
||||||
Route::get('/store', [HomeController::class, 'store'])->name('store');
|
|
||||||
|
|
||||||
// Search routes
|
// Search routes
|
||||||
Route::get('/search', [SearchController::class, 'search'])->name('search.ajax');
|
Route::get('/search', [SearchController::class, 'search'])->name('search.ajax');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue