Skip to content

Commit

Permalink
Faq (#287)
Browse files Browse the repository at this point in the history
* add links to insident handbook

* bug fix: script hangs after first table created
  • Loading branch information
wanpengyang authored Oct 6, 2023
1 parent 9689e8b commit c8166cd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/dynamodb-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ create_table() {
--attribute-definitions AttributeName=id,AttributeType=S \
--key-schema AttributeName=id,KeyType=HASH \
--provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1 \
--endpoint-url http://dynamodb-local:8000
--endpoint-url http://dynamodb-local:8000 \
--no-cli-pager
fi
}

Expand Down
32 changes: 25 additions & 7 deletions frontend/src/scenes/faq/index.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
import { Box } from "@mui/material";
import { Box, List, ListItem, ListItemButton, ListItemIcon, ListItemText, Typography } from "@mui/material";
import { Book } from "@mui/icons-material";
import Header from "../../components/Header";


const Faq = () => {
return (
<Box m="20px">
<Box display="flex" justifyContent="space-between" alignItems="center">
<Header title="FAQ" subtitle="Frequently Asked Questions section."/>
</Box>
</Box>
)};
<Box display="flex" justifyContent="space-between" alignItems="center">
<Header title="FAQ" subtitle="Frequently Asked Questions section." />
</Box>
<Box>
<Typography variant="h3">Incident Management</Typography>
<List>
<ListItemButton component="a" href="https://articles.alpha.canada.ca/cds-intranet-employee-guide/incident-management-handbook/incident-response-runbook/" target="_blank" rel="noopener noreferrer">
<ListItemIcon>
<Book />
</ListItemIcon>
<ListItemText primaryTypographyProps={{ variant: "h4" }} primary="Incident Response Runbook" />
</ListItemButton>
<ListItemButton component="a" href="https://articles.alpha.canada.ca/cds-intranet-employee-guide/incident-management-handbook/" target="_blank" rel="noopener noreferrer" >
<ListItemIcon>
<Book />
</ListItemIcon>
<ListItemText primaryTypographyProps={{ variant: "h4" }} primary="Incident Management Handbook" />
</ListItemButton>
</List>
</Box>
</Box>
);
};

export default Faq;

0 comments on commit c8166cd

Please sign in to comment.