Skip to content

Commit

Permalink
Merge pull request DefiLlama#527 from DefiLlama/brave-ad
Browse files Browse the repository at this point in the history
Add new Brave Ad
  • Loading branch information
charlie-eth authored Jun 3, 2023
2 parents 9f69567 + af676cf commit e6d7b35
Show file tree
Hide file tree
Showing 4 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
Binary file added public/banners/large/brave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/banners/small/brave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e6d7b35

Please sign in to comment.