Context menus (#133)

* Context Menus in home and library

* Menu impl

* FInalize context menus

* Update App.vue

* Update App.vue

* fix scrolling
This commit is contained in:
Adrian O.V
2023-06-10 12:31:52 -07:00
committed by GitHub
parent e0e9c3f166
commit e836738887
9 changed files with 672 additions and 61 deletions
+20 -3
View File
@@ -66,9 +66,26 @@ onUnmounted(() => unlisten())
<template>
<div class="page-container">
<RowDisplay label="Jump back in" :instances="recentInstances" :can-paginate="false" />
<RowDisplay label="Popular packs" :instances="featuredModpacks" :can-paginate="true" />
<RowDisplay label="Popular mods" :instances="featuredMods" :can-paginate="true" />
<RowDisplay
:instances="[
{
label: 'Jump back in',
instances: recentInstances,
downloaded: true,
},
{
label: 'Popular packs',
instances: featuredModpacks,
downloaded: false,
},
{
label: 'Popular mods',
instances: featuredMods,
downloaded: false,
},
]"
:can-paginate="true"
/>
</div>
</template>