@@ -203,22 +203,26 @@ export const ChatHome = memo(function ChatHome({
203203 < KnotLogo size = { 40 } color = "var(--brand)" />
204204 </ div >
205205
206- < h1 className = "text-center text-[32px] font-semibold tracking-[-0.04em] leading-none text-[var(--text-primary)]" >
207- Let's build
206+ < h1 className = "text-center text-[28px] sm:text-[ 32px] font-semibold tracking-[-0.04em] leading-none text-[var(--text-primary)]" >
207+ Let's weave
208208 </ h1 >
209209
210- { /* Workspace dropdown */ }
210+ { /* Workspace dropdown — hidden on mobile */ }
211211 < button
212212 onClick = { onSelectFolder }
213- className = "codex-workspace-dropdown mt-2.5 inline-flex items-center gap-1.5 text-[14px] text-[var(--text-secondary)] hover:text-[var(--text-primary)] transition-colors cursor-pointer"
213+ className = "codex-workspace-dropdown mt-2.5 hidden sm: inline-flex items-center gap-1.5 text-[14px] text-[var(--text-secondary)] hover:text-[var(--text-primary)] transition-colors cursor-pointer"
214214 >
215215 { repoShort ?? 'Select workspace' }
216216 < Icon icon = "lucide:chevron-down" width = { 14 } height = { 14 } className = "opacity-50" />
217217 </ button >
218+ { /* Subtle tagline on mobile */ }
219+ < p className = "mt-2 text-[13px] text-[var(--text-disabled)] sm:hidden" >
220+ Your AI-powered code companion
221+ </ p >
218222 </ div >
219223
220- { /* "Explore more" link */ }
221- < div className = "flex justify-end mb-2" >
224+ { /* "Explore more" link — desktop only */ }
225+ < div className = "hidden sm: flex justify-end mb-2" >
222226 < button
223227 onClick = { ( ) => emit ( 'open-folder' ) }
224228 className = "text-[12px] text-[var(--text-disabled)] hover:text-[var(--text-secondary)] transition-colors cursor-pointer"
@@ -227,8 +231,8 @@ export const ChatHome = memo(function ChatHome({
227231 </ button >
228232 </ div >
229233
230- { /* Suggestion cards — 1-up mobile, 3-up desktop */ }
231- < div className = "codex-suggestion-grid grid grid-cols-1 sm:grid-cols-3 gap-2.5 sm:gap-3 mb-4 sm: mb-5" >
234+ { /* Suggestion cards — hidden on mobile, 3-up desktop */ }
235+ < div className = "codex-suggestion-grid hidden sm:grid grid -cols-3 gap-3 mb-5" >
232236 { suggestions . map ( ( card , i ) => (
233237 < button
234238 key = { i }
@@ -323,12 +327,12 @@ export const ChatHome = memo(function ChatHome({
323327 { /* Mode selector */ }
324328 < ModeSelector mode = { agentMode } onChange = { setAgentMode } size = "sm" />
325329
326- { /* Divider */ }
327- < div className = "w-px h-4 bg-[var(--border)]" />
330+ { /* Divider — desktop only */ }
331+ < div className = "hidden sm:block w-px h-4 bg-[var(--border)]" />
328332
329- { /* Gateway status */ }
333+ { /* Gateway status — desktop only */ }
330334 < span
331- className = { `codex-pill inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-[11px] font-medium border cursor-default ${
335+ className = { `codex-pill hidden sm: inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-[11px] font-medium border cursor-default ${
332336 status === 'connected'
333337 ? 'text-[var(--text-secondary)] border-[var(--border)] bg-[color-mix(in_srgb,var(--text-primary)_4%,transparent)]'
334338 : 'text-[var(--text-disabled)] border-[var(--border)] bg-[color-mix(in_srgb,var(--text-primary)_3%,transparent)]'
@@ -338,12 +342,14 @@ export const ChatHome = memo(function ChatHome({
338342 { status === 'connected' ? 'Local' : 'Offline' }
339343 </ span >
340344
341- { /* Permissions */ }
342- < PermissionsToggle size = "sm" />
345+ { /* Permissions — desktop only */ }
346+ < span className = "hidden sm:inline-flex" >
347+ < PermissionsToggle size = "sm" />
348+ </ span >
343349
344- { /* Branch pill */ }
350+ { /* Branch pill — desktop only */ }
345351 { branchName && (
346- < span className = "codex-pill inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-[11px] font-medium text-[var(--text-secondary)] border border-[var(--border)] bg-[color-mix(in_srgb,var(--text-primary)_4%,transparent)] cursor-default" >
352+ < span className = "codex-pill hidden sm: inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-[11px] font-medium text-[var(--text-secondary)] border border-[var(--border)] bg-[color-mix(in_srgb,var(--text-primary)_4%,transparent)] cursor-default" >
347353 < Icon icon = "lucide:git-branch" width = { 12 } height = { 12 } />
348354 { branchName }
349355 </ span >
@@ -370,9 +376,9 @@ export const ChatHome = memo(function ChatHome({
370376 </ div >
371377 </ div >
372378
373- { /* Workspace setup (no workspace) */ }
379+ { /* Workspace setup (no workspace) — desktop only */ }
374380 { ! hasWorkspace && (
375- < div className = "mt-6 sm:mt-8 space-y-3 sm:space-y-4" >
381+ < div className = "mt-6 sm:mt-8 space-y-3 sm:space-y-4 hidden sm:block " >
376382 < div className = "h-px bg-[var(--border)]" />
377383 < div className = "grid grid-cols-1 sm:grid-cols-2 gap-2" >
378384 < button
@@ -421,8 +427,8 @@ export const ChatHome = memo(function ChatHome({
421427 </ div >
422428 ) }
423429
424- { /* Footer */ }
425- < div className = "mt-6 sm:mt-8 flex justify-center" >
430+ { /* Footer — desktop only */ }
431+ < div className = "mt-6 sm:mt-8 hidden sm: flex justify-center" >
426432 < span className = "text-[10px] font-mono tracking-[0.08em] text-[var(--text-disabled)] opacity-40 uppercase" >
427433 KnotCode
428434 </ span >
0 commit comments