authenticator: static function (): void {
$user = \App\Models\OrganisationUser::where('email', '[email protected]')->first();
if ($user !== null) {
auth('organisation_user')->setUser($user);
Filament::setTenant($user->organisation);
}
},
return [
// S3 disk (must be configured in config/filesystems.php).
'disk' => 's3_public',
// Top-level S3 prefix.
'path_prefix' => 'screenshots',
// Capture viewports — name → { name, width, height }. Override to
// standardise on your own breakpoints.
'viewports' => [
'desktop' => ['name' => 'desktop', 'width' => 1280, 'height' => 800],
'tablet' => ['name' => 'tablet', 'width' => 768, 'height' => 1024],
'mobile' => ['name' => 'mobile', 'width' => 375, 'height' => 812],
],
// CSS injected into every page just before the screenshot fires —
// use this to lock host theme animations into a stable state. Empty
// by default.
//
// Example for a theme that animates its topbar on root scroll:
//
// 'capture_time_css' => '
// .fi-topbar { padding-block: 1rem !important; }
// .fi-main { padding-top: 7rem !important; }
// ',
'capture_time_css' => '',
// Sitemap entries to omit from the catalogue. Match the `slug` field
// in `storage/app/sitemap-{panel}.json` — Filament's `{resource}.{page}`
// form (e.g. `users.index`, `orders.edit`) for resource pages, or the
// page class slug for custom pages. NOT URL slugs.
'excluded_slugs' => [],
// Brand assets uploaded next to index.html so the catalogue's heading
// shows your wordmark + favicon. Both are optional.
'brand' => [
'name' => 'Panel Screenshots',
'logo' => public_path('media/your_logo_dark_mode.svg'),
'favicon' => public_path('media/your_favicon.svg'),
],
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.