Skip to content

Commit

Permalink
chore: update @merkl/api version and refactor various components and …
Browse files Browse the repository at this point in the history
…services
  • Loading branch information
hugolxt committed Jan 7, 2025
1 parent bb16ce6 commit 33e3ae8
Showing 1 changed file with 29 additions and 17 deletions.
46 changes: 29 additions & 17 deletions merkl.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { createConfig } from "src/config/type";
import hero from "src/customer/assets/images/hero.jpg?url";
import { v4 as uuidv4 } from "uuid";
import { http, createClient, custom } from "viem";

import {
arbitrum,
astar,
Expand Down Expand Up @@ -46,15 +47,29 @@ export default createConfig({
appName: "Merkl",
modes: ["dark", "light"],
defaultTheme: "ignite",
opportunityNavigationMode: "direct",
rewardsNavigationMode: "chain",
opportunityNavigationMode: "supply",
tokenSymbolPriority: ["ZK", "USDC", "USDC.e", "ETH", "WETH", "WBTC", "wstETH", "USDT", "USDe", "weETH", "DAI"],
opportunityCellHideTags: ["token", "action"],
opportunityLibraryDefaultView: "table",
// opportunityLibraryExcludeFilters: ["protocol","action"],
opprtunityPercentage: true,
rewardsNavigationMode: "chain",
opportunityLibrary: {
defaultView: "cells",
// views: ["table"], // If you want only one view, this is where you can specify it.
cells: {
hideTags: ["token", "action"],
},
excludeFilters: ["protocol", "tvl"],
},
opportunityPercentage: true,
hideLayerMenuHomePage: false,
supplyCredits: [],
hero: {
bannerOnAllPages: false, // show banner on all pages
invertColors: false, // Light mode: light text on dark background (instead of dark text on light background)
},
opportunityFilters: {
minimumTVL: false,
protocols: false,
displaySelector: false,
},
deposit: true,
walletOptions: {
hideInjectedWallets: ["phantom", "coinbase wallet"],
Expand All @@ -69,6 +84,13 @@ export default createConfig({
enabled: false,
length: 6,
},
library: {
columns: {
action: {
enabled: false,
},
},
},
},
bridge: {
helperLink: "",
Expand Down Expand Up @@ -179,18 +201,8 @@ export default createConfig({
enabled: false,
},
bridge: {
enabled: false,
enabled: true,
},
// terms: {
// icon: "RiCompassesLine",
// route: "/terms",
// key: uuidv4(),
// },
// privacy: {
// icon: "RiInformationFill",
// route: "/privacy",
// key: uuidv4(),
// },
},
socials: {
discord: "",
Expand Down

0 comments on commit 33e3ae8

Please sign in to comment.