@extends('layouts.franchise', ['heading' => 'Profile & Settings']) @section('content') @php $fp = optional($franchise); $themePreference = auth()->user()?->theme_preference; if (! in_array($themePreference, ['light', 'dark', 'auto'], true)) { $themePreference = auth()->user()?->dark_mode_enabled ? 'dark' : 'light'; } @endphp
@endsection