@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 {{ $pageTitle }} @include('layouts.partials.brand-icons') @vite(['resources/sass/main-site.scss']) {{-- This page is always dark: it is the one screen where the product is being sold rather than operated, and it should feel like the portal the visitor is signing up to run. --}} @livewireStyles {{ $slot }} @livewireScripts