Compare commits
1 Commits
master
...
v1.0.0-dem
| Author | SHA1 | Date | |
|---|---|---|---|
| 71fc1a4e82 |
@ -2,7 +2,7 @@
|
||||
|
||||
## Objetivo
|
||||
|
||||
O projeto representa o frontend MVP do Omnichannel Sothis.
|
||||
O projeto representa o frontend MVP do Sothis Connect.
|
||||
|
||||
O objetivo principal é demonstrar, de forma visual e convincente, como um atendente pode:
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" type="image/png" href="/src/shared/assets/favicon_blue.png" />
|
||||
<title>Omnichannel Sothis</title>
|
||||
<title>Sothis Connect</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@ -51,6 +51,7 @@ export function ChatPage() {
|
||||
submitTransfer,
|
||||
isPaused,
|
||||
pauseDurationLabel,
|
||||
apiError,
|
||||
} = useChat();
|
||||
const requestedChatId = searchParams.get('chatId');
|
||||
const handledRequestedChatIdRef = useRef('');
|
||||
@ -132,6 +133,21 @@ export function ChatPage() {
|
||||
</Link>
|
||||
</header>
|
||||
|
||||
{apiError ? (
|
||||
<div
|
||||
style={{
|
||||
borderRadius: 16,
|
||||
padding: '0.85rem 1rem',
|
||||
background: 'rgba(181, 31, 31, 0.08)',
|
||||
border: '1px solid rgba(181, 31, 31, 0.2)',
|
||||
color: 'var(--color-secondary)',
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{apiError}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<section
|
||||
style={{
|
||||
display: 'grid',
|
||||
|
||||
@ -46,7 +46,7 @@ export function BrandMark({ compact = false, theme = 'light', size }) {
|
||||
/>
|
||||
<div>
|
||||
<div style={{ fontSize: currentSize.titleSize, fontWeight: 800 }}>
|
||||
Sothis Omnichannel
|
||||
Sothis Connect
|
||||
</div>
|
||||
<div style={{ color: 'var(--color-text-soft)', fontSize: currentSize.subtitleSize }}>
|
||||
Central de atendimento unificada
|
||||
|
||||
Loading…
Reference in New Issue
Block a user