Skip to content

Commit 86508ce

Browse files
authored
Merge pull request #1144 from Folex1275/frontend-fix
feat(frontend): Complete redesign of dashboard and UI components
2 parents 9473e8c + d3b0b0e commit 86508ce

64 files changed

Lines changed: 7940 additions & 808 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

frontend/.env.example

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -58,29 +58,19 @@ NEXT_PUBLIC_SENTRY_DSN=
5858
# NEXT_PUBLIC_FORCE_EMERGENCY=true
5959

6060
# =============================================================================
61-
# Usage Notes
61+
# Deployment & CDN Configuration
6262
# =============================================================================
63-
#
63+
64+
# CDN URL for image optimization (optional)
65+
# When set, images will be served through CDN for better performance
66+
NEXT_PUBLIC_CDN_URL=
67+
68+
# Analytics & Monitoring
69+
# Google Analytics ID (if using)
70+
# NEXT_PUBLIC_GA_ID=
71+
72+
# Usage Notes
6473
# 1. Both V1 and V2 contract IDs can be configured simultaneously
6574
# 2. The frontend will automatically query balances for both contracts
6675
# 3. Users can switch between V1 and V2 via the useContract('v1' | 'v2') hook
6776
# 4. Combined balance is automatically calculated across both protocols
68-
#
69-
# Example usage in components:
70-
#
71-
# ```tsx
72-
# import { useContract, useBalances, useWallet } from '@/lib/providers';
73-
# import { CONTRACT_ID, NEBULA_CONTRACT_ID } from '@/lib/providers';
74-
#
75-
# function MyComponent() {
76-
# // Get specific contract
77-
# const v1Contract = useContract('v1');
78-
# const v2Contract = useContract('v2');
79-
#
80-
# // Get user's balances across both protocols
81-
# const { v1, v2, combined } = useBalances();
82-
#
83-
# // Access wallet info
84-
# const { address, balances } = useWallet();
85-
# }
86-
# ```

0 commit comments

Comments
 (0)