Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: #1244 Added Resource Link #1246

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 20 additions & 8 deletions app/components/GuideModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import styles from "./guide-jss";
import { Link } from "@mui/material";

// const adminWrittenInstructionsLink = "https://docs.google.com/document/d/e/2PACX-1vT2ahP7U1gWS5ktfr7nG9CdH8cCazVo9qzOLHB5Ook2GhKD79GOWxRgvv-pOQRkIT1mogcAhzM8T5wE/pub"
const adminWrittenInstructionsLink =
"https://resources.massenergize.org/courses/admin-training";
const adminWrittenInstructionsLink = "https://resources.massenergize.org/courses/admin-training";
const adminVideoInstructionsLink = null;
const adminResourceCenterLink = "https://resources.massenergize.org/collections";

function Transition(props) {
return <Slide direction="up" {...props} />;
Expand Down Expand Up @@ -46,7 +46,7 @@ class GuideModal extends React.Component {
style={{
fontSize: "1.5rem",
fontWeight: "bold",
textAlign: "left",
textAlign: "left"
}}
>
Need Help
Expand All @@ -56,15 +56,27 @@ class GuideModal extends React.Component {
variant="body1"
style={{
margin: "10px 0px",
textAlign: "left",
textAlign: "left"
}}
>
Visit our Resource Center, check out the
Visit our{" "}
<Button
target="_blank"
style={{
textTransform: "capitalize",
fontSize: "1rem",
padding: "0px 5px"
}}
href={adminResourceCenterLink}
>
Resource Center,
</Button>
check out the
<Button
style={{
textTransform: "capitalize",
fontSize: "1rem",
padding: "2px 5px",
padding: "0px 5px"
}}
href={adminWrittenInstructionsLink}
target="_blank"
Expand All @@ -77,7 +89,7 @@ class GuideModal extends React.Component {
style={{
textTransform: "lowercase",
fontSize: "1rem",
padding: "2px 5px",
padding: "2px 5px"
}}
href={`mailto:[email protected]`}
target="_blank"
Expand Down Expand Up @@ -113,7 +125,7 @@ class GuideModal extends React.Component {
GuideModal.propTypes = {
openGuide: PropTypes.bool.isRequired,
closeGuide: PropTypes.func.isRequired,
classes: PropTypes.object.isRequired,
classes: PropTypes.object.isRequired
};

export default withStyles(styles, { withTheme: true })(GuideModal);