Skip to content

Commit 9fff94c

Browse files
authored
Merge pull request #168 from HackHPI/feature/button-improvements
changed button colors, added mail icon
2 parents ca9a33e + 6f1d78a commit 9fff94c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/Faq/Faq.jsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ import {
1616
useMediaQuery,
1717
useTheme
1818
} from "@mui/material";
19+
import MailIcon from "@mui/icons-material/mail";
1920
import React from "react";
20-
import {KeyboardArrowRight} from "@mui/icons-material";
21+
import {KeyboardArrowRight, MailOutline} from "@mui/icons-material";
2122
import {WindowCard} from "../WindowCard/WindowCard.jsx";
2223
import {Masonry} from "@mui/lab";
2324
import HackHPIWrapper from "../Theme/HackHPIWrapper.jsx";
@@ -160,7 +161,7 @@ export function Faq() {
160161
ask!</Typography>
161162
</CardContent>
162163
<CardActions>
163-
<Button size="small" color={"inherit"} href={"mailto:[email protected]"}>Contact us</Button>
164+
<Button sx={{ ml: 1, mb: 1 }} variant="contained" size="small" color="primary" href={"mailto:[email protected]"} startIcon={<MailOutline />}>Contact us</Button>
164165
</CardActions>
165166
</Card>
166167
</Stack>

src/components/Gallery/Gallery.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function Gallery() {
6161
{renderImages(secondImages, -150)}
6262
{renderImages(thirdImages, -200)}
6363
<Container sx={{display: "flex", justifyContent: "flex-end"}}>
64-
<Button color={"inherit"} sx={{mt: 3}} onClick={() => setIsGalleryOpen(true)}>View full Gallery</Button>
64+
<Button variant="contained" color={"primary"} sx={{mt: 3}} onClick={() => setIsGalleryOpen(true)}>View full Gallery</Button>
6565
</Container>
6666
<GalleryDialog isOpen={isGalleryOpen} onClose={() => setIsGalleryOpen(false)}/>
6767
</Box>

0 commit comments

Comments
 (0)