From 19712a41d5bedf2925bca5ffa2d51e56df594052 Mon Sep 17 00:00:00 2001 From: Nicola Spadari Date: Sun, 9 Feb 2025 12:22:48 +0100 Subject: [PATCH] Rework commands page --- app/app.config.ts | 16 +++++++++ app/components/Layout/Tile.vue | 4 +-- app/pages/commands.vue | 66 ++++++++++++++++++---------------- app/pages/index.vue | 21 ++++++----- nuxt.config.ts | 12 +++++++ package.json | 3 +- pnpm-lock.yaml | 8 +++++ 7 files changed, 89 insertions(+), 41 deletions(-) diff --git a/app/app.config.ts b/app/app.config.ts index f27e791..4c061d7 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -17,6 +17,22 @@ export default defineAppConfig({ base: "cursor-pointer" } }, + formField: { + slots: { + root: "w-full" + } + }, + input: { + slots: { + root: "w-full" + } + }, + textarea: { + slots: { + root: "w-full", + base: "resize-none" + } + }, navigationMenu: { slots: { link: "cursor-pointer", diff --git a/app/components/Layout/Tile.vue b/app/components/Layout/Tile.vue index 164ec17..79394d5 100644 --- a/app/components/Layout/Tile.vue +++ b/app/components/Layout/Tile.vue @@ -2,10 +2,10 @@
-

+

{{ props.title }}

-

+

{{ props.description }}

diff --git a/app/pages/commands.vue b/app/pages/commands.vue index 10a5359..6a38068 100644 --- a/app/pages/commands.vue +++ b/app/pages/commands.vue @@ -3,29 +3,23 @@ title="Commands" description="Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application." > -
-
-
-
- -
- -
-
-
- - Send command - -
-
- -
-