Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
feat(sturdy): add presentation config (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwele authored Jun 29, 2022
1 parent 55574f7 commit fbe966f
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion src/apps/sturdy/sturdy.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,37 @@ export const STURDY_DEFINITION = appDefinition({
groupLabel: 'Borrow',
},
},

presentationConfig: {
tabs: [
{
label: 'Lending',
viewType: 'split',
views: [
{
viewType: 'list',
label: 'Supply',
groupIds: ['supply'],
},
{
viewType: 'split',
label: 'Borrow',
views: [
{
viewType: 'list',
label: 'Variable',
groupIds: ['variable-debt'],
},
{
viewType: 'list',
label: 'Stable',
groupIds: ['stable-debt'],
},
],
},
],
},
],
},
tags: [AppTag.LENDING],

links: {
Expand Down

0 comments on commit fbe966f

Please sign in to comment.