@@ -4,25 +4,44 @@ import {
4
4
Route ,
5
5
Link
6
6
} from "react-router-dom" ;
7
+ import Button from "@mui/material/Button" ;
8
+ import { BsArrowReturnLeft , BsFonts , BsKeyboard , BsRocketTakeoff } from "react-icons/bs"
7
9
import './CreateActions.css' ;
8
10
11
+
9
12
export const CreateActions = ( ) => {
10
13
return (
11
14
< >
12
15
{ /* Display a heading */ }
13
16
< h1 className = "m-2" > Select an action</ h1 >
14
17
15
18
{ /* Link to the "Word Detection" page */ }
16
- < Link className = "m-6" to = "/actions-reactions/word-detection" > Word Detection</ Link >
19
+ < Link className = "m-6" to = "/actions-reactions/word-detection" >
20
+ < Button variant = "contained" size = "large" startIcon = { < BsFonts /> } color = "warning" >
21
+ Word Detection
22
+ </ Button >
23
+ </ Link >
17
24
18
25
{ /* Link to the "Key Pressed" page */ }
19
- < Link className = "m-6" to = "/actions-reactions/key-pressed" > Key Pressed</ Link >
26
+ < Link className = "m-6" to = "/actions-reactions/key-pressed" >
27
+ < Button variant = "contained" size = "large" startIcon = { < BsKeyboard /> } color = "warning" >
28
+ Key Pressed
29
+ </ Button >
30
+ </ Link >
20
31
21
32
{ /* Link to the "App Launch" page */ }
22
- < Link className = "m-6" to = "/actions-reactions/app-launch" > App Launch</ Link >
33
+ < Link className = "m-6" to = "/actions-reactions/app-launch" >
34
+ < Button variant = "contained" size = "large" startIcon = { < BsRocketTakeoff /> } color = "warning" >
35
+ App Launch
36
+ </ Button >
37
+ </ Link >
23
38
24
39
{ /* Link to go back to the home page */ }
25
- < Link className = "go-back-link" to = "/actions-reactions/home" > Go Back</ Link >
40
+ < Link className = "go-back-link" to = "/actions-reactions/home" >
41
+ < Button variant = "outlined" startIcon = { < BsArrowReturnLeft /> } color = "info" >
42
+ Go Back
43
+ </ Button >
44
+ </ Link >
26
45
</ >
27
46
) ;
28
47
}
0 commit comments