File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
import type { HeadFC , PageProps } from "gatsby" ;
2
2
import {
3
+ Anchor ,
3
4
Box ,
4
5
Heading ,
5
6
NameValueList ,
8
9
PageContent ,
9
10
Paragraph ,
10
11
} from "grommet" ;
12
+ import { Actions as ActionsIcon , Github as GithubIcon } from "grommet-icons" ;
11
13
import { Layout } from "../components/layout" ;
12
14
import type { ActionType } from "../types" ;
13
15
@@ -24,10 +26,31 @@ const ActionPage: React.FC<PageProps & Props> = ({ pageContext }) => {
24
26
< Layout >
25
27
< Page kind = "narrow" margin = { { vertical : "xlarge" } } >
26
28
< PageContent >
29
+ < Box direction = "row" gap = "medium" pad = { { bottom : "medium" } } >
30
+ < Anchor
31
+ href = { `https://github.com/marketplace/actions/${ name } ` }
32
+ target = "_blank"
33
+ rel = "noopener noreferrer"
34
+ as = "a"
35
+ label = "View action on Marketplace"
36
+ icon = { < ActionsIcon /> }
37
+ size = "small"
38
+ />
39
+ < Anchor
40
+ href = { `https://github.com/browser-actions/${ name } ` }
41
+ target = "_blank"
42
+ rel = "noopener noreferrer"
43
+ as = "a"
44
+ label = "View action on GitHub"
45
+ icon = { < GithubIcon /> }
46
+ size = "small"
47
+ />
48
+ </ Box >
49
+
27
50
< Heading level = "1" margin = "none" >
28
51
{ name }
29
52
</ Heading >
30
- < Paragraph > { action . description } </ Paragraph >
53
+ < Paragraph size = "large" > { action . description } </ Paragraph >
31
54
32
55
< Heading level = "2" > Inputs</ Heading >
33
56
{ action . inputs ? (
You can’t perform that action at this time.
0 commit comments