diff --git a/app/app.config.ts b/app/app.config.ts index 4c061d7..7daabe2 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -33,6 +33,12 @@ export default defineAppConfig({ base: "resize-none" } }, + accordion: { + slots: { + trigger: "cursor-pointer", + item: "md:py-2" + }, + }, navigationMenu: { slots: { link: "cursor-pointer", diff --git a/app/pages/os.vue b/app/pages/os.vue index be078bc..78121ff 100644 --- a/app/pages/os.vue +++ b/app/pages/os.vue @@ -3,13 +3,7 @@ title="OS Information" description="Read information about the operating system using the OS Information plugin." > -
-
- - - -
-
+ @@ -19,8 +13,21 @@ icon: "lucide:info" }); - const currentPlatform = await useTauriOsPlatform(); - const currentArch = await useTauriOsArch(); - const currentVersion = await useTauriOsVersion(); - const currentLocale = await useTauriOsLocale() || "Not detectable"; + const items = ref([ + { + label: "System", + icon: "lucide:monitor", + content: `${useTauriOsPlatform()} ${useTauriOsVersion()}` + }, + { + label: "Arch", + icon: "lucide:microchip", + content: useTauriOsArch() + }, + { + label: "Locale", + icon: "lucide:globe", + content: await useTauriOsLocale() || "Not detectable" + } + ]);