Skip to content

Commit

Permalink
Merge branch 'master' of github.com:0XYoussefX0/quran.com-frontend-ne…
Browse files Browse the repository at this point in the history
…xt into fix/layout-shift
  • Loading branch information
0XYoussefX0 committed Apr 2, 2024
2 parents 2976aee + 350f6a8 commit 00ddece
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/utils/apiPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,7 @@ export const makeFootnoteUrl = (footnoteId: string): string => makeUrl(`/foot_no
export const makeDonateUrl = (showDonationPopup = false) =>
`https://donate.quran.foundation${showDonationPopup ? '?showDonationPopup' : ''}`;

export const makeDonatePageUrl = (isOnce = true) =>
`https://give.quran.foundation/give/${isOnce ? 482507 : 474400}/#!/donation/checkout`;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export const makeDonatePageUrl = (isOnce = true) => makeDonateUrl();
// TODO: revert this after ramadan
// `https://give.quran.foundation/give/${isOnce ? 482507 : 474400}/#!/donation/checkout`;

0 comments on commit 00ddece

Please sign in to comment.