mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-29 16:41:17 -07:00
Site content and style update for sprint2/3 (#279)
* add legend and styling for map page * update header to latest style/content * add contact page * add methodology page #199 and #200
This commit is contained in:
parent
00fd51de8b
commit
f4f7c35ca8
8 changed files with 202 additions and 74 deletions
|
@ -1,7 +1,6 @@
|
|||
import * as React from 'react';
|
||||
import Layout from '../components/layout';
|
||||
|
||||
// import {GridContainer, Grid} from '@trussworks/react-uswds';
|
||||
|
||||
// this section seems too verbose? must be a more readable way to do this.
|
||||
// this inlines the svg as data:image/svg+xml For larger images this
|
||||
|
@ -18,7 +17,8 @@ import pollutionIcon // @ts-ignore
|
|||
from '/node_modules/uswds/dist/img/usa-icons/severe_weather.svg';
|
||||
// @ts-ignore
|
||||
import washIcon from '/node_modules/uswds/dist/img/usa-icons/wash.svg';
|
||||
|
||||
// @ts-ignore
|
||||
import publicIcon from '/node_modules/uswds/dist/img/usa-icons/public.svg';
|
||||
|
||||
interface IndexPageProps {
|
||||
location: Location;
|
||||
|
@ -27,6 +27,7 @@ interface IndexPageProps {
|
|||
// markup
|
||||
const IndexPage = ({location}: IndexPageProps) => {
|
||||
const readMoreList: (any | string)[][] = [
|
||||
[publicIcon, 'Climate change'],
|
||||
[ecoIcon, 'Clean energy and energy efficiency'],
|
||||
[busIcon, 'Clean transit'],
|
||||
[homeIcon, 'Affordable and sustainable housing'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue