From c1da259614ee77be2e827d931617c3374af6b375 Mon Sep 17 00:00:00 2001 From: jose-carlos-sousa <139002032+jose-carlos-sousa@users.noreply.github.com> Date: Sat, 27 Jul 2024 11:49:50 +0100 Subject: [PATCH] refactor: navbar is now transparent, conditional showNabVar in AppLayout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tomás Palma --- .gitignore | 1 + resources/js/Components/Navbar.vue | 11 +- resources/js/Layouts/AppLayout.vue | 28 ++--- resources/js/Pages/Home.vue | 179 ++++++++--------------------- tailwind.config.js | 4 +- 5 files changed, 71 insertions(+), 152 deletions(-) diff --git a/.gitignore b/.gitignore index 6d3dd27..c37c12e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /public/storage /storage/*.key /vendor +.env .env.backup .env.production .env.railway diff --git a/resources/js/Components/Navbar.vue b/resources/js/Components/Navbar.vue index de42783..d94f63c 100644 --- a/resources/js/Components/Navbar.vue +++ b/resources/js/Components/Navbar.vue @@ -9,7 +9,7 @@ import route, { type RouteParamsWithQueryOverload, } from "ziggy-js"; import { usePage } from "@inertiajs/vue3"; -import { OhVueIcon } from "oh-vue-icons"; +//import { OhVueIcon } from "oh-vue-icons"; import { isAdmin as checkIsAdmin } from "@/Types/User"; interface Route { @@ -46,7 +46,7 @@ const isAdmin = checkIsAdmin(props.auth.user);