diff --git a/dzen-assistant/admin/src/App.tsx b/dzen-assistant/admin/src/App.tsx index 2578443..8ec4da4 100644 --- a/dzen-assistant/admin/src/App.tsx +++ b/dzen-assistant/admin/src/App.tsx @@ -464,8 +464,8 @@ function AuthScreen({ hasPasskeys, onAuthenticated }: { hasPasskeys: boolean; on } return ( -
-
+
+
Логотип Дзен-ассистента

Дзен-ассистент

Вход в редакторскую панель

@@ -480,17 +480,17 @@ function AuthScreen({ hasPasskeys, onAuthenticated }: { hasPasskeys: boolean; on ) : null} {vkAuthenticated ? ( <> - - ) : null} {!hasPasskeys ?

После входа через VK ID можно будет добавить Face ID, Touch ID или Windows Hello.

: null} - diff --git a/dzen-assistant/admin/src/index.css b/dzen-assistant/admin/src/index.css index 7158059..b3e8605 100644 --- a/dzen-assistant/admin/src/index.css +++ b/dzen-assistant/admin/src/index.css @@ -35,6 +35,32 @@ } @layer components { + .auth-screen { + position: relative; + isolation: isolate; + overflow: hidden; + background: linear-gradient(135deg, #ffffff 0%, #edf6ff 42%, #f2edff 100%); + } + + .auth-screen::before { + position: absolute; + inset: -30%; + z-index: -1; + background: + linear-gradient(118deg, transparent 18%, hsl(204 100% 82% / 0.34) 38%, transparent 58%), + linear-gradient(28deg, transparent 30%, hsl(264 88% 88% / 0.48) 52%, transparent 72%); + background-size: 180% 180%; + content: ""; + filter: blur(48px); + animation: auth-aurora 18s ease-in-out infinite alternate; + } + + .auth-card { + border-color: hsl(221 35% 86% / 0.9); + box-shadow: 0 24px 70px hsl(224 45% 44% / 0.12), 0 2px 8px hsl(224 45% 44% / 0.06); + backdrop-filter: blur(18px); + } + .editorial-studio { background: hsl(210 20% 95%); } @@ -484,6 +510,21 @@ } } +@keyframes auth-aurora { + 0% { + background-position: 0% 35%, 100% 65%; + transform: translate3d(-2%, -1%, 0) rotate(-2deg); + } + 50% { + background-position: 70% 20%, 25% 80%; + transform: translate3d(2%, 1%, 0) rotate(2deg); + } + 100% { + background-position: 100% 70%, 0% 30%; + transform: translate3d(-1%, 2%, 0) rotate(-1deg); + } +} + @keyframes modal-panel-in { from { opacity: 0;