This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed location of donation via check info. Closes Issue #1239
- Loading branch information
Showing
3 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,9 +17,13 @@ import { | |
ArticleTitle, | ||
PostTextContainer, | ||
PostText, | ||
Paragraph, | ||
Address, | ||
Anchor | ||
} from '../../../components/common/CommonStyles.js'; | ||
import { NextSeo } from 'next-seo'; | ||
import TwitterMeta from '../../../components/TwitterMeta'; | ||
import React from 'react'; | ||
|
||
const SectionContainer = tw.div`flex flex-col flex-nowrap items-center px-5 mx-auto max-w-7xl w-full`; | ||
const WideContainer = styled.div(() => ({ | ||
|
@@ -37,6 +41,20 @@ export default function Donate({ | |
}) { | ||
const isAmp = false; | ||
const router = useRouter(); | ||
const tncDonationInfo = | ||
<> | ||
<Paragraph>If you would like to make a tax-deductible donation by check, please mail it to our fiscal agent:</Paragraph> | ||
<Address> | ||
Tiny News Collective<br /> | ||
1500 Chestnut Street #2113<br /> | ||
Philadelphia, PA 19102<br /> | ||
</Address> | ||
<Paragraph>If you have questions about your donations please contact:</Paragraph> | ||
<Paragraph>Heather Bryant, Interim Executive Director</Paragraph> | ||
<Paragraph> | ||
<Anchor meta={siteMetadata} href='mailto:[email protected]'>[email protected]</Anchor> | ||
</Paragraph> | ||
</>; | ||
|
||
// If the page is not yet generated, this will be displayed | ||
// initially until getStaticProps() finishes running | ||
|
@@ -111,6 +129,13 @@ export default function Donate({ | |
wrap={true} | ||
/> | ||
</WideContainer> | ||
<SectionContainer> | ||
<PostText> | ||
<PostTextContainer> | ||
{tncDonationInfo} | ||
</PostTextContainer> | ||
</PostText> | ||
</SectionContainer> | ||
|
||
<NextSeo | ||
title={localisedPage.headline} | ||
|