fix: correct dark branding and tenant logo rendering

This commit is contained in:
MeghdadFadaee committed 2026-09-09 20:54:39 +03:30
1 parent 1d3aa42b6c
commit f62103d44b
10 files changed
+73 -28

No files matched your search

+3 -1
View File
@@ -200,11 +200,13 @@ NovaTenancy::landingUsing(
);
NovaTenancy::logoResponseUsing(
fn (Request $request, Model $tenant): Response => Storage::disk('private')
fn (Request $request, Model $tenant): ?Response => Storage::disk('private')
->response($tenant->logo_path)
);
```
The logo response callback may return `null` to continue with the tenant URL or configured fallback logo.
`TenantSelected` and `TenantCleared` events are dispatched after changes. English and Persian translations can be published with:
```bash