UNCLASSIFIED

Commit efaa0fde authored by Ben Wynn's avatar Ben Wynn
Browse files

Merge pull request #52 in USAFHNI/digital-trinity from feature/various-04-13 to develop

* commit '79bbd3bf':
  Subtitle for about page
  Adding new link in footer plus icons
  Updating contact form classified warning message Fixing our programs link in footer Updating text in 404 Global heading size adjustments
parents 25045d53 79bbd3bf
...@@ -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>
} }
......
import React, { useContext } from 'react'; import React, { useContext } from 'react';
import { Box, ResponsiveContext } from 'grommet'; import { Box, ResponsiveContext } from 'grommet';
import { Share } from 'grommet-icons';
import { Container, Column } from '../layout'; import { Container, Column } from '../layout';
import { Link } from '../core'; import { Link } from '../core';
import AFLogo from '../../images/af-logo.svg'; import AFLogo from '../../images/af-logo.svg';
...@@ -29,19 +30,29 @@ const Footer = () => { ...@@ -29,19 +30,29 @@ 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"
> >
Our Other Programs Our Other Programs
</Link> </Link>
<Link
to="https://usaf.dps.mil/teams/EntInt/FrontDoor/SitePages/Home.aspx"
color="light-1"
size="small"
justify="center"
>
CCC IT/Cyber Services <Share size="small" />
</Link>
<Link <Link
to="https://www.wpafb.af.mil/Welcome/Fact-Sheets/Display/Article/835716/88-abw-freedom-of-information-act-foia-88-abw-installation-privacy-office/" to="https://www.wpafb.af.mil/Welcome/Fact-Sheets/Display/Article/835716/88-abw-freedom-of-information-act-foia-88-abw-installation-privacy-office/"
color="light-1" color="light-1"
size="small" size="small"
justify="center"
> >
FOIA FOIA <Share size="small" />
</Link> </Link>
</Box> </Box>
<Box <Box
......
...@@ -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>
......
--- ---
slug: '/about-us/' slug: '/about-us/'
title: About Us title: About Us
subtitle: AFLCMC / C3I&N subtitle: AFLCMC / HN C3I&N
description: Learn more about C3I&N's mission and our digital storefront. description: Learn more about C3I&N's mission and our digital storefront.
image: '../../images/detail-header.png' image: '../../images/detail-header.png'
--- ---
......
...@@ -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