mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 13:14:04 +02:00
parent
f2f554074b
commit
d0b551b3fd
22 changed files with 1171 additions and 1493 deletions
48
app.vue
48
app.vue
|
@ -1,31 +1,31 @@
|
|||
<template>
|
||||
<div>
|
||||
<NuxtPage />
|
||||
</div>
|
||||
<div>
|
||||
<NuxtPage />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { app, window } from "@tauri-apps/api";
|
||||
import { listen } from "@tauri-apps/api/event";
|
||||
import { onMounted } from "vue";
|
||||
import { listen } from '@tauri-apps/api/event'
|
||||
import { app, window } from '@tauri-apps/api';
|
||||
import { onMounted } from 'vue'
|
||||
|
||||
onMounted(async () => {
|
||||
await listen("change_keybind", async () => {
|
||||
console.log("change_keybind");
|
||||
await navigateTo("/keybind");
|
||||
await app.show();
|
||||
await window.getCurrentWindow().show();
|
||||
});
|
||||
onMounted(async () => {
|
||||
await listen('change_keybind', async () => {
|
||||
console.log("change_keybind");
|
||||
await navigateTo('/keybind')
|
||||
await app.show();
|
||||
await window.getCurrentWindow().show();
|
||||
})
|
||||
|
||||
await listen("main_route", async () => {
|
||||
console.log("main_route");
|
||||
await navigateTo("/");
|
||||
});
|
||||
});
|
||||
await listen('main_route', async () => {
|
||||
console.log("main_route");
|
||||
await navigateTo('/')
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@font-face {
|
||||
@font-face {
|
||||
font-family: SFRoundedRegular;
|
||||
font-display: swap;
|
||||
src: url("~/assets/fonts/SFRoundedRegular.otf") format("opentype");
|
||||
|
@ -53,16 +53,16 @@
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
color: #e5dfd5;
|
||||
color: #E5DFD5;
|
||||
text-decoration: none;
|
||||
font-family: SFRoundedRegular;
|
||||
scroll-behavior: smooth;
|
||||
scrollbar-width: thin;
|
||||
user-select: none;
|
||||
|
||||
--os-handle-bg: #ada9a1;
|
||||
--os-handle-bg-hover: #78756f;
|
||||
--os-handle-bg-active: #78756f;
|
||||
--os-handle-bg: #ADA9A1;
|
||||
--os-handle-bg-hover: #78756F;
|
||||
--os-handle-bg-active: #78756F;
|
||||
}
|
||||
|
||||
html,
|
||||
|
@ -74,4 +74,4 @@ body,
|
|||
.os-scrollbar-horizontal {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue