🗑️ Remove unused postcss.config.js and streamline sidebar navigation with updated Blade components

 Add `:currentRoute` prop bindings and update Tailwind configuration for enhanced theme customization
This commit is contained in:
HolgerHatGarKeineNode
2026-01-18 17:54:11 +01:00
parent ddb79476ca
commit 6ea8d7c546
6 changed files with 128 additions and 25 deletions

View File

@@ -60,13 +60,9 @@ new class extends Component {
<!-- Links -->
<div class="space-y-8">
{{--@include('components.layouts.navigation.meetups')--}}
@include('components.layouts.navigation.association')
{{--@include('components.layouts.navigation.events')
@include('components.layouts.navigation.courses')
@include('components.layouts.navigation.nostr')
@include('components.layouts.navigation.legacy')--}}
@include('components.layouts.navigation.admin')
@dd($currentRoute)
<x-layouts.navigation.association :currentRoute="$currentRoute"/>
<x-layouts.navigation.admin :currentRoute="$currentRoute"/>
</div>
<!-- Expand / collapse button -->

View File

@@ -1,4 +1,12 @@
<!-- Admin group -->
@props([
'currentRoute',
])
@php
$isCurrentRouteClass = 'pl-4 pr-3 py-2 rounded-lg mb-0.5 last:mb-0 bg-[linear-gradient(135deg,var(--tw-gradient-stops))] from-orange-500/12 dark:from-orange-500/24 to-orange-500/4';
$isNotCurrentRouteClass = 'pl-4 pr-3 py-2 rounded-lg mb-0.5 last:mb-0';
$isCurrentSubItem = 'block text-orange-500 transition truncate';
$isNotCurrentSubItem = 'block text-gray-500/90 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 transition truncate';
@endphp
<div>
<h3 class="text-xs uppercase text-gray-400 dark:text-gray-500 font-semibold pl-3">
<span class="hidden lg:block lg:sidebar-expanded:hidden 2xl:hidden text-center w-6"

View File

@@ -1,4 +1,6 @@
<!-- Association group -->
@props([
'currentRoute',
])
<div>
<h3 class="text-xs uppercase text-gray-400 dark:text-gray-500 font-semibold pl-3">
<span class="hidden lg:block lg:sidebar-expanded:hidden 2xl:hidden text-center w-6"