Skip to content

Commit

Permalink
Merge branch 'main' of github.com:thesis/acre into reset-activities
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Dec 6, 2024
2 parents 9ae9218 + 8fb2ad7 commit 77d98cc
Show file tree
Hide file tree
Showing 32 changed files with 266 additions and 365 deletions.
6 changes: 5 additions & 1 deletion dapp/.env
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ VITE_GELATO_RELAY_API_KEY="htaJCy_XHj8WsE3w53WBMurfySDtjLP_TrNPPa6IPIc_" # this
# Get the API key from: https://thegraph.com/studio/apikeys/.
VITE_SUBGRAPH_API_KEY=""

# Posthog
VITE_POSTHOG_API_HOST="https://us.i.posthog.com"
VITE_POSTHOG_API_KEY=""

# Feature flags
VITE_FEATURE_FLAG_GAMIFICATION_ENABLED="false"
VITE_FEATURE_FLAG_WITHDRAWALS_ENABLED="false"
VITE_FEATURE_FLAG_OKX_WALLET_ENABLED="false"
VITE_FEATURE_FLAG_XVERSE_WALLET_ENABLED="false"
VITE_FEATURE_FLAG_ACRE_POINTS_ENABLED="true"
VITE_FEATURE_FLAG_TVL_ENABLED="true"
VITE_FEATURE_GATING_DAPP_ENABLED="true"
VITE_FEATURE_POSTHOG_ENABLED="true"
VITE_FEATURE_MOBILE_MODE_ENABLED="true"

1 change: 1 addition & 0 deletions dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"framer-motion": "^10.16.5",
"luxon": "^3.5.0",
"mustache": "^4.2.0",
"posthog-js": "^1.186.1",
"react": "^18.2.0",
"react-confetti-explosion": "^2.1.2",
"react-dom": "^18.2.0",
Expand Down
5 changes: 4 additions & 1 deletion dapp/src/DApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import getWagmiConfig from "./wagmiConfig"
import queryClient from "./queryClient"
import { delay, logPromiseFailure } from "./utils"
import { AcreLogo } from "./assets/icons"
import PostHogProvider from "./posthog/PostHogProvider"

function SplashPage() {
return (
Expand Down Expand Up @@ -69,7 +70,9 @@ function DAppProviders() {
<SidebarContextProvider>
<WalletConnectionAlertContextProvider>
<ReduxProvider store={store}>
<DApp />
<PostHogProvider>
<DApp />
</PostHogProvider>
</ReduxProvider>
</WalletConnectionAlertContextProvider>
</SidebarContextProvider>
Expand Down
60 changes: 0 additions & 60 deletions dapp/src/assets/images/benefits/bibos-beehive.svg

This file was deleted.

4 changes: 0 additions & 4 deletions dapp/src/assets/images/benefits/index.ts

This file was deleted.

Loading

0 comments on commit 77d98cc

Please sign in to comment.