Skip to content

Commit

Permalink
Merge pull request #324 from edgi-govdata-archiving/fixes
Browse files Browse the repository at this point in the history
Fixes for small UX issues, merge whenever
  • Loading branch information
Frijol authored Dec 28, 2021
2 parents 8bb844d + 0835edc commit 034d662
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/Head.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Head = ({pageTitle}) =>
<html lang="en" />
<title>{pageTitle} | Environmental Enforcement Watch</title>
<meta content='https://environmentalenforcementwatch.org/static/1c753d31dbdd94ab2b736e4da6ae656a/0a47e/eew-map.png' property="og:image" />
<meta property="og:description" content="A data accessibilty project from the Environmental Data Governance Initiative" />
<meta property="og:description" content="A data accessibility project from the Environmental Data & Governance Initiative" />

{/* Global site tag (gtag.js) - Google Analytics */}
<script
Expand Down
8 changes: 4 additions & 4 deletions src/helpers/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ export const HeaderLinks = [
url: "/data/reports",
},
{
text: "Notebooks",
text: "Research Notebooks",
url: "/data/notebooks",
},
{
text: "Research",
text: "Research Reports",
url: "/data/research",
},
{
Expand Down Expand Up @@ -125,11 +125,11 @@ export const DataPageSidebarLinks = [
url: "/data/reports",
},
{
text: "Notebooks",
text: "Research Notebooks",
url: "/data/notebooks",
},
{
text: "Research",
text: "Research Reports",
url: "/data/research",
},
{
Expand Down
2 changes: 2 additions & 0 deletions src/pages/about/funding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import EDGIperson from "../../images/funders-EDGIperson.png"

# Donors & Fundraising

Thank you to the generous donors who make this work possible!

<div className='row'>
<InfoCard
title="Volunteers"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/data/notebooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import crossprog from "../../images/notebooks-cross-program.png"

<Layout pageTitle="Notebooks" sidebarLinks={DataPageSidebarLinks} activeHeaderLink="Data">

# Notebooks
# Interactive Notebooks for Data Research

EEW's collection of publicly accessible Jupyter Notebooks are designed to help you ask questions beyond what's provided in our reports. Use these to generate graphs and interactive maps relevant to your geographies and questions!

Expand Down
5 changes: 4 additions & 1 deletion src/pages/data/research.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ import InfoCard from '../../components/InfoCard'
import { DataPageSidebarLinks } from '../../helpers/constants'
import democratizing from "../../images/research-democratizing.png"
import covid from "../../images/research-covid.jpg"
import { Link } from 'gatsby'

<Layout pageTitle="Research" sidebarLinks={DataPageSidebarLinks} activeHeaderLink="Data">

# Research
# Research reports

Reports by members of the Environmental Enforcement Watch (EEW), using the <Link to='/data/notebooks' rel='noreferrer noopener'>Notebooks</Link> and <Link to='/learn/events' rel='noreferrer noopener'>participatory knowledge-making</Link> that are core to EEW's process.

<div className='row'>
<InfoCard
Expand Down
5 changes: 3 additions & 2 deletions src/pages/learn/tutorials.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import intro from "../../images/tutorials-intro.png"
import jupyter from "../../images/tutorials-jupyter.png"
import watershed from "../../images/tutorials-watershed.png"
import watersheddoc from "../../images/tutorials-watersheddoc.png"
import { Link } from 'gatsby'

<Layout pageTitle="Tutorials" sidebarLinks={LearnPageSidebarLinks} activeHeaderLink="Learn">

# Tutorial videos
# Tutorials

We want to make environmental compliance data more accessible and useful through our Jupyter Notebooks and supplementing the numbers with community stories, compelling data visualizations, and contextual research.
We want to make environmental compliance data more accessible and useful through our <Link to='/data/notebooks' rel='noreferrer noopener'>Jupyter Notebooks</Link>, and by supplementing the numbers with community stories, compelling data visualizations, and contextual research.

<div className='row'>
<InfoCard
Expand Down
6 changes: 4 additions & 2 deletions src/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ form {
}
display: flex;
flex-direction: column;
gap: 15px;
gap: 15px;
div {
display: flex;
flex-direction: column;
Expand All @@ -227,7 +227,9 @@ form {
justify-content: center;
border-radius: 10px;
max-width: 200px;

p {
overflow-wrap: anywhere;
}
margin: 10px;
padding: 12px;
color: rgb(88, 87, 87);
Expand Down

0 comments on commit 034d662

Please sign in to comment.