@include('partials.sentry-meta') @include('partials.favicon') @include('partials.analytics') {{-- Tailwind, Alpine and Font Awesome all ship in this bundle. Loading any of them from a CDN as well gives the page two Alpine instances fighting over the same x-data and two Tailwind builds fighting over the same class names. --}} @vite(['resources/css/app.css', 'resources/js/app.js']) @stack('styles') @if(session(\App\Http\Controllers\ImpersonationController::SESSION_KEY)) {{-- Impossible to miss: a platform admin is viewing this studio. --}}
👁 Viewing as {{ auth()->user()->name }} ({{ auth()->user()->email }}) — actions you take are real. Stop & return to admin
@endif
@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif @yield('content')
@stack('scripts') {{-- First-run orientation for studio owners; not while impersonating. --}} @if(auth()->check() && auth()->user()->hasRole('Owner') && ! session(\App\Http\Controllers\ImpersonationController::SESSION_KEY)) @include('crm.partials.onboarding-tour') @endif