feat: increase gallery grid from 4 to 5 columns per row on desktopfeat: increase gallery grid from 4 to 5 columns per row on desktop
This commit is contained in:
@@ -80,6 +80,17 @@ Route::middleware('ensure.onboarding.complete')->get('/forum.php', function (\Il
|
||||
Route::get('/news/{id}/{slug?}', [NewsController::class, 'show'])->where('id', '\\d+')->name('legacy.news.show');
|
||||
|
||||
Route::get('/categories', [CategoryController::class, 'index'])->name('legacy.categories');
|
||||
Route::get('/sections', [\App\Http\Controllers\Web\SectionsController::class, 'index'])->name('sections');
|
||||
|
||||
// Clean SEO-friendly URL aliases
|
||||
Route::get('/uploads/latest', [LatestController::class, 'index'])->name('uploads.latest');
|
||||
Route::get('/uploads/daily', [DailyUploadsController::class, 'index'])->name('uploads.daily');
|
||||
Route::get('/members/photos', [MembersController::class, 'photos'])->name('members.photos');
|
||||
Route::get('/authors/top', [TopAuthorsController::class, 'index'])->name('authors.top');
|
||||
Route::get('/comments/latest', [LatestCommentsController::class, 'index'])->name('comments.latest');
|
||||
Route::get('/comments/monthly', [MonthlyCommentatorsController::class, 'index'])->name('comments.monthly');
|
||||
Route::get('/downloads/today', [TodayDownloadsController::class, 'index'])->name('downloads.today');
|
||||
|
||||
Route::get('/category/{group}/{slug?}/{id?}', [BrowseGalleryController::class, 'legacyCategory'])->name('legacy.category');
|
||||
|
||||
Route::get('/browse', [BrowseGalleryController::class, 'browse'])->name('legacy.browse');
|
||||
@@ -95,6 +106,14 @@ Route::get('/@{username}', [ProfileController::class, 'showByUsername'])
|
||||
->where('username', '[A-Za-z0-9_-]{3,20}')
|
||||
->name('profile.show');
|
||||
|
||||
Route::middleware('auth')->post('/@{username}/follow', [ProfileController::class, 'toggleFollow'])
|
||||
->where('username', '[A-Za-z0-9_-]{3,20}')
|
||||
->name('profile.follow');
|
||||
|
||||
Route::middleware('auth')->post('/@{username}/comment', [ProfileController::class, 'storeComment'])
|
||||
->where('username', '[A-Za-z0-9_-]{3,20}')
|
||||
->name('profile.comment');
|
||||
|
||||
Route::get('/user/{username}', [ProfileController::class, 'legacyByUsername'])
|
||||
->where('username', '[A-Za-z0-9_-]{3,20}')
|
||||
->name('legacy.user.profile');
|
||||
@@ -246,6 +265,9 @@ Route::middleware(['auth', 'ensure.onboarding.complete'])->group(function () {
|
||||
|
||||
require __DIR__.'/auth.php';
|
||||
|
||||
Route::get('/search', [\App\Http\Controllers\Web\SearchController::class, 'index'])
|
||||
->name('search');
|
||||
|
||||
Route::get('/tag/{tag:slug}', [\App\Http\Controllers\Web\TagController::class, 'show'])
|
||||
->where('tag', '[a-z0-9\-]+')
|
||||
->name('tags.show');
|
||||
|
||||
Reference in New Issue
Block a user