File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed
website/src/components/ui/common Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,23 @@ export const Breadcrumbs = ({ path }: BreadcrumbsProps) => {
1717 </ a >
1818 </ li >
1919 { path . map ( ( item , idx ) => (
20- < div key = { item . route } >
20+ < li key = { item . route } class = "flex items-center" >
2121 < div class = "w-4 h-4 text-gray-400" >
2222 < ChevronRightIcon />
2323 </ div >
24- < li >
25- { idx === path . length - 1 ? (
26- < span class = "inline-flex items-center py-1 font-semibold text-gray-800 cursor-default" >
27- { item . title }
28- </ span >
29- ) : (
30- < a
31- href = { item . route }
32- class = "inline-flex items-center py-1 hover:text-gray-800 transition-colors focus:outline-none"
33- >
34- { item . title }
35- </ a >
36- ) }
37- </ li >
38- </ div >
24+ { idx === path . length - 1 ? (
25+ < span class = "inline-flex items-center py-1 font-semibold text-gray-800 cursor-default" >
26+ { item . title }
27+ </ span >
28+ ) : (
29+ < a
30+ href = { item . route }
31+ class = "inline-flex items-center py-1 hover:text-gray-800 transition-colors focus:outline-none"
32+ >
33+ { item . title }
34+ </ a >
35+ ) }
36+ </ li >
3937 ) ) }
4038 </ ol >
4139 </ nav >
You can’t perform that action at this time.
0 commit comments