UNCLASSIFIED

Commit b7adc2c5 authored by Anne Demey's avatar Anne Demey
Browse files

Updating contact form classified warning message

Fixing our programs link in footer
Updating text in 404
Global heading size adjustments
parent 25045d53
...@@ -91,15 +91,11 @@ const ContactForm = ({ onClose, defaultService, ...rest }) => { ...@@ -91,15 +91,11 @@ const ContactForm = ({ onClose, defaultService, ...rest }) => {
in, and someone from our team will reach out soon. in, and someone from our team will reach out soon.
</Text> </Text>
<Text size="small" color="accent-1"> <Text size="small" color="accent-1">
Do not submit{' '} Do{' '}
<Text weight="bold" size="small" color="accent-1"> <Text weight="bold" size="small" color="accent-1">
classified not
</Text>{' '} </Text>{' '}
or{' '} submit classified or CUI data.
<Text weight="bold" size="small" color="accent-1">
CUI
</Text>{' '}
data.
</Text> </Text>
<Form onSubmit={handleSubmit} aria-live="assertive"> <Form onSubmit={handleSubmit} aria-live="assertive">
<FormField <FormField
...@@ -168,7 +164,7 @@ const ContactForm = ({ onClose, defaultService, ...rest }) => { ...@@ -168,7 +164,7 @@ const ContactForm = ({ onClose, defaultService, ...rest }) => {
<Text weight="bold" size="small"> <Text weight="bold" size="small">
Comments or details{' '} Comments or details{' '}
<Text weight="normal" size="small"> <Text weight="normal" size="small">
(optional) (optional, no classified or CUI data)
</Text> </Text>
</Text> </Text>
} }
......
...@@ -29,7 +29,7 @@ const Footer = () => { ...@@ -29,7 +29,7 @@ const Footer = () => {
About Us About Us
</Link> </Link>
<Link <Link
to="/our-other-programs/" to="/other-programs/"
color="light-1" color="light-1"
size="small" size="small"
weight="bold" weight="bold"
......
...@@ -29,7 +29,7 @@ const listQuery = graphql` ...@@ -29,7 +29,7 @@ const listQuery = graphql`
`; `;
const ServiceItem = ({ node, isMobile }) => ( const ServiceItem = ({ node, isMobile }) => (
<Box basis="1/2" pad={isMobile ? '0' : 'medium'}> <Box basis="1/2" pad={{ horizontal: isMobile ? '0' : 'medium' }}>
<Heading level={4}>{node.frontmatter.title}</Heading> <Heading level={4}>{node.frontmatter.title}</Heading>
<Classification <Classification
levels={node.frontmatter.levels} levels={node.frontmatter.levels}
...@@ -63,7 +63,7 @@ const ServiceList = ({ categories }) => { ...@@ -63,7 +63,7 @@ const ServiceList = ({ categories }) => {
const isMobile = ['xsmall', 'small'].includes(size); const isMobile = ['xsmall', 'small'].includes(size);
return ( return (
<Box pad={{ vertical: 'large' }} id="main-content"> <Box pad={{ vertical: 'large' }} id="main-content" gap="large">
{catGroup.map((group, i) => ( {catGroup.map((group, i) => (
<Box key={categories[i]} gap="small"> <Box key={categories[i]} gap="small">
{categories.length > 1 && ( {categories.length > 1 && (
...@@ -71,7 +71,12 @@ const ServiceList = ({ categories }) => { ...@@ -71,7 +71,12 @@ const ServiceList = ({ categories }) => {
<Column> <Column>
<Box direction="row" align="center" gap="small"> <Box direction="row" align="center" gap="small">
{!isMobile && <DtSquare color="black" size="small" />} {!isMobile && <DtSquare color="black" size="small" />}
<Heading level={2}>{categories[i]}</Heading> <Heading
level={2}
margin={{ vertical: isMobile ? 'medium' : '0' }}
>
{categories[i]}
</Heading>
</Box> </Box>
</Column> </Column>
</Container> </Container>
......
...@@ -9,9 +9,7 @@ const NotFoundPage = () => ( ...@@ -9,9 +9,7 @@ const NotFoundPage = () => (
<Container> <Container>
<Column> <Column>
<Heading>404: Not Found</Heading> <Heading>404: Not Found</Heading>
<Paragraph> <Paragraph>You just hit a route that doesn&#39;t exist.</Paragraph>
You just hit a route that doesn&#39;t exist... the sadness.
</Paragraph>
</Column> </Column>
</Container> </Container>
</AppLayout> </AppLayout>
......
...@@ -119,7 +119,19 @@ export const themeOverrides = { ...@@ -119,7 +119,19 @@ export const themeOverrides = {
textTransform: 'uppercase', textTransform: 'uppercase',
}, },
level: { level: {
3: { font: { family: helveticaFont } }, 2: {
medium: {
size: '30px',
height: '32px',
},
},
3: {
font: { family: helveticaFont },
medium: {
size: '22px',
height: '26px',
},
},
4: { font: { family: helveticaFont } }, 4: { font: { family: helveticaFont } },
5: { font: { family: helveticaFont } }, 5: { font: { family: helveticaFont } },
6: { font: { family: helveticaFont } }, 6: { font: { family: helveticaFont } },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment