@@ -50,7 +50,7 @@ describe('positioning: hero copy', () => {
5050 expect ( HERO_EYEBROW ) . toBe ( 'Angular · LangGraph & AG-UI' ) ;
5151 expect ( HERO_H1 ) . toBe ( 'The open-source thread-plane for agents.' ) ;
5252 expect ( HERO_SUBHEAD ) . toBe (
53- 'Chat, durable threads, persistence, human approvals, and generative UI for Angular, on LangGraph and AG-UI. Your backend stays where it is .' ,
53+ 'Make agent work persistent, durable, visible, reviewable, and resumable .' ,
5454 ) ;
5555 expect ( HOME_TITLE ) . toBe ( 'Threadplane — The open-source thread-plane for agents' ) ;
5656 expect ( HOME_DESCRIPTION ) . toBe (
@@ -64,15 +64,15 @@ describe('positioning: hero copy', () => {
6464 expect ( HERO_H1_LINES . join ( ' ' ) ) . toBe ( HERO_H1 ) ;
6565 } ) ;
6666
67- it ( 'subhead segments join back to HERO_SUBHEAD, with exactly one highlight' , ( ) => {
68- // The segments exist only so Hero.tsx can marker-highlight one phrase.
69- // If they ever stop reassembling the source-of-truth string, the rendered
70- // subhead silently diverges from the copy every other surface quotes.
67+ it ( 'subhead segments preserve the copy and link each capability to its docs' , ( ) => {
7168 expect ( HERO_SUBHEAD_SEGMENTS . map ( ( s ) => s . text ) . join ( '' ) ) . toBe ( HERO_SUBHEAD ) ;
72- expect ( HERO_SUBHEAD_SEGMENTS . filter ( ( s ) => s . highlight ) ) . toHaveLength ( 1 ) ;
73- expect ( HERO_SUBHEAD_SEGMENTS . find ( ( s ) => s . highlight ) ?. text ) . toBe (
74- 'Your backend stays where it is.' ,
75- ) ;
69+ expect ( HERO_SUBHEAD_SEGMENTS . filter ( ( s ) => s . href ) ) . toEqual ( [
70+ { text : 'persistent' , href : '/docs/langgraph/guides/persistence' } ,
71+ { text : 'durable' , href : '/docs/langgraph/guides/persistence#choosing-a-checkpointer' } ,
72+ { text : 'visible' , href : '/docs/chat/components/chat-tool-calls' } ,
73+ { text : 'reviewable' , href : '/docs/langgraph/guides/interrupts' } ,
74+ { text : 'resumable' , href : '/docs/langgraph/guides/persistence#checkpoint-recovery' } ,
75+ ] ) ;
7676 } ) ;
7777
7878 it ( 'pins the hero action labels and the secondary destination' , ( ) => {
0 commit comments