File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ for (const page of pages) {
137137 assert . doesNotMatch ( html , / h t t p s : \/ \/ f o r m s \. g l e \/ E Q m W P 1 J W z D z r F j i 7 9 / ) ;
138138 assert . doesNotMatch ( html , / h t t p s : \/ \/ l i n k t r \. e e \/ c o m p b i o a t b e r k e l e y / ) ;
139139 assert . ok ( html . includes ( 'href="https://linktr.ee/UCB_CompBio"' ) ) ;
140+ assert . match ( html , / > J o i n U s < \/ a > / , `${ page . path } navigation must label the signup route “Join Us”` ) ;
140141 if ( page . path === "/" ) {
141142 assert . ok ( mainTextLength >= 2000 , `home SSR text must be substantial; received ${ mainTextLength } ` ) ;
142143 const contentEfficiency = visibleText ( html ) . length / html . length ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const quickLinks = [
77 { name : "calendar" , path : "/calendar/" } ,
88 { name : "collaborations" , path : "/collaborations/" } ,
99 { name : "officers" , path : "/officers/" } ,
10- { name : "sign up " , path : "/signup/" } ,
10+ { name : "Join Us " , path : "/signup/" } ,
1111 { name : "contact" , path : "/contact/" } ,
1212 { name : "privacy" , path : "/privacy/" } ,
1313 { name : "developers" , path : "/developers/" } ,
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ const Navigation = () => {
103103 aria-current = { isActive ( "/signup/" ) ? "page" : undefined }
104104 className = "rounded bg-primary px-3.5 py-2 text-xs font-bold text-primary-foreground transition-colors hover:bg-primary/90 hover:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background active:translate-y-px"
105105 >
106- sign up
106+ Join Us
107107 </ Link >
108108 </ div >
109109
@@ -121,7 +121,7 @@ const Navigation = () => {
121121
122122 { isOpen && (
123123 < div id = "mobile-navigation" className = "border-t border-border py-2 lg:hidden" >
124- { [ ...navItems , { name : "sign up " , path : "/signup/" } ] . map ( ( item ) => (
124+ { [ ...navItems , { name : "Join Us " , path : "/signup/" } ] . map ( ( item ) => (
125125 < Link
126126 key = { item . path }
127127 to = { item . path }
You can’t perform that action at this time.
0 commit comments