From c85051161be2ed1efa74e1882b21cd8132034c2b Mon Sep 17 00:00:00 2001 From: Darko Gjorgjijoski Date: Sat, 4 Apr 2026 00:48:00 +0200 Subject: [PATCH] Improve NoCompanyView design and fix header for no-company state Personalize welcome heading with user name, add descriptive subtitle, improve invitation card styling, remove redundant logout button. Fix hasCreateAbilities check in header to actually call the function. Widen company switcher dropdown and improve invitation row layout. Co-Authored-By: Claude Opus 4.6 (1M context) --- lang/en.json | 1 + .../admin/layouts/partials/TheSiteHeader.vue | 2 +- .../scripts/admin/views/NoCompanyView.vue | 93 ++++++++----------- .../scripts/components/CompanySwitcher.vue | 62 ++++++------- 4 files changed, 71 insertions(+), 87 deletions(-) diff --git a/lang/en.json b/lang/en.json index c77a010d..58e4ead2 100644 --- a/lang/en.json +++ b/lang/en.json @@ -29,6 +29,7 @@ "accept": "Accept", "decline": "Decline", "welcome": "Welcome", + "no_company_description": "You are not a member of any company yet. Accept an invitation below or contact your administrator.", "update": "Update", "deselect": "Deselect", "download": "Download", diff --git a/resources/scripts/admin/layouts/partials/TheSiteHeader.vue b/resources/scripts/admin/layouts/partials/TheSiteHeader.vue index 640e5ff4..ce2d849d 100644 --- a/resources/scripts/admin/layouts/partials/TheSiteHeader.vue +++ b/resources/scripts/admin/layouts/partials/TheSiteHeader.vue @@ -61,7 +61,7 @@