Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
d86cd7c
feat(earn): revamp overview page with sidebar layout, animations, and…
tienkane Mar 30, 2026
9c0708d
Merge branch 'main' of github.com:KyberNetwork/kyberswap-interface in…
tienkane Mar 30, 2026
0977099
feat(earn): unify sidebar layout across all earn pages and fix UX det…
tienkane Mar 30, 2026
1a848c5
Merge branch 'main' of github.com:KyberNetwork/kyberswap-interface in…
tienkane Mar 30, 2026
2323b76
Merge branch 'main' of github.com:KyberNetwork/kyberswap-interface in…
tienkane Apr 1, 2026
1568d6d
Merge branch 'main' of github.com:KyberNetwork/kyberswap-interface in…
tienkane Apr 3, 2026
8e2bd57
feat(earns): add ExploreVaults and MyVaults UI with mini charts
tienkane Apr 3, 2026
74e5767
Merge branch 'main' of github.com:KyberNetwork/kyberswap-interface in…
tienkane Apr 13, 2026
bcd6de1
feat(earns): redesign landing page with new figma layout
tienkane Apr 14, 2026
0892295
Merge branch 'main' of github.com:KyberNetwork/kyberswap-interface in…
tienkane Apr 14, 2026
b15c6a1
feat(earns): make landing sections navigate to explore pages
tienkane Apr 14, 2026
2313562
feat(earns): redesign sidebar with collapsible state and mobile drawer
tienkane Apr 14, 2026
a0088dc
feat(earns): add sort and gallery/list toggle to explore vaults
tienkane Apr 15, 2026
cb976ab
feat(earns): add partner vault detail page
tienkane Apr 15, 2026
ea462d7
chore(earns): update sidebar nav icons
tienkane Apr 15, 2026
24792e8
Merge branch 'main' of github.com:KyberNetwork/kyberswap-interface in…
tienkane Apr 17, 2026
9d15df6
feat(earns): integrate partner vault APIs into earn pages
tienkane Apr 21, 2026
cbd7a2c
Merge branch 'main' of github.com:KyberNetwork/kyberswap-interface in…
tienkane Apr 21, 2026
bb6a7e9
Merge remote-tracking branch 'origin/main' into feat/ether-fi
tienkane Jul 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ pnpm build
- TypeScript strict mode, no unjustified `any`
- Components: `PascalCase.tsx`, Hooks: `useCamelCase.ts`, Utils: `camelCase.ts`
- Import order: external libs → `@kyberswap/*` → local imports → types → styles
- **Always prefer absolute imports** over relative imports when possible. Use path aliases (e.g., `components/...`, `utils/...`, `hooks/...`) instead of relative paths (e.g., `../../components/...`).

## Comments

Expand Down
17 changes: 17 additions & 0 deletions apps/kyberswap-interface/src/assets/svg/earn/ic_featured_vault.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions apps/kyberswap-interface/src/assets/svg/earn/ic_logo_etherfi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 13 additions & 5 deletions apps/kyberswap-interface/src/assets/svg/earn/liquidity-pools.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import { ReactComponent as OverviewIcon } from 'assets/svg/earn/ic_earn_overview
import { ReactComponent as PoolsIcon } from 'assets/svg/earn/ic_earn_pools.svg'
import { ReactComponent as PositionsIcon } from 'assets/svg/earn/ic_earn_positions.svg'
import { ReactComponent as FarmingIcon } from 'assets/svg/earn/ic_farming.svg'
import { ReactComponent as FeaturedVaultIcon } from 'assets/svg/earn/ic_featured_vault.svg'
import { ReactComponent as ListSmartExitIcon } from 'assets/svg/earn/ic_list_smart_exit.svg'
import { ReactComponent as VaultIcon } from 'assets/svg/earn/ic_partner_vault.svg'
import { ReactComponent as KemIcon } from 'assets/svg/kyber/kem.svg'
import NavGroup, { type DropdownAlign } from 'components/Header/groups/NavGroup'
import { DropdownTextAnchor, NewLabel, StyledNavLink } from 'components/Header/styleds'
Expand All @@ -26,6 +28,8 @@ const EarnNavGroup = ({ dropdownAlign }: Props) => {
APP_PATHS.EARN_POSITIONS,
APP_PATHS.EARN_POSITION_DETAIL,
APP_PATHS.EARN_SMART_EXIT,
APP_PATHS.EARN_VAULTS,
APP_PATHS.EARN_MY_VAULTS,
].some(path => pathname.includes(path))

const upToSmall = useMedia(`(max-width: ${MEDIA_WIDTHS.upToSmall}px)`)
Expand Down Expand Up @@ -98,7 +102,7 @@ const EarnNavGroup = ({ dropdownAlign }: Props) => {
{t`My Positions`}
</div>
</StyledNavLink>
<StyledNavLink data-testid="earn-positions-nav-link" to={{ pathname: `${APP_PATHS.EARN_SMART_EXIT}` }}>
<StyledNavLink data-testid="earn-smart-exit-nav-link" to={{ pathname: `${APP_PATHS.EARN_SMART_EXIT}` }}>
<div className="flex items-center gap-3">
<ListSmartExitIcon width={16} height={16} />
<div className="flex">
Expand All @@ -107,6 +111,28 @@ const EarnNavGroup = ({ dropdownAlign }: Props) => {
</div>
</div>
</StyledNavLink>

<StyledNavLink
id="earn-vaults-nav-link"
data-testid="earn-vaults-nav-link"
to={{ pathname: `${APP_PATHS.EARN_VAULTS}` }}
>
<div className="flex items-center gap-3">
<VaultIcon width={16} height={16} />
{t`Explore Vaults`}
</div>
</StyledNavLink>

<StyledNavLink
id="earn-my-vaults-nav-link"
data-testid="earn-my-vaults-nav-link"
to={{ pathname: `${APP_PATHS.EARN_MY_VAULTS}` }}
>
<div className="flex items-center gap-3">
<FeaturedVaultIcon width={16} height={16} />
{t`My Vaults`}
</div>
</StyledNavLink>
</div>
}
/>
Expand Down
3 changes: 3 additions & 0 deletions apps/kyberswap-interface/src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ export const APP_PATHS = {
EARN_POSITIONS: '/earn/positions',
EARN_POSITION_DETAIL: '/earn/position/:positionId/:chainId/:exchange',
EARN_SMART_EXIT: '/earn/smart-exit',
EARN_VAULTS: '/earn/vaults',
EARN_MY_VAULTS: '/earn/my-vaults',
EARN_VAULT_DETAIL: '/earn/vault/:chainId/:vaultId',
EARNS: '/earns',
EARNS_POOLS: '/earns/pools',
EARNS_POSITIONS: '/earns/positions',
Expand Down
Loading
Loading