todo/resources/views/layouts/layout.blade.php

40 lines
1.8 KiB
PHP
Raw Permalink Normal View History

2024-05-02 10:06:39 +03:00
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ToDo</title>
2024-05-02 16:54:51 +03:00
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
2024-05-02 10:06:39 +03:00
</head>
<body>
2024-05-02 16:54:51 +03:00
<div class="container">
<nav class="navbar navbar-expand-lg bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">ToDo</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link {{ request()->is('admin/tasks*') ? 'active' : '' }}" aria-current="page" href="{{ route('tasks.index') }}">Задачи</a>
</li>
<li class="nav-item">
<a class="nav-link {{ request()->is('admin/task_statuses*') ? 'active' : '' }}" aria-current="page" href="{{ route('task_statuses.index') }}">Статусы</a>
</li>
<li class="nav-item">
<a class="nav-link {{ request()->is('admin/labels*') ? 'active' : '' }}" href="{{ route('labels.index') }}">Метки</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
<div class="container mt-4">
@yield('content')
</div>
2024-05-02 10:06:39 +03:00
</body>
</html>