Skip to content

Commit

Permalink
Add Press info link to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Jan 11, 2024
1 parent a1b9d3b commit 4210d7d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
Empty file.
9 changes: 3 additions & 6 deletions custom-pages/learn/component.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import React from "$veda-ui/react";
import styled from "$veda-ui/styled-components";
import { glsp, media } from "$veda-ui/@devseed-ui/theme-provider";
import { Fold, FoldBody } from "$veda-ui-scripts/components/common/fold";
import { glsp } from "$veda-ui/@devseed-ui/theme-provider";
import {
Card,
CardList,
CardTopicsList
Card
} from "$veda-ui-scripts/components/common/card";

import {
Expand All @@ -18,7 +15,7 @@ import { ContinuumScrollIndicator } from '$veda-ui-scripts/styles/continuum/cont
import { useReactIndianaScrollControl } from '$veda-ui-scripts/styles/continuum/use-react-indiana-scroll-controls';
import { continuumFoldStartCols } from '$veda-ui-scripts/components/common/featured-slider-section'
import { Pill } from '$veda-ui-scripts/styles/pill';
import AnchorScroll from './AnchorScroll'


export const continuumFoldSpanCols = {
smallUp: 1,
Expand Down
9 changes: 4 additions & 5 deletions custom-pages/learn/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ description: "
"
---

import AnchorScroll from "./AnchorScroll";
import { NewsComponent, EventsComponent } from './component'
import { EventsComponent } from './component'
import { NEWS_ITEMS, EVENT_ITEMS } from './learn-page-content'

import AnchorScroll from './AnchorScroll'

<AnchorScroll />
<Block >
Expand Down Expand Up @@ -76,7 +75,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vel nunc mauris

<Block>
<Prose>
## Press Information
<h2 id="press"> Press Information </h2>
The U.S. Greenhouse Gas Center is a multi-agency effort to provide researchers, climate change mitigation practitioners, policymakers, data service providers, and concerned citizens with trusted data on greenhouse gases.

For Media Inquiries, contact Aries Keck, NASA Communications, [email protected], 202-604-2356.
Expand All @@ -90,7 +89,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vel nunc mauris

<Block>
<Prose>
## What Else Do You Need? Let Us Help You!
What Else Do You Need? Let Us Help You!
Do you have a need, idea, or suggestion? Contact the US GHG Center team using the "Contact Us" button on the top of this page.
</Prose>
</Block>
5 changes: 5 additions & 0 deletions overrides/components/page-footer/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import { useFeedbackModal } from "$veda-ui-scripts/components/common/layout-root
import { useMediaQuery } from "$veda-ui-scripts/utils/use-media-query";
import Partners from "../../home/partners";

const PRESS_PATH = '/learn#press';

const FooterInner = styled.div`
display: flex;
flex-flow: column;
Expand Down Expand Up @@ -260,6 +262,9 @@ export default function PageFooter(props) {
<li>
<FooterMenuLink to={ABOUT_PATH}>About</FooterMenuLink>
</li>
<li>
<FooterMenuLink to={PRESS_PATH}>Press Info</FooterMenuLink>
</li>
<li>
<FooterMenuLink as="a" href="https://docs.google.com/forms/d/e/1FAIpQLSfDxq_jR3z_006WkUnNKriGFlAdXhiZxC0ppkxV9fDXSM_FxQ/viewform">
Subscribe
Expand Down

0 comments on commit 4210d7d

Please sign in to comment.