@@ -40,37 +40,28 @@ function DocCategoryGeneratedIndexPageContent({
40
40
} : Props ) : JSX . Element {
41
41
const category = useCurrentSidebarCategory ( ) ;
42
42
return (
43
- < >
44
- < PageMetadata
45
- title = { categoryGeneratedIndex . title }
46
- description = { categoryGeneratedIndex . description }
47
- keywords = { categoryGeneratedIndex . keywords }
48
- // TODO `require` this?
49
- image = { useBaseUrl ( categoryGeneratedIndex . image ) }
50
- />
51
- < div className = { styles . generatedIndexPage } >
52
- < DocVersionBanner />
53
- < DocBreadcrumbs />
54
- < DocVersionBadge />
55
- < header >
56
- < Heading as = "h1" className = { styles . title } >
57
- { categoryGeneratedIndex . title }
58
- </ Heading >
59
- { categoryGeneratedIndex . description && (
60
- < p > { categoryGeneratedIndex . description } </ p >
61
- ) }
62
- </ header >
63
- < article className = "margin-top--lg" >
64
- < DocCardList items = { category . items } className = { styles . list } />
65
- </ article >
66
- < footer className = "margin-top--lg" >
67
- < DocPaginator
68
- previous = { categoryGeneratedIndex . navigation . previous }
69
- next = { categoryGeneratedIndex . navigation . next }
70
- />
71
- </ footer >
72
- </ div >
73
- </ >
43
+ < div className = { styles . generatedIndexPage } >
44
+ < DocVersionBanner />
45
+ < DocBreadcrumbs />
46
+ < DocVersionBadge />
47
+ < header >
48
+ < Heading as = "h1" className = { styles . title } >
49
+ { categoryGeneratedIndex . title }
50
+ </ Heading >
51
+ { categoryGeneratedIndex . description && (
52
+ < p > { categoryGeneratedIndex . description } </ p >
53
+ ) }
54
+ </ header >
55
+ < article className = "margin-top--lg" >
56
+ < DocCardList items = { category . items } className = { styles . list } />
57
+ </ article >
58
+ < footer className = "margin-top--lg" >
59
+ < DocPaginator
60
+ previous = { categoryGeneratedIndex . navigation . previous }
61
+ next = { categoryGeneratedIndex . navigation . next }
62
+ />
63
+ </ footer >
64
+ </ div >
74
65
) ;
75
66
}
76
67
0 commit comments