File tree Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -429,6 +429,12 @@ export const ItemModalContent = (props: Props) => {
429
429
</ ExternalLink >
430
430
</ Show >
431
431
432
+ < Show when = { ! isUndefined ( itemInfo ( ) ! . documentation_url ) } >
433
+ < ExternalLink title = "Documenation" class = { `ms-3 ${ Link } ` } href = { itemInfo ( ) ! . documentation_url ! } >
434
+ < SVGIcon kind = { SVGIconKind . Book } />
435
+ </ ExternalLink >
436
+ </ Show >
437
+
432
438
< Show when = { ! isUndefined ( itemInfo ( ) ! . package_manager_url ) } >
433
439
< ExternalLink
434
440
title = "Package manager"
Original file line number Diff line number Diff line change @@ -77,6 +77,21 @@ const Blog = (props: IconProps) => (
77
77
</ svg >
78
78
) ;
79
79
80
+ const Book = ( props : IconProps ) => (
81
+ < svg
82
+ class = { props . class }
83
+ stroke = "currentColor"
84
+ fill = "currentColor"
85
+ stroke-width = "0"
86
+ viewBox = "0 0 448 512"
87
+ height = "1em"
88
+ width = "1em"
89
+ xmlns = "http://www.w3.org/2000/svg"
90
+ >
91
+ < path d = "M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z" />
92
+ </ svg >
93
+ ) ;
94
+
80
95
const Calendar = ( props : IconProps ) => (
81
96
< svg
82
97
class = { props . class }
@@ -1153,6 +1168,7 @@ const icons: ValidComponent[] = [
1153
1168
ArrowTop ,
1154
1169
Artwork ,
1155
1170
Blog ,
1171
+ Book ,
1156
1172
Calendar ,
1157
1173
CaretDown ,
1158
1174
CaretLeft ,
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export interface Item extends BaseItem {
32
32
devstats_url ?: string ;
33
33
discord_url ?: string ;
34
34
docker_url ?: string ;
35
+ documentation_url ?: string ;
35
36
enduser ?: boolean ;
36
37
github_discussions_url ?: string ;
37
38
graduated_at ?: string ;
@@ -162,6 +163,7 @@ export enum SVGIconKind {
162
163
ArrowTop ,
163
164
Artwork ,
164
165
Blog ,
166
+ Book ,
165
167
Calendar ,
166
168
CaretDown ,
167
169
CaretLeft ,
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ export interface Item extends BaseItem {
100
100
devstats_url ?: string ;
101
101
discord_url ?: string ;
102
102
docker_url ?: string ;
103
+ documentation_url ?: string ;
103
104
enduser ?: boolean ;
104
105
github_discussions_url ?: string ;
105
106
graduated_at ?: string ;
You can’t perform that action at this time.
0 commit comments