File manager - Edit - /var/www/ratemypay/storage/framework/views/7e71fbad92d14629d246e272677b1050.php
Back
<!-- Mobile Toggle Checkbox --> <input type="checkbox" id="sidebar-toggle" class="hidden peer" /> <!-- Mobile Overlay --> <label for="sidebar-toggle" class="fixed inset-0 bg-black/50 z-30 hidden peer-checked:block md:hidden transition-opacity"></label> <!-- Mobile Toggle Button --> <label for="sidebar-toggle" class="fixed top-4 left-4 z-50 w-10 h-10 bg-white border border-gray-200 rounded-lg flex items-center justify-center cursor-pointer md:hidden shadow-md hover:bg-gray-50 transition-colors"> <svg class="w-5 h-5 text-gray-700" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" /> </svg> </label> <!-- Sidebar --> <aside class="md:w-[20%] w-[70%] fixed inset-y-0 left-0 w-64 bg-white border-r border-gray-100 flex flex-col overflow-y-auto transform -translate-x-full peer-checked:translate-x-0 md:translate-x-0 transition-transform duration-300 ease-in-out z-40"> <div class="p-6 flex items-center gap-2 shrink-0"> <a href="<?php echo e(url('/')); ?>" class="md:pl-0 pl-[40px] flex items-center"> <img src="<?php echo e(asset('logo.png')); ?>" alt="<?php echo e(config('app.name', 'Laravel')); ?>" class="h-6 w-auto"> </a> </div> <nav class="flex-1 px-4 pb-6"> <a href="<?php echo e(route('profile.index')); ?>" class="block mb-6 group"> <div class="p-3 bg-white rounded-xl border border-gray-200 shadow-sm flex items-center gap-3 group-hover:border-[#2F3D7E]/30 group-hover:shadow-md transition-all"> <img src="https://ui-avatars.com/api/?name=<?php echo e(auth()->user()->name); ?>&background=2F3D7E&color=fff" alt="Profile" class="h-10 w-10 rounded-full border border-gray-100"> <div class="min-w-0 text-left flex-1"> <p class="font-semibold text-sm text-gray-900 truncate group-hover:text-[#2F3D7E] transition-colors"> <?php echo e(auth()->user()->name); ?> </p> <p class="text-xs text-gray-500 truncate"><?php echo e(auth()->user()->email); ?></p> </div> </div> </a> <div class="px-4 mt-6 mb-2"> <p class="text-xs font-semibold text-gray-400 uppercase tracking-wider">Main</p> </div> <a href="<?php echo e(route('dashboard.index')); ?>" class="flex items-center gap-3 px-4 py-3 rounded-xl transition-all mb-1 <?php echo e(request()->routeIs('dashboard.index') ? 'bg-[#2F3D7E] text-white shadow-md' : 'text-gray-500 hover:bg-gray-50 hover:text-gray-900'); ?>"> <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" /> </svg> <span class="font-medium">Home</span> </a> <a href="<?php echo e(route('communities.index')); ?>" class="flex items-center gap-3 px-4 py-3 rounded-xl transition-all mb-1 <?php echo e(request()->routeIs('communities.*') || request()->routeIs('rate-my-pay.*') ? 'bg-[#2F3D7E] text-white shadow-md' : 'text-gray-500 hover:bg-gray-50 hover:text-gray-900'); ?>"> <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" /> </svg> <span class="font-medium">Community</span> </a> <div class="px-4 mt-6 mb-2"> <p class="text-xs font-semibold text-gray-400 uppercase tracking-wider">Compensations</p> </div> <a href="<?php echo e(route('dashboard.job-experiences.index')); ?>" class="flex items-center gap-3 px-4 py-3 rounded-xl transition-all mb-1 <?php echo e(request()->routeIs('dashboard.job-experiences.*') ? 'bg-[#2F3D7E] text-white shadow-md' : 'text-gray-500 hover:bg-gray-50 hover:text-gray-900'); ?>"> <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /> </svg> <span class="font-medium">Job Experiences</span> </a> <div class="px-4 mt-6 mb-2"> <p class="text-xs font-semibold text-gray-400 uppercase tracking-wider">System</p> </div> <a href="<?php echo e(route('settings.index')); ?>" class="flex items-center gap-3 px-4 py-3 rounded-xl transition-all mb-1 <?php echo e(request()->routeIs('settings.*') ? 'bg-[#2F3D7E] text-white shadow-md' : 'text-gray-500 hover:bg-gray-50 hover:text-gray-900'); ?>"> <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" /> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" /> </svg> <span class="font-medium">Settings</span> </a> </nav> <div class="p-4 border-t border-gray-100 shrink-0"> <form method="POST" action="<?php echo e(route('logout')); ?>" class="w-full"> <?php echo csrf_field(); ?> <button type="submit" class="flex items-center gap-3 px-4 py-3 w-full rounded-xl text-gray-500 hover:bg-red-50 hover:text-red-600 transition-colors"> <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1" /> </svg> <span class="font-medium">Sign Out</span> </button> </form> </div> </aside> <div class="md:w-[20%] w-[0%] min-h-screen bg-gray-50"> <div class="md:hidden fixed top-0 left-0 right-0 bg-white border-b border-gray-100 z-20 px-4 h-16 flex items-center justify-left"> <div class="md:pl-0 pl-12 md:mt-0 mt-[10px] flex items-center gap-2"> <a href="<?php echo e(url('/')); ?>" class="flex items-center"> <img src="<?php echo e(asset('logo.png')); ?>" alt="<?php echo e(config('app.name', 'Laravel')); ?>" class="h-6 w-auto"> </a> </div> </div> </div> <style> /* Ensure the peer checkbox works correctly */ #sidebar-toggle:checked ~ aside { transform: translateX(0); } #sidebar-toggle:checked ~ label[for="sidebar-toggle"]:first-of-type { display: block; } /* Smooth sidebar animation */ aside { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* Active link gradient */ .bg-\[\#2F3D7E\] { background: linear-gradient(135deg, #2F3D7E 0%, #1E2858 100%); } /* Prevent body scroll when sidebar is open on mobile */ @media (max-width: 767px) { #sidebar-toggle:checked ~ body { overflow: hidden; } } </style> <?php /**PATH /var/www/ratemypay/resources/views/dashboard/sidebar.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings