Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
433 changes: 433 additions & 0 deletions client/agent-multi-select-combobox.tsx

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions client/app.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import { type Handle } from 'remix/component'
import { clientRoutes } from './routes/index.tsx'
import { getPathname, listenToRouterNavigation, Router } from './client-router.tsx'
import {
getPathname,
listenToRouterNavigation,
Router,
} from './client-router.tsx'
import {
fetchSessionInfo,
type SessionInfo,
type SessionStatus,
} from './session.ts'
import { buildAuthLink } from './auth-links.ts'
import { colors, spacing, typography } from './styles/tokens.ts'
import { colors, mq, spacing, typography } from './styles/tokens.ts'

export function App(handle: Handle) {
let session: SessionInfo | null = null
Expand Down Expand Up @@ -97,6 +101,11 @@ export function App(handle: Handle) {
minHeight: isChatLayout ? '100vh' : undefined,
fontFamily: typography.fontFamily,
boxSizing: 'border-box',
[mq.mobile]: {
padding: isChatLayout
? `${spacing.md} ${spacing.md} ${spacing.sm}`
: spacing.lg,
},
}}
>
<nav
Expand All @@ -105,6 +114,10 @@ export function App(handle: Handle) {
gap: spacing.md,
flexWrap: 'wrap',
marginBottom: isChatLayout ? spacing.lg : spacing.xl,
[mq.mobile]: {
gap: spacing.sm,
marginBottom: isChatLayout ? spacing.md : spacing.lg,
},
}}
>
<a href="/" css={navLinkCss}>
Expand Down
Loading
Loading