diff --git a/soroscan-frontend/app/[locale]/page.tsx b/soroscan-frontend/app/[locale]/page.tsx index 0e3140f63..b2020db2b 100644 --- a/soroscan-frontend/app/[locale]/page.tsx +++ b/soroscan-frontend/app/[locale]/page.tsx @@ -75,11 +75,11 @@ export default function Home() {
-
Python SDK
+
Python SDK
-
TypeScript SDK
+
TypeScript SDK
diff --git a/soroscan-frontend/app/globals.css b/soroscan-frontend/app/globals.css index db261bc24..939ad8f38 100644 --- a/soroscan-frontend/app/globals.css +++ b/soroscan-frontend/app/globals.css @@ -53,6 +53,7 @@ --color-terminal-danger: #ff3366; --color-terminal-warning: #ffaa00; --color-terminal-gray: #64748b; + --color-terminal-gray-light: #94a3b8; --font-terminal-mono: "JetBrains Mono", "IBM Plex Mono", monospace; --font-terminal-sans: "Inter", system-ui, sans-serif; @@ -73,6 +74,17 @@ } } +@media (prefers-reduced-motion: reduce) { + *, + ::before, + ::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } +} + :root { --radius: 0.625rem; --background: oklch(1 0 0); diff --git a/soroscan-frontend/app/login/page.tsx b/soroscan-frontend/app/login/page.tsx index 71ef047ee..7eeb78713 100644 --- a/soroscan-frontend/app/login/page.tsx +++ b/soroscan-frontend/app/login/page.tsx @@ -93,36 +93,32 @@ function LoginPageInner() {
- {errors.email && ( -

- {String(errors.email.message)} +

+ > {String(errors.email.message)}

)}
- {errors.password && ( -

- {String(errors.password.message)} +

+ > {String(errors.password.message)}

)}
diff --git a/soroscan-frontend/components/terminal/Input.tsx b/soroscan-frontend/components/terminal/Input.tsx index 9e74e4b74..dfb13e277 100644 --- a/soroscan-frontend/components/terminal/Input.tsx +++ b/soroscan-frontend/components/terminal/Input.tsx @@ -7,19 +7,26 @@ export interface InputProps } const Input = React.forwardRef( - ({ className, type, label, ...props }, ref) => { + ({ className, type, label, id, ...props }, ref) => { + const generatedId = React.useId() + const inputId = id || generatedId + return (
{label && ( -