File tree Expand file tree Collapse file tree 4 files changed +13
-12
lines changed
app/[lang]/[[...mdxPath]] Expand file tree Collapse file tree 4 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ name: Setup project dependencies
2
2
3
3
description : " Setup project dependencies"
4
4
5
- env :
6
- HUSKY : 0
7
-
8
5
runs :
9
6
using : " composite"
10
7
steps :
Original file line number Diff line number Diff line change 17
17
issues : write
18
18
19
19
steps :
20
- - uses : actions/checkout@v4
20
+ - name : Checkout
21
+ uses : actions/checkout@v4
21
22
22
23
- name : Link Checker
23
24
id : lychee
Original file line number Diff line number Diff line change @@ -16,14 +16,17 @@ jobs:
16
16
pull-requests : write
17
17
18
18
steps :
19
- - uses : actions/checkout@v4
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
20
21
with :
21
22
token : ${{ secrets.PAT_TOKEN }}
22
23
23
24
- name : Set up Node.js
24
25
uses : actions/setup-node@v4
25
26
with :
26
27
node-version : " 20"
28
+ - name : Install dependencies
29
+ uses : ./.github/actions/install
27
30
28
31
- name : Update README
29
32
run : node scripts/update-patterns-list.js
Original file line number Diff line number Diff line change 1
1
/* eslint-disable react-hooks/rules-of-hooks -- false positive, useMDXComponents are not react hooks */
2
2
3
- import { SuggestPattern } from '@/app/_components/suggest-pattern'
4
3
import { BASE_URL } from '@/app/_constants/project'
5
4
import { JsonLd , generateArticleSchema } from '@app/_components/json-ld'
6
5
import { generateBreadcrumbSchema } from '@app/_utils/generate-breadcrumb-schema'
@@ -91,13 +90,14 @@ export default async function Page(props: PageProps) {
91
90
const pageKey = `${ params . lang } -${ params . mdxPath ?. join ( '-' ) || 'home' } `
92
91
93
92
return (
94
- < div className = "nextra-content" >
93
+ < >
95
94
< JsonLd data = { schemaData } />
96
95
< JsonLd data = { breadcrumbSchema } />
97
- < Wrapper key = { pageKey } toc = { toc } metadata = { metadata } >
98
- < MDXContent { ...props } params = { params } />
99
- { ! isHomepage && < SuggestPattern /> }
100
- </ Wrapper >
101
- </ div >
96
+ < div className = "nextra-content" >
97
+ < Wrapper key = { pageKey } toc = { toc } metadata = { metadata } >
98
+ < MDXContent { ...props } params = { params } />
99
+ </ Wrapper >
100
+ </ div >
101
+ </ >
102
102
)
103
103
}
You can’t perform that action at this time.
0 commit comments