This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e39d584
commit 7fb82ee
Showing
1 changed file
with
27 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,39 @@ | ||
import { Download } from "@mui/icons-material"; | ||
import { Box, Fab } from "@mui/material"; | ||
import { CloudChallengeResume } from "components/CloudChallengeResume"; | ||
import { useTitle } from "hooks"; | ||
import React from "react"; | ||
|
||
const fabStyle = { | ||
margin: 0, | ||
top: "auto", | ||
right: 20, | ||
bottom: 20, | ||
left: "auto", | ||
position: "fixed", | ||
}; | ||
|
||
/** | ||
* This Resume is, primarily in HTML and css as part of the cloud resume challenge. | ||
* @constructor | ||
*/ | ||
export function Resume() { | ||
// ToDo - Add a way to download PDF resume | ||
useTitle("Resume"); | ||
return <CloudChallengeResume />; | ||
return ( | ||
<Box p={2}> | ||
<CloudChallengeResume /> | ||
<Fab | ||
sx={fabStyle} | ||
color="success" | ||
variant="extended" | ||
href={`${ | ||
import.meta.env.VITE_SITE_URL | ||
}static/resume/DavidGrahamResume.pdf`} | ||
> | ||
<Download /> | ||
Download pdf | ||
</Fab> | ||
</Box> | ||
); | ||
} |