Commit e4220ec5436214fc5e8db0c9228fbf8d590de367
1 parent
a89ff088a2
Exists in
master
and in
1 other branch
Активные ссылки меню
Showing 1 changed file with 46 additions and 62 deletions Side-by-side Diff
resources/views/layout/admin.blade.php
... | ... | @@ -38,8 +38,10 @@ |
38 | 38 | class="absolute inset-y-0 left-0 w-1 bg-purple-600 rounded-tr-lg rounded-br-lg" |
39 | 39 | aria-hidden="true" |
40 | 40 | ></span> |
41 | + <!--class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" | |
42 | + --> | |
41 | 43 | <a |
42 | - class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" | |
44 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" | |
43 | 45 | href="{{ route('admin.index') }}" |
44 | 46 | > |
45 | 47 | <svg |
... | ... | @@ -64,7 +66,7 @@ |
64 | 66 | @if ($UserId == 1) |
65 | 67 | <li class="relative px-6 py-3"> |
66 | 68 | <a |
67 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
69 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" | |
68 | 70 | href="{{ route('admin.users') }}" |
69 | 71 | > |
70 | 72 | <svg |
... | ... | @@ -87,8 +89,7 @@ |
87 | 89 | @endif |
88 | 90 | <li class="relative px-6 py-3"> |
89 | 91 | <a |
90 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
91 | - href="{{ route('admin.employers') }}" | |
92 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" | |
92 | 93 | > |
93 | 94 | <svg |
94 | 95 | class="w-5 h-5" |
... | ... | @@ -109,8 +110,7 @@ |
109 | 110 | </li> |
110 | 111 | <li class="relative px-6 py-3"> |
111 | 112 | <a |
112 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
113 | - href="{{ route('admin.workers') }}" | |
113 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200{{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" | |
114 | 114 | > |
115 | 115 | <svg |
116 | 116 | class="w-5 h-5" |
... | ... | @@ -132,8 +132,7 @@ |
132 | 132 | </li> |
133 | 133 | <li class="relative px-6 py-3"> |
134 | 134 | <a |
135 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
136 | - href="{{ route('admin.ad-employers') }}" | |
135 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" | |
137 | 136 | > |
138 | 137 | <svg |
139 | 138 | class="w-5 h-5" |
... | ... | @@ -155,8 +154,7 @@ |
155 | 154 | |
156 | 155 | <li class="relative px-6 py-3"> |
157 | 156 | <a |
158 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
159 | - href="{{ route('admin.messages') }}" | |
157 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | |
160 | 158 | > |
161 | 159 | <svg |
162 | 160 | class="w-5 h-5" |
... | ... | @@ -175,8 +173,7 @@ |
175 | 173 | </li> |
176 | 174 | <li class="relative px-6 py-3"> |
177 | 175 | <a |
178 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
179 | - href="{{ route('admin.groups') }}" | |
176 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}" | |
180 | 177 | > |
181 | 178 | <svg |
182 | 179 | class="w-5 h-5" |
... | ... | @@ -197,8 +194,7 @@ |
197 | 194 | </li> |
198 | 195 | @if ($UserId == 1) |
199 | 196 | <li class="relative px-6 py-3"> |
200 | - <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
201 | - href="{{ route('admin.roles') }}"> | |
197 | + <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> | |
202 | 198 | <svg |
203 | 199 | class="w-5 h-5" |
204 | 200 | aria-hidden="true" |
... | ... | @@ -219,8 +215,7 @@ |
219 | 215 | @endif |
220 | 216 | <li class="relative px-6 py-3"> |
221 | 217 | <a |
222 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
223 | - href="{{ route('admin.statics') }}" | |
218 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" | |
224 | 219 | > |
225 | 220 | <svg |
226 | 221 | class="w-5 h-5" |
... | ... | @@ -242,8 +237,7 @@ |
242 | 237 | </li> |
243 | 238 | <li class="relative px-6 py-3"> |
244 | 239 | <a |
245 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
246 | - href="{{ route('admin.answers') }}" | |
240 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.answers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.answers') }}" | |
247 | 241 | > |
248 | 242 | <svg |
249 | 243 | class="w-5 h-5" |
... | ... | @@ -306,19 +300,19 @@ |
306 | 300 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
307 | 301 | aria-label="submenu" |
308 | 302 | > |
309 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
303 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> | |
310 | 304 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
311 | 305 | </li> |
312 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
306 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> | |
313 | 307 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> |
314 | 308 | </li> |
315 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
309 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> | |
316 | 310 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> |
317 | 311 | </li> |
318 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
312 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}"> | |
319 | 313 | <a class="w-full" href="{{ route('admin.education.index') }}">Образование</a> |
320 | 314 | </li> |
321 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
315 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> | |
322 | 316 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
323 | 317 | </li> |
324 | 318 | |
... | ... | @@ -373,25 +367,25 @@ |
373 | 367 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
374 | 368 | aria-label="submenu" |
375 | 369 | > |
376 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
370 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> | |
377 | 371 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
378 | 372 | </li> |
379 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
373 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> | |
380 | 374 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
381 | 375 | </li> |
382 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
376 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}"> | |
383 | 377 | <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> |
384 | 378 | </li> |
385 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
379 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> | |
386 | 380 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
387 | 381 | </li> |
388 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
382 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> | |
389 | 383 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
390 | 384 | </li> |
391 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
385 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> | |
392 | 386 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
393 | 387 | </li> |
394 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
388 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> | |
395 | 389 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
396 | 390 | </li> |
397 | 391 | </ul> |
... | ... | @@ -447,8 +441,7 @@ |
447 | 441 | aria-hidden="true" |
448 | 442 | ></span> |
449 | 443 | <a |
450 | - class="inline-flex items-center w-full text-sm font-semibold text-gray-800 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 dark:text-gray-100" | |
451 | - href="{{ route('admin.index') }}" | |
444 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.index') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.index') }}" | |
452 | 445 | > |
453 | 446 | <svg |
454 | 447 | class="w-5 h-5" |
... | ... | @@ -471,8 +464,7 @@ |
471 | 464 | <ul> |
472 | 465 | @if ($UserId == 1) |
473 | 466 | <li class="relative px-6 py-3"> |
474 | - <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
475 | - href="{{ route('admin.users') }}"> | |
467 | + <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.users') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.users') }}"> | |
476 | 468 | <svg |
477 | 469 | class="w-5 h-5" |
478 | 470 | aria-hidden="true" |
... | ... | @@ -493,8 +485,7 @@ |
493 | 485 | @endif |
494 | 486 | <li class="relative px-6 py-3"> |
495 | 487 | <a |
496 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
497 | - href="{{ route('admin.employers') }}" | |
488 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.employers') }}" | |
498 | 489 | > |
499 | 490 | <svg |
500 | 491 | class="w-5 h-5" |
... | ... | @@ -515,8 +506,7 @@ |
515 | 506 | </li> |
516 | 507 | <li class="relative px-6 py-3"> |
517 | 508 | <a |
518 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
519 | - href="{{ route('admin.workers') }}" | |
509 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.workers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.workers') }}" | |
520 | 510 | > |
521 | 511 | <svg |
522 | 512 | class="w-5 h-5" |
... | ... | @@ -538,8 +528,7 @@ |
538 | 528 | </li> |
539 | 529 | <li class="relative px-6 py-3"> |
540 | 530 | <a |
541 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
542 | - href="{{ route('admin.ad-employers') }}" | |
531 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.ad-employers') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.ad-employers') }}" | |
543 | 532 | > |
544 | 533 | <svg |
545 | 534 | class="w-5 h-5" |
... | ... | @@ -560,8 +549,7 @@ |
560 | 549 | </li> |
561 | 550 | <li class="relative px-6 py-3"> |
562 | 551 | <a |
563 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
564 | - href="{{ route('admin.messages') }}" | |
552 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | |
565 | 553 | > |
566 | 554 | <svg |
567 | 555 | class="w-5 h-5" |
... | ... | @@ -579,8 +567,7 @@ |
579 | 567 | </a> |
580 | 568 | </li> |
581 | 569 | <li class="relative px-6 py-3"> |
582 | - <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
583 | - href="{{ route('admin.groups') }}"> | |
570 | + <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.groups') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.groups') }}"> | |
584 | 571 | <svg |
585 | 572 | class="w-5 h-5" |
586 | 573 | aria-hidden="true" |
... | ... | @@ -600,8 +587,7 @@ |
600 | 587 | </li> |
601 | 588 | @if ($UserId == 1) |
602 | 589 | <li class="relative px-6 py-3"> |
603 | - <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
604 | - href="{{ route('admin.roles') }}"> | |
590 | + <a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.roles') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.roles') }}"> | |
605 | 591 | <svg |
606 | 592 | class="w-5 h-5" |
607 | 593 | aria-hidden="true" |
... | ... | @@ -622,8 +608,7 @@ |
622 | 608 | @endif |
623 | 609 | <li class="relative px-6 py-3"> |
624 | 610 | <a |
625 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
626 | - href="{{ route('admin.statics') }}" | |
611 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.statics') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.statics') }}" | |
627 | 612 | > |
628 | 613 | <svg |
629 | 614 | class="w-5 h-5" |
... | ... | @@ -645,8 +630,7 @@ |
645 | 630 | </li> |
646 | 631 | <li class="relative px-6 py-3"> |
647 | 632 | <a |
648 | - class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200" | |
649 | - href="{{ route('admin.messages') }}" | |
633 | + class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.messages') ? 'dark:text-gray-100' : null }}" href="{{ route('admin.messages') }}" | |
650 | 634 | > |
651 | 635 | <svg |
652 | 636 | class="w-5 h-5" |
... | ... | @@ -709,19 +693,19 @@ |
709 | 693 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
710 | 694 | aria-label="submenu" |
711 | 695 | > |
712 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
696 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles.index') ? 'dark:text-gray-100' : null }}"> | |
713 | 697 | <a class="w-full" href="{{ route('admin.job-titles.index') }}">Должности</a> |
714 | 698 | </li> |
715 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
699 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.categories.index') ? 'dark:text-gray-100' : null }}"> | |
716 | 700 | <a class="w-full" href="{{ route('admin.categories.index') }}">Категории вакансий</a> |
717 | 701 | </li> |
718 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
702 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.category-emp.index') ? 'dark:text-gray-100' : null }}"> | |
719 | 703 | <a class="w-full" href="{{ route('admin.category-emp.index') }}">Категории работодателей</a> |
720 | 704 | </li> |
721 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
705 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.education.index') ? 'dark:text-gray-100' : null }}"> | |
722 | 706 | <a class="w-full" href="{{ route('admin.education.index') }}">Образование</a> |
723 | 707 | </li> |
724 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
708 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.infobloks.index') ? 'dark:text-gray-100' : null }}"> | |
725 | 709 | <a class="w-full" href="{{ route('admin.infobloks.index') }}">Блоки-Дипломы</a> |
726 | 710 | </li> |
727 | 711 | |
... | ... | @@ -778,25 +762,25 @@ |
778 | 762 | class="p-2 mt-2 space-y-2 overflow-hidden text-sm font-medium text-gray-500 rounded-md shadow-inner bg-gray-50 dark:text-gray-400 dark:bg-gray-900" |
779 | 763 | aria-label="submenu" |
780 | 764 | > |
781 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
765 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-site') ? 'dark:text-gray-100' : null }}"> | |
782 | 766 | <a class="w-full" href="{{ route('admin.editor-site') }}">Редактор сайта</a> |
783 | 767 | </li> |
784 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
768 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.edit-blocks') ? 'dark:text-gray-100' : null }}"> | |
785 | 769 | <a class="w-full" href="{{ route('admin.edit-blocks') }}">Шапка-футер сайта</a> |
786 | 770 | </li> |
787 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
771 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.reclames') ? 'dark:text-gray-100' : null }}"> | |
788 | 772 | <a class="w-full" href="{{ route('admin.reclames') }}">Реклама</a> |
789 | 773 | </li> |
790 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
774 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-seo') ? 'dark:text-gray-100' : null }}"> | |
791 | 775 | <a class="w-full" href="{{ route('admin.editor-seo') }}">SEO сайта</a> |
792 | 776 | </li> |
793 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
777 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.editor-pages') ? 'dark:text-gray-100' : null }}"> | |
794 | 778 | <a class="w-full" href="{{ route('admin.editor-pages') }}">Редактор страниц</a> |
795 | 779 | </li> |
796 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
780 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.job-titles-main') ? 'dark:text-gray-100' : null }}"> | |
797 | 781 | <a class="w-full" href="{{ route('admin.job-titles-main') }}">Должности на главной</a> |
798 | 782 | </li> |
799 | - <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200"> | |
783 | + <li class="px-2 py-1 transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 {{ Request::routeIs('admin.employers-main') ? 'dark:text-gray-100' : null }}"> | |
800 | 784 | <a class="w-full" href="{{ route('admin.employers-main') }}">Работодатели на главной</a> |
801 | 785 | </li> |
802 | 786 |