File tree Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 1515 uses : actions/setup-node@v4
1616 with :
1717 node-version : " 20.x"
18-
18+
1919 - name : Check Formatting
2020 run : |
2121 npm ci --ignore-scripts
Original file line number Diff line number Diff line change @@ -13,16 +13,22 @@ const chevronClass = "mb-0.5 h-3 text-color-dim inline-block";
1313const { entry, isPrev } = Astro .props ;
1414---
1515
16- { entry ? (
17- <a href = { ` /docs/${entry .id } ` } class = " no-underline text-sm md:text-base" >
18- { isPrev ? (
19- <ChevronRightIcon class = { ` ${chevronClass } rotate-180 ` } />
20- <b class = { textClass } >{ entry .data .title } </b >
21- ) : (
22- <b class = { textClass } >{ entry .data .title } </b >
23- <ChevronRightIcon class = { chevronClass } />
24- )}
25- </a >
26- ) : (
27- <div ></div >
28- )}
16+ {
17+ entry ? (
18+ <a href = { ` /docs/${entry .id } ` } class = " no-underline text-sm md:text-base" >
19+ { isPrev ? (
20+ <>
21+ <ChevronRightIcon class = { ` ${chevronClass } rotate-180 ` } />
22+ <b class = { textClass } >{ entry .data .title } </b >
23+ </>
24+ ) : (
25+ <>
26+ <b class = { textClass } >{ entry .data .title } </b >
27+ <ChevronRightIcon class = { chevronClass } />
28+ </>
29+ )}
30+ </a >
31+ ) : (
32+ <div />
33+ )
34+ }
You can’t perform that action at this time.
0 commit comments