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 15
15
uses : actions/setup-node@v4
16
16
with :
17
17
node-version : " 20.x"
18
-
18
+
19
19
- name : Check Formatting
20
20
run : |
21
21
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";
13
13
const { entry, isPrev } = Astro .props ;
14
14
---
15
15
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