diff --git a/app/app.config.ts b/app/app.config.ts index 3cbea35..f27e791 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -9,12 +9,25 @@ export default defineAppConfig({ }, ui: { colors: { + primary: "green", neutral: "zinc" }, button: { slots: { base: "cursor-pointer" } + }, + navigationMenu: { + slots: { + link: "cursor-pointer", + }, + variants: { + disabled: { + true: { + link: "cursor-text" + } + } + } } } }); diff --git a/app/assets/css/main.css b/app/assets/css/main.css index c924487..17fcc48 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -2,7 +2,7 @@ @import "@nuxt/ui"; @theme { - --font-Heading: "Montserrat", sans-serif; + --font-heading: "Montserrat", sans-serif; --font-sans: "Inter", sans-serif; --color-primary: var(--ui-color-primary-500); @@ -21,10 +21,10 @@ .flex-center { @apply flex justify-center items-center; } - .absolute-center-h: { + .absolute-center-h { @apply left-1/2 transform -translate-x-1/2; } - .absolute-center-v{ + .absolute-center-v { @apply top-1/2 transform -translate-y-1/2; } } diff --git a/app/assets/icons/logo.svg b/app/assets/icons/logo.svg new file mode 100644 index 0000000..23f7095 --- /dev/null +++ b/app/assets/icons/logo.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/components/Site/Navbar.vue b/app/components/Site/Navbar.vue index b02f9a4..1be2483 100644 --- a/app/components/Site/Navbar.vue +++ b/app/components/Site/Navbar.vue @@ -1,57 +1,70 @@ diff --git a/app/components/Site/Sidebar.vue b/app/components/Site/Sidebar.vue index d887bac..d8e7b26 100644 --- a/app/components/Site/Sidebar.vue +++ b/app/components/Site/Sidebar.vue @@ -1,49 +1,36 @@ diff --git a/app/composables/pages.ts b/app/composables/pages.ts new file mode 100644 index 0000000..1f96d51 --- /dev/null +++ b/app/composables/pages.ts @@ -0,0 +1,15 @@ +export const usePages = () => { + const router = useRouter(); + + const pages = router.getRoutes().filter((route) => route.name !== "index" && route.name !== "all").map((route) => { + return { + label: route.meta.name, + to: route.path, + icon: route.meta.icon + }; + }); + + return { + pages + }; +}; diff --git a/app/pages/commands.vue b/app/pages/commands.vue index 3685bde..10a5359 100644 --- a/app/pages/commands.vue +++ b/app/pages/commands.vue @@ -30,6 +30,11 @@