@@ -125,6 +125,19 @@ function loadProviderAdditionalArgs(
125125 ) ;
126126}
127127
128+ function getMobileSectionHintKey ( section : SettingsSection ) {
129+ switch ( section ) {
130+ case "general" :
131+ return "settings.notifications_channel_hint" ;
132+ case "providers" :
133+ return "settings.provider.command_preview_hint" ;
134+ case "appearance" :
135+ return "settings.theme.hint" ;
136+ case "shortcuts" :
137+ return "settings.shortcuts.hint" ;
138+ }
139+ }
140+
128141/**
129142 * Settings Page
130143 *
@@ -436,18 +449,28 @@ export function SettingsPage() {
436449
437450 const renderMobileRoot = ( ) => (
438451 < main className = "settings-content settings-content--mobile-root" >
452+ < section className = "settings-mobile-root-hero" >
453+ < div className = "settings-mobile-root-hero__eyebrow" > { t ( "settings.title" ) } </ div >
454+ < p className = "settings-mobile-root-hero__body" > { t ( "settings.autosave_hint" ) } </ p >
455+ </ section >
439456 < div className = "settings-mobile-list" >
440457 { availableSections . map ( ( { id, labelKey, iconSemantic } ) => (
441458 < button
442459 key = { id }
443460 type = "button"
444461 className = "settings-mobile-item"
462+ aria-label = { t ( labelKey ) }
445463 onClick = { ( ) => setNavigationState ( { kind : "detail" , section : id } ) }
446464 >
447- < span className = "settings-mobile-item__icon" >
448- < ThemedIcon semantic = { iconSemantic } size = { 18 } />
465+ < span className = "settings-mobile-item__icon-shell" aria-hidden = "true" >
466+ < span className = "settings-mobile-item__icon" >
467+ < ThemedIcon semantic = { iconSemantic } size = { 18 } />
468+ </ span >
469+ </ span >
470+ < span className = "settings-mobile-item__copy" >
471+ < span className = "settings-mobile-item__label" > { t ( labelKey ) } </ span >
472+ < span className = "settings-mobile-item__hint" > { t ( getMobileSectionHintKey ( id ) ) } </ span >
449473 </ span >
450- < span className = "settings-mobile-item__label" > { t ( labelKey ) } </ span >
451474 < ChevronRight size = { 16 } className = "settings-mobile-item__arrow" />
452475 </ button >
453476 ) ) }
0 commit comments