Skip to content

Commit

Permalink
feat: config to change order & visibility of sidebar sections
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrohitgarg committed Dec 18, 2024
1 parent 3dfba56 commit 2c17503
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 175 deletions.
6 changes: 1 addition & 5 deletions src/components/chat/elements/DefaultScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
class="fade-in-anim vdb-c-flex vdb-c-grow vdb-c-items-start vdb-c-justify-center vdb-c-pt-4"
>
<div
class="vdb-c-grid vdb-c-grid-cols-2 vdb-c-gap-12 md:vdb-c-grid-cols-3 md:vdb-c-gap-16 2xl:vdb-c-grid-cols-3"
class="vdb-c-grid vdb-c-grid-cols-1 vdb-c-gap-12 md:vdb-c-grid-cols-3 md:vdb-c-gap-16 2xl:vdb-c-grid-cols-3"
>
<div
v-for="(query, index) in actionCardQueries"
Expand All @@ -64,10 +64,6 @@
query.type === 'muted',
'vdb-c-bg-orange hover:vdb-c-bg-orange-600':
query.type === 'cta',
'vdb-c-col-span-2 md:vdb-c-col-span-1':
actionCardQueries?.length % 2 === 1
? index === actionCardQueries.length - 1
: index === actionCardQueries.length - 2,
},
]"
@click="$emit('query-card-click', query)"
Expand Down
Loading

0 comments on commit 2c17503

Please sign in to comment.