Identidad institucional

@php $context = app(\App\Support\InstitutionalContext::class); $brand = app(\App\Services\InstitutionalBrandingService::class)->current(); $sidebar = $brand->sidebar; foreach ($sidebar as $key => $value) $sidebar[$key] = old('sidebar_'.$key, $value); $sidebar['tagline'] = (bool) $sidebar['tagline']; $texts = $brand->texts; foreach ($texts as $key => $value) $texts[$key] = old('text_'.$key, $value); $state = [ 'primary'=>old('primary_color', $brand->primary), 'secondary'=>old('secondary_color', $brand->secondary), 'accent'=>old('accent_color', $brand->accent), 'name'=>old('nombre_comercial', $brand->name), 'tagline'=>old('lema', $identity->lema ?? ''), 'title'=>old('login_title', $brand->title), 'description'=>old('login_description', $brand->description), 'badge'=>old('login_badge', $brand->badge), 'footer'=>old('footer_text', $brand->footer), 'logo'=>$brand->logo_url, 'icon'=>$brand->icon_url, 'login_image'=>$brand->login_image_url, 'sidebar'=>$sidebar, 'texts'=>$texts, 'preview'=>'sidebar', 'fileError'=>'', ]; @endphp @include('admin.configuration.branding-styles')

{{ $context->sede()?->nombre }} · {{ $context->sede()?->clave }}

Marca y menú lateral

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())@endif @unless($identity)@endunless
@csrf @method('PUT')

Marca de la escuela

@foreach(['logo'=>['Logotipo',4], 'icon'=>['Ícono o escudo',2], 'login_image'=>['Portada del acceso',8]] as $key=>[$label,$max])
Sin imagen

{{ $key !== 'login_image' ? 'PNG, JPG, WebP o SVG' : 'PNG, JPG o WebP' }} · Máximo {{ $max }} MB

@endforeach
@foreach(['primary'=>'Primario', 'secondary'=>'Secundario', 'accent'=>'Acento'] as $key=>$label)
@endforeach

Colores de texto

Contraste del texto
@foreach(['login'=>'Títulos y textos del acceso', 'button'=>'Botones principales', 'selected'=>'Opción seleccionada del menú'] as $key=>$label)
@endforeach

Hay una combinación con poco contraste. Se aplicará un color de texto legible.

Menú lateral

Colores del menú
@foreach(['background'=>'Fondo', 'text'=>'Texto e íconos', 'active'=>'Opción seleccionada'] as $key=>$label)
@endforeach

Pantalla de acceso