Skip to content

Commit 938fd9b

Browse files
committed
updated EnvModal
1 parent 2483c09 commit 938fd9b

2 files changed

Lines changed: 14 additions & 12 deletions

File tree

app/modals/EnvModal/EnvModal.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,32 @@
55
}
66

77
.env-button {
8-
background-color: transparent;
8+
background-color: rgb(201, 198, 198);
99
border: 0;
1010
outline: none;
1111
white-space: nowrap;
1212
margin: 10px;
1313
// padding: 0px;
14-
color: $gblue !important;
14+
color: white;
1515
box-shadow: $boxshadow;
1616
padding: 2rem;
1717
&:hover {
18-
background-color: $lightpurple;
18+
background-color: $gblue;
1919
}
2020
}
2121

2222
.env-button2 {
23-
background-color: transparent;
23+
background-color: rgb(201, 198, 198);
2424
border: 0;
2525
outline: none;
2626
white-space: nowrap;
2727
margin: 10px;
2828
// padding: 0px;
29-
color: $gblue !important;
29+
color: white;
3030
box-shadow: $boxshadow;
3131
padding: 2rem;
3232
&:hover {
33-
background-color: $lightpurple;
33+
background-color: $gblue;
3434
}
3535
}
3636

@@ -41,3 +41,4 @@ p {
4141
#card-env {
4242
margin: 40px 20px;
4343
}
44+

app/modals/EnvModal/EnvModal.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,27 @@ const EnvModal: React.FC<TModalSetter> = React.memo(
1111
<div className="add-container">
1212

1313
<div className="card" id="card-env">
14-
<button
14+
<Button
1515
className="env-button"
1616
onClick={() => setModal({isOpen:true,type:'awsModal'})}
17+
1718
>
1819
<Typography>
1920
<CloudQueue fontSize="large" />
2021
</Typography>
21-
<Typography>Cloud-Based</Typography>
22-
</button>
22+
<Typography>&emsp;Cloud-Based</Typography>
23+
</Button>
2324

2425

25-
<button
26+
<Button
2627
className="env-button2"
2728
onClick={() => setModal({isOpen:true,type:'addModal'})}
2829
>
2930
<Typography>
3031
<Computer fontSize="large" />
3132
</Typography>
32-
<Typography>Local Hosted</Typography>
33-
</button>
33+
<Typography>&emsp;Local Hosted</Typography>
34+
</Button>
3435
</div>
3536
</div>
3637
);

0 commit comments

Comments
 (0)