UNCLASSIFIED

Commit 1b05da79 authored by Anne Demey's avatar Anne Demey
Browse files

Adding new logos and lings to footers

Updates to some hero logo images
A11y titles for hero logo images
Lines for home step component
parent 58dbdc47
...@@ -4,6 +4,7 @@ import { Container, Column } from '../layout'; ...@@ -4,6 +4,7 @@ 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';
import C3Logo from '../../images/c3.png'; import C3Logo from '../../images/c3.png';
import AFMCLogo from '../../images/AFMC.png';
const Footer = () => { const Footer = () => {
const size = useContext(ResponsiveContext); const size = useContext(ResponsiveContext);
...@@ -18,29 +19,55 @@ const Footer = () => { ...@@ -18,29 +19,55 @@ const Footer = () => {
justify="between" justify="between"
direction={isMobile ? 'column' : 'row'} direction={isMobile ? 'column' : 'row'}
gap="large" gap="large"
aria-hidden="true"
> >
<Box <Box
gap="medium" gap="small"
justify="center" justify="start"
align={isMobile ? 'center' : 'start'} align={isMobile ? 'center' : 'start'}
> >
<Link to="/about-us/" color="light-1" size="small" weight="bold"> <Link to="/about-us/" color="light-1" size="small" weight="bold">
About Us About Us
</Link> </Link>
<Link
to="/our-other-programs/"
color="light-1"
size="small"
weight="bold"
>
Our Other Programs
</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/"
color="light-1"
size="small"
>
FOIA
</Link>
</Box> </Box>
<Box <Box
direction={isMobile ? 'column' : 'row'} direction={isMobile ? 'column' : 'row'}
gap="medium" gap="medium"
align="center" align="center"
> >
<img <Link to="https://www.aflcmc.af.mil/WELCOME/Organizations/Command-Control-Communications-Intelligence-Networks-Directorate/">
src={C3Logo} <img
width="117" src={C3Logo}
height="117" width="117"
alt="C3I & Networks Directorate logo" height="117"
/> alt="C3I & Networks Directorate"
<AFLogo height="117" /> />
</Link>
<Link to="https://www.afmc.af.mil/">
<img
src={AFMCLogo}
width="117"
height="117"
alt="Air Force Material Command"
/>
</Link>
<Link to="https://www.af.mil/">
<AFLogo height="117" width="150" />
</Link>
</Box> </Box>
</Box> </Box>
</Column> </Column>
......
...@@ -84,7 +84,8 @@ const Slide = ({ title, subtitle, core, cta, slug, logo, isMobile, size }) => { ...@@ -84,7 +84,8 @@ const Slide = ({ title, subtitle, core, cta, slug, logo, isMobile, size }) => {
<Box style={{ maxWidth: '600px', maxHeight: '250px' }}> <Box style={{ maxWidth: '600px', maxHeight: '250px' }}>
<Img <Img
fluid={logo.childImageSharp.fluid} fluid={logo.childImageSharp.fluid}
imgStyle={{ objectFit: 'contain' }} imgStyle={{ objectFit: 'contain', objectPosition: '0 50%' }}
alt={title}
/> />
</Box> </Box>
)} )}
...@@ -253,7 +254,7 @@ const Hero = () => { ...@@ -253,7 +254,7 @@ const Hero = () => {
return ( return (
<Box <Box
height="85vh" height="85vh"
style={{ position: 'relative', minHeight: '500px' }} style={{ position: 'relative', minHeight: '680px' }}
background="brand" background="brand"
> >
<Container fill="vertical"> <Container fill="vertical">
......
...@@ -56,7 +56,11 @@ const ServiceCatHero = ({ title, description, imageFluid, iconName }) => { ...@@ -56,7 +56,11 @@ const ServiceCatHero = ({ title, description, imageFluid, iconName }) => {
{title} {title}
</Heading> </Heading>
<Box width={isMobile ? 'auto' : '500px'}> <Box width={isMobile ? 'auto' : '500px'}>
{description && <Markdown>{description}</Markdown>} {description && (
<Markdown size="small" margin="0">
{description}
</Markdown>
)}
</Box> </Box>
</Box> </Box>
{!isMobile && ( {!isMobile && (
...@@ -67,7 +71,7 @@ const ServiceCatHero = ({ title, description, imageFluid, iconName }) => { ...@@ -67,7 +71,7 @@ const ServiceCatHero = ({ title, description, imageFluid, iconName }) => {
gap="medium" gap="medium"
flex={{ grow: 1 }} flex={{ grow: 1 }}
> >
<IconComponent size="300" color={isMobile ? 'dark-4' : 'white'} /> <IconComponent size="200" color={isMobile ? 'dark-4' : 'white'} />
</Box> </Box>
)} )}
</Box> </Box>
......
...@@ -2,63 +2,76 @@ import React, { useContext } from 'react'; ...@@ -2,63 +2,76 @@ import React, { useContext } from 'react';
import { Box, Text, ResponsiveContext } from 'grommet'; import { Box, Text, ResponsiveContext } from 'grommet';
import { DtHex } from '../../icons'; import { DtHex } from '../../icons';
const Step = ({ number, isMobile, children }) => ( const Step = ({ number, isMobile, children }) => {
<Box style={{ position: 'relative' }}> const hzLineStyle = { position: 'absolute', top: '32px', width: '100%' };
{/* TODO: Add this line const vtLineStyle = { position: 'absolute', left: '45px', height: '100%' };
<Box if (number === 1) {
height="1px" hzLineStyle.left = '50%';
background="dark-1" hzLineStyle.width = '50%';
width="100%" vtLineStyle.top = '50%';
style={{ position: 'absolute', top: '32px' }} vtLineStyle.height = '50%';
/> */} }
<Box if (number === 4) {
basis="1/4" hzLineStyle.right = '50%';
pad={{ horizontal: 'small' }} hzLineStyle.width = '50%';
align="center" vtLineStyle.bottom = '50%';
direction={isMobile ? 'row' : 'column'} vtLineStyle.height = '50%';
gap="medium" }
> return (
<Box style={{ position: 'relative' }}>
{!isMobile && (
<Box height="1px" background="light-1" style={hzLineStyle} />
)}
{isMobile && <Box width="1px" background="light-1" style={vtLineStyle} />}
<Box <Box
height="65px" basis="1/4"
width="80px" pad={{ horizontal: 'small', vertical: isMobile ? 'medium' : '0' }}
flex={{ shrink: 0 }}
style={{ position: 'relative' }}
align="center" align="center"
justify="center" direction={isMobile ? 'row' : 'column'}
gap="medium"
> >
<Text <Box
size="xlarge" height="65px"
weight="bold" width="80px"
color="accent-2" flex={{ shrink: 0 }}
style={{ zIndex: 2 }} style={{ position: 'relative' }}
align="center"
justify="center"
> >
{number} <Text
</Text> size="xlarge"
<DtHex weight="bold"
color="accent-2" color="accent-2"
size="65" style={{ zIndex: 2 }}
style={{ >
position: 'absolute', {number}
top: '50%', </Text>
zIndex: 0, <DtHex
transform: 'translateY(-50%)', color="accent-2"
}} size="65"
/> style={{
<DtHex position: 'absolute',
color="black" top: '50%',
size="59" zIndex: 0,
style={{ transform: 'translateY(-50%)',
position: 'absolute', }}
top: '50%', />
zIndex: 0, <DtHex
transform: 'translateY(-50%)', color="black"
}} size="59"
/> style={{
position: 'absolute',
top: '50%',
zIndex: 0,
transform: 'translateY(-50%)',
}}
/>
</Box>
<Box align="center">{children}</Box>
</Box> </Box>
<Box align="center">{children}</Box>
</Box> </Box>
</Box> );
); };
const Steps = () => { const Steps = () => {
const size = useContext(ResponsiveContext); const size = useContext(ResponsiveContext);
...@@ -70,7 +83,6 @@ const Steps = () => { ...@@ -70,7 +83,6 @@ const Steps = () => {
direction={isMobile ? 'column' : 'row'} direction={isMobile ? 'column' : 'row'}
width={isMobile ? 'medium' : 'large'} width={isMobile ? 'medium' : 'large'}
pad={{ vertical: 'large' }} pad={{ vertical: 'large' }}
gap={isMobile ? 'large' : 'none'}
> >
<Step number={1} isMobile={isMobile}> <Step number={1} isMobile={isMobile}>
<Text size="small" textAlign={isMobile ? 'start' : 'center'}> <Text size="small" textAlign={isMobile ? 'start' : 'center'}>
......
name: Summit name: SEITaaS Summit
title: Summit title: SEITaaS Summit
subtitle: SAP network-as-a-service subtitle: SAP network-as-a-service
core: true core: true
cta: Learn More cta: Learn More
......
<svg id="AF_LOGO" data-name="AF LOGO" xmlns="http://www.w3.org/2000/svg" width="189.115" height="147.431" viewBox="0 0 189.115 147.431" role="img"> <svg id="AF_LOGO" data-name="AF LOGO" xmlns="http://www.w3.org/2000/svg" width="189.115" height="147.431" viewBox="0 0 189.115 147.431" role="img">
<title>U.S Air Force logo</title> <title>U.S Air Force</title>
<g id="Group_50" data-name="Group 50" transform="translate(31.865)"> <g id="Group_50" data-name="Group 50" transform="translate(31.865)">
<path id="Path_501" data-name="Path 501" d="M-449.651,114.53l-11.987,8.708,14.6,10.606,4.577-14.09Z" transform="translate(495.628 -32.302)" fill="#fff"/> <path id="Path_501" data-name="Path 501" d="M-449.651,114.53l-11.987,8.708,14.6,10.606,4.577-14.09Z" transform="translate(495.628 -32.302)" fill="#fff"/>
<path id="Path_502" data-name="Path 502" d="M-429.749,146.409l11.986,8.707,11.979-8.707-11.979-8.711Z" transform="translate(480.491 -43.299)" fill="#fff"/> <path id="Path_502" data-name="Path 502" d="M-429.749,146.409l11.986,8.707,11.979-8.707-11.979-8.711Z" transform="translate(480.491 -43.299)" fill="#fff"/>
......
src/images/hero/logo-dep.png

9.68 KB | W: | H:

src/images/hero/logo-dep.png

21.2 KB | W: | H:

src/images/hero/logo-dep.png
src/images/hero/logo-dep.png
src/images/hero/logo-dep.png
src/images/hero/logo-dep.png
  • 2-up
  • Swipe
  • Onion skin
src/images/hero/logo-platform-one.png

19.7 KB | W: | H:

src/images/hero/logo-platform-one.png

65.3 KB | W: | H:

src/images/hero/logo-platform-one.png
src/images/hero/logo-platform-one.png
src/images/hero/logo-platform-one.png
src/images/hero/logo-platform-one.png
  • 2-up
  • Swipe
  • Onion skin
src/images/hero/thumb-home.png

22.5 KB | W: | H:

src/images/hero/thumb-home.png

57.5 KB | W: | H:

src/images/hero/thumb-home.png
src/images/hero/thumb-home.png
src/images/hero/thumb-home.png
src/images/hero/thumb-home.png
  • 2-up
  • Swipe
  • Onion skin
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