-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Some clean up, added Spotify icon for offline/loading state * Minor clean up in Mobile view * Updating about text. * Fixing max width for the Tab Panel * P-18: fixed bug when type is not track * P-20: Add real time spotify streaming progress bar. (#21) * P-23: Added experience section. (#24) * P-26: Added placeholder projects section. (#27)
- Loading branch information
1 parent
51512e1
commit 20949c5
Showing
11 changed files
with
260 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
import { GitHub, OpenInNew } from "@mui/icons-material"; | ||
import { | ||
Box, | ||
Card, | ||
CardActions, | ||
CardContent, | ||
CardMedia, | ||
Chip, | ||
Typography, | ||
Stack, | ||
CardActionArea, | ||
IconButton, | ||
} from "@mui/material"; | ||
import { PROJECTS } from "../constants"; | ||
import { styled } from "@mui/system"; | ||
|
||
const StyledCard = styled(Card)(({ theme }) => ({ | ||
backgroundColor: theme.palette.primary.main, | ||
color: "info.main", | ||
padding: 16, | ||
flexGrow: 1, | ||
margin: 1, | ||
[theme.breakpoints.up("md")]: { | ||
maxWidth: 300, | ||
}, | ||
})); | ||
|
||
const iconButtonSize = { | ||
".MuiSvgIcon-root": { height: "2.5rem", width: "2.5rem" }, | ||
}; | ||
|
||
export default function Projects() { | ||
return ( | ||
<Stack | ||
flexDirection={["column", "column", "row"]} | ||
useFlexGap | ||
flexWrap="wrap" | ||
spacing={3} | ||
> | ||
{PROJECTS.map((project, index) => ( | ||
<StyledCard key={index}> | ||
<Box sx={{ display: "flex", flexDirection: "column" }}> | ||
<CardActionArea | ||
sx={{ opacity: 0.5, ":hover": { opacity: 1 } }} | ||
href={project.repoLink} | ||
target="_blank" | ||
> | ||
<CardMedia | ||
component="img" | ||
sx={{ height: 160, width: "max-content" }} | ||
image={project.img} | ||
title={project.title} | ||
/> | ||
</CardActionArea> | ||
<CardContent> | ||
<Typography | ||
gutterBottom | ||
variant="h5" | ||
component="div" | ||
color="secondary.main" | ||
> | ||
{project.title} | ||
</Typography> | ||
<Box marginY={2}> | ||
{project.tech.map((tech, index) => ( | ||
<Chip | ||
key={index} | ||
label={tech} | ||
variant="outlined" | ||
color="secondary" | ||
size="small" | ||
sx={{ margin: 0.5 }} | ||
/> | ||
))} | ||
</Box> | ||
<Typography variant="body1" color="info.main"> | ||
{project.description} | ||
</Typography> | ||
</CardContent> | ||
</Box> | ||
<CardActions disableSpacing> | ||
<IconButton | ||
component="a" | ||
target="_blank" | ||
aria-label={project.title} | ||
href={project.repoLink} | ||
color="secondary" | ||
rel="noopener noreferrer" | ||
sx={iconButtonSize} | ||
> | ||
<GitHub /> | ||
</IconButton> | ||
<IconButton | ||
component="a" | ||
target="_blank" | ||
aria-label={project.title} | ||
href={project.prodLink} | ||
color="secondary" | ||
rel="noopener noreferrer" | ||
sx={iconButtonSize} | ||
> | ||
<OpenInNew /> | ||
</IconButton> | ||
</CardActions> | ||
</StyledCard> | ||
))} | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export { default as About } from "./About"; | ||
export { default as Navigation } from "./Navigation"; | ||
export { default as Experience } from "./Experience"; | ||
export { default as Projects } from "./Projects"; | ||
export { default as SpotifyNowPlaying } from "./SpotifyNowPlaying"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export type Icon = { | ||
icon: React.ReactNode; | ||
link: string; | ||
label: string; | ||
}; |