Skip to content

Commit

Permalink
add ad in rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-eth committed Jun 3, 2023
1 parent 0147729 commit af676cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
15 changes: 10 additions & 5 deletions components/AdBanner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@ import { FATHOM_ADS_ID } from "../../hooks/useAnalytics";
import { notTranslation as useTranslations, shuffleArray } from "../../utils";

const BANNERS = [
{
image: "brave.png",
name: "Brave",
url: "https://brave.com/wallet/?mtm_campaign=q2&mtm_kwd=chainlist",
},
{
image: "llamanodes.png",
name: "LlamaNodes",
url: "https://llamanodes.com",
},
{
image: "gmx.png",
name: "GMX",
url: "https://app.gmx.io/#/trade/?ref=chainlist",
},
// {
// image: "gmx.png",
// name: "GMX",
// url: "https://app.gmx.io/#/trade/?ref=chainlist",
// },
];

export const AdBanner = ({ timer = 15000, startTransition = true, showControls = false }) => {
Expand Down
3 changes: 2 additions & 1 deletion hooks/useAnalytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export const FATHOM_NO_EVENTS_ID = {

export const FATHOM_ADS_ID = {
llamanodes: 'W2MYIHNA',
gmx: 'G6ZGMIAM'
gmx: 'G6ZGMIAM',
brave: 'X4GQLE2I'
}


Expand Down

0 comments on commit af676cf

Please sign in to comment.