Ignore:
Timestamp:
02/10/24 17:58:54 (11 months ago)
Author:
bube-ristovska <ristovska725@…>
Branches:
main
Children:
92df8cd
Parents:
6dec591
Message:

Bug with embg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resources/views/employees.blade.php

    r6dec591 rd9c4096  
    5353<aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl">
    5454    <div class="p-6">
    55         <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
    56         <button
    57             class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center">
    58             <i class="fas fa-plus mr-3"></i> Додади полицаец
    59         </button>
     55        @if (Session::get('is_policeman'))
     56            <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a>
     57        @else
     58            <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
     59            <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center">
     60                <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a>
     61            </button>
     62        @endif
    6063    </div>
    6164    <nav class="text-white text-base font-semibold pt-3">
Note: See TracChangeset for help on using the changeset viewer.