Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Adds donationhistory text below paymentpane
Browse files Browse the repository at this point in the history
  • Loading branch information
philiphand committed Feb 28, 2021
1 parent a8bbaeb commit 27aa2d1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/panes/PaymentPane/Paypal/PayPalPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import React, { useEffect } from "react";
import { useSelector } from "react-redux";
import { State } from "../../../../store/state";
import { NextButton } from "../../../shared/Buttons/NavigationButtons.style";
import { OrangeLink } from "../../../Widget.style";
import { Pane, PaneContainer, PaneTitle, UnderTitle } from "../../Panes.style";
import { InfoText } from "../PaymentPane.style";
import {
PayPalButton,
PayPalForm,
Expand Down Expand Up @@ -110,6 +112,13 @@ export const PaypalPane: React.FC = () => {
<PaneTitle>Tusen takk!</PaneTitle>
<UnderTitle>Du kan nå overføre til oss</UnderTitle>
{isRecurring === 0 ? recurringForm : singleForm}
<InfoText>
{`Ønsker du å se hele donasjonshistorikken din? Gå til `}
<OrangeLink href="https://gieffektivt.no/historikk" target="_blank">
https://gieffektivt.no/historikk
</OrangeLink>
{` og tast inn eposten din, så mottar du straks en oversikt over alle dine donasjoner.`}
</InfoText>
<NextButton
onClick={() => {
window.location.reload();
Expand Down
9 changes: 9 additions & 0 deletions src/components/panes/PaymentPane/Vipps/VippsPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import React, { useEffect } from "react";
import { useSelector } from "react-redux";
import { State } from "../../../../store/state";
import { NextButton } from "../../../shared/Buttons/NavigationButtons.style";
import { OrangeLink } from "../../../Widget.style";
import { Pane, PaneContainer, PaneTitle, UnderTitle } from "../../Panes.style";
import { InfoText } from "../PaymentPane.style";
import { VippsButton, VippsButtonWrapper } from "./VippsPane.style";

export const VippsPane: React.FC = () => {
Expand Down Expand Up @@ -32,6 +34,13 @@ export const VippsPane: React.FC = () => {
}}
/>
</VippsButtonWrapper>
<InfoText>
{`Ønsker du å se hele donasjonshistorikken din? Gå til `}
<OrangeLink href="https://gieffektivt.no/historikk" target="_blank">
https://gieffektivt.no/historikk
</OrangeLink>
{` og tast inn eposten din, så mottar du straks en oversikt over alle dine donasjoner.`}
</InfoText>
<NextButton
onClick={() => {
window.location.reload();
Expand Down

0 comments on commit 27aa2d1

Please sign in to comment.