feat(branding): agregar logotipos e iconos oficiales de OneverAccess y badge de build version 2026.10.14
This commit is contained in:
@@ -7,6 +7,7 @@ import React, { useState, useEffect } from 'react';
|
||||
import { useAuth } from '../context/AuthContext';
|
||||
import { workstationApi, WorkstationListItem } from '../api/workstationApi';
|
||||
import { useTheme } from '../hooks/useTheme';
|
||||
import { APP_VERSION, APP_BUILD } from '../version';
|
||||
|
||||
export const LoginView: React.FC = () => {
|
||||
const { login, workstation, setWorkstation } = useAuth();
|
||||
@@ -104,37 +105,53 @@ export const LoginView: React.FC = () => {
|
||||
}}
|
||||
>
|
||||
{/* Cabecera del Login */}
|
||||
<div style={{ textAlign: 'center', marginBottom: '2rem' }}>
|
||||
<div style={{ textAlign: 'center', marginBottom: '1.75rem' }}>
|
||||
<div
|
||||
style={{
|
||||
width: '64px',
|
||||
height: '64px',
|
||||
borderRadius: '12px',
|
||||
backgroundColor: 'var(--hover-bg)',
|
||||
border: '1px solid var(--border)',
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
fontSize: '2rem',
|
||||
marginBottom: '1rem',
|
||||
}}
|
||||
>
|
||||
🛡️
|
||||
<img
|
||||
src={theme === 'dark' ? '/logo_login_dark.png' : '/logo_login_light.png'}
|
||||
alt="OnEver Access"
|
||||
style={{ maxHeight: '52px', width: 'auto', objectFit: 'contain' }}
|
||||
onError={(e) => {
|
||||
(e.target as HTMLImageElement).src = '/logo_mini.png';
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<h1
|
||||
style={{
|
||||
fontSize: '1.65rem',
|
||||
fontWeight: 700,
|
||||
margin: '0 0 0.4rem 0',
|
||||
margin: '0 0 0.35rem 0',
|
||||
color: 'var(--text-1)',
|
||||
letterSpacing: '-0.02em',
|
||||
}}
|
||||
>
|
||||
OnEverControl
|
||||
</h1>
|
||||
<p style={{ margin: 0, fontSize: '0.9rem', color: 'var(--text-2)' }}>
|
||||
Puesto de Control Web • Modo Cliente Garita
|
||||
</p>
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', gap: '0.5rem' }}>
|
||||
<span style={{ fontSize: '0.88rem', color: 'var(--text-2)' }}>
|
||||
Puesto de Control Web • Modo Garita
|
||||
</span>
|
||||
<span
|
||||
style={{
|
||||
fontSize: '0.68rem',
|
||||
padding: '0.15rem 0.45rem',
|
||||
borderRadius: '4px',
|
||||
backgroundColor: 'var(--hover-bg)',
|
||||
border: '1px solid var(--border)',
|
||||
color: 'var(--accent)',
|
||||
fontWeight: 600,
|
||||
}}
|
||||
>
|
||||
{APP_BUILD}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Alerta de Error */}
|
||||
@@ -257,7 +274,7 @@ export const LoginView: React.FC = () => {
|
||||
</form>
|
||||
|
||||
<div style={{ marginTop: '2rem', textAlign: 'center', fontSize: '0.75rem', color: 'var(--text-3)' }}>
|
||||
OnEverControl Web v0.6.1-beta • Conectado a Microsoft SQL Server videoman
|
||||
OnEver Access · Control Web {APP_VERSION} ({APP_BUILD}) • Conectado a Microsoft SQL Server
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user