@php $siteName = siteUrlSettings('site_name') ?? config('app.name'); // On a seller's own subdomain the tab should say their name, not ours — // this layout serves both the platform signup and each tenant's login. $base = parse_url(config('app.url'), PHP_URL_HOST); $host = request()->getHost(); $pageTenant = str_ends_with($host, '.'.$base) ? \App\Models\Reseller::fromSubdomain(\Illuminate\Support\Str::before($host, '.'.$base)) : null; $pageTitle = $pageTenant ? $pageTenant->displayName().' — '.__('Sign in') : __('Get started').' — '.$siteName; @endphp