feat: enhance BottomBar and TopBar components with dynamic actions and improved styling; integrate actions in index.vue

This commit is contained in:
PandaDEV 2025-03-15 00:33:29 +01:00
parent 60d17442fc
commit 455b60a994
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
3 changed files with 45 additions and 21 deletions

View file

@ -66,7 +66,17 @@
</OverlayScrollbarsComponent>
</div>
</div>
<BottomBar />
<BottomBar
:primary-action="{
text: 'Paste',
icon: IconsEnter,
onClick: pasteSelectedItem,
}"
:secondary-action="{
text: 'Actions',
icon: IconsK,
showModifier: true,
}" />
</main>
</template>
@ -95,6 +105,8 @@ import {
selectedElement,
useSelectedResult,
} from "~/lib/selectedResult";
import IconsEnter from "~/components/Icons/Enter.vue";
import IconsK from "~/components/Icons/K.vue";
interface GroupedHistory {
label: string;