File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 - title : Approach
66 - title : Options
77 - title : Tokens
8- draft : true
8+ coming_soon : true
99 - title : Color palette
1010 - title : Color modes
1111 - title : CSS variables
1212 - title : Reboot
1313 - title : Typography
1414 - title : Images
15- draft : true
15+ coming_soon : true
1616 - title : Figures
17- draft : true
17+ coming_soon : true
1818 - title : Component
1919 - title : Form validation
Original file line number Diff line number Diff line change @@ -76,23 +76,20 @@ const sidebar = sidebarMap[slug] ? getData(`sidebar-${sidebarMap[slug]}`) : []
7676 class :list = { [
7777 ' bd-links-link' ,
7878 ' d-inline-flex' ,
79- ' row -gap-2xsmall' ,
79+ ' column -gap-2xsmall' ,
8080 ' align-items-center' ,
8181 { active },
8282 { ' text-decoration-line-through' : page .coming_soon }
8383 ]}
8484 aria-current = { active ? ' page' : undefined }
85+ title = { page .draft ? ' draft component' : page .coming_soon ? ' page is not yet available' : null }
8586 >
86- { page .title } { ' ' }
87+ { page .title }
8788 { page .draft && (
88- <>
89- <svg width = " 1rem" height = " 1rem" aria-hidden = " true" >
90- <use xlink :href = { getVersionedDocsPath (' assets/img/ouds-web-sprite.svg#traffic-cone' )} />
91- </svg >
92- <span class = " visually-hidden" >draft component</span >
93- </>
89+ <svg width = " 1rem" height = " 1rem" aria-hidden = " true" >
90+ <use xlink :href = { getVersionedDocsPath (' assets/img/ouds-web-sprite.svg#traffic-cone' )} />
91+ </svg >
9492 )}
95- { page .coming_soon && <span class = " visually-hidden" >page is not yet available</span >}
9693 </a >
9794 </li >
9895 )
You can’t perform that action at this time.
0 commit comments