mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-24 08:53:18 +10:00
feat: quit button
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@
|
||||
navIdx === currentNavigationIndex
|
||||
? 'text-zinc-100'
|
||||
: 'text-zinc-400 group-hover:text-zinc-300',
|
||||
'transition text-sm font-display leading-6',
|
||||
'truncate transition text-sm font-display leading-6',
|
||||
]"
|
||||
>
|
||||
{{ nav.label }}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<!-- This is perhaps one of the most complicated pages in this app -->
|
||||
|
||||
<script setup lang="ts">
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
|
||||
await invoke("quit");
|
||||
</script>
|
||||
|
||||
<template></template>
|
||||
@@ -129,7 +129,7 @@
|
||||
: 'text-white bg-blue-600 hover:bg-blue-500',
|
||||
]"
|
||||
>
|
||||
Upload
|
||||
Add
|
||||
</LoadingButton>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user