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

feat(sturdy): add presentation config #799

Merged
merged 2 commits into from
Jun 29, 2022
Merged
Changes from all commits
Commits
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
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