Add per-app notifications and enforce hosting brand assets.
Deploy Ladill Hosting / deploy (push) Successful in 24s

Wire local notification inbox in the topbar, sync ladillhosting logo and hosting launcher icon, and fix signed-out page branding.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-06 18:27:39 +00:00
co-authored by Cursor
parent a0bcf93e53
commit 7fca4a351a
14 changed files with 437 additions and 46 deletions
+6
View File
@@ -11,6 +11,7 @@ use App\Http\Controllers\Hosting\HostingTerminalSessionController;
use App\Http\Controllers\Hosting\OverviewController;
use App\Http\Controllers\Hosting\SearchController;
use App\Http\Controllers\Hosting\TeamController;
use App\Http\Controllers\NotificationController;
use Illuminate\Support\Facades\Route;
$serversApp = fn (string $path = ''): string => 'https://'.config('app.servers_domain').($path !== '' ? '/'.ltrim($path, '/') : '');
@@ -29,6 +30,11 @@ Route::get('/sso/logout-frontchannel', [SsoLoginController::class, 'frontchannel
Route::get('/signed-out', fn () => auth()->check() ? redirect()->route('hosting.dashboard') : view('hosting.signed-out'))->name('hosting.signed-out');
Route::middleware(['auth'])->group(function () use ($serversApp) {
Route::get('/notifications', [NotificationController::class, 'index'])->name('notifications.index');
Route::get('/notifications/unread', [NotificationController::class, 'unread'])->name('notifications.unread');
Route::post('/notifications/{id}/read', [NotificationController::class, 'markAsRead'])->name('notifications.mark-read');
Route::post('/notifications/mark-all-read', [NotificationController::class, 'markAllAsRead'])->name('notifications.mark-all-read');
Route::get('/search', SearchController::class)->name('hosting.search');
Route::get('/dashboard', [OverviewController::class, 'index'])->name('hosting.dashboard');