Last change
on this file was 0924b6c, checked in by Özkan İliyaz <iliyaz_96@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 |
|
---|
2 | <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top pt-0 pb-0 mainNavbar">
|
---|
3 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
|
---|
4 | <span class="navbar-toggler-icon"></span>
|
---|
5 | </button>
|
---|
6 |
|
---|
7 | <a class="navbar-brand logo" href="#">
|
---|
8 | <img src="{{ asset("assets/images/logo.png") }}" alt="Technoblog Logo">
|
---|
9 | </a>
|
---|
10 |
|
---|
11 | <div class="collapse navbar-collapse" id="navbarTogglerDemo03">
|
---|
12 | <ul class="navbar-nav mr-auto">
|
---|
13 | <li class="nav-item pl-0 pr-0">
|
---|
14 | <a href="{{ route("blog.index") }}" class="nav-link {{ request()->is("/") ? "active" : "" }}">Home</a>
|
---|
15 | </li>
|
---|
16 | @foreach ($blogCategories as $category)
|
---|
17 | <li class="nav-item pl-0 pr-0">
|
---|
18 | <a href="{{ "/category/" . strtolower($category->name) }}" class="nav-link {{ request()->is(["category/" . strtolower($category->name), "category/" . strtolower($category->name) . "/*"]) ? 'active' : '' }}">{{ $category->name }}</a>
|
---|
19 | </li>
|
---|
20 | @endforeach
|
---|
21 | </ul>
|
---|
22 | <form action="{{ route("blog.search") }}" method="get" class="form-inline my-2 my-lg-0 searchForm">
|
---|
23 | <div class="input-group input-group-sm">
|
---|
24 | <input type="text" class="form-control" name="q" placeholder="Search" required>
|
---|
25 | <div class="input-group-append">
|
---|
26 | <input type="submit" class="btn bg-primary text-light searchSubmitBtn" value="Search">
|
---|
27 | </div>
|
---|
28 | </div>
|
---|
29 | </form>
|
---|
30 | </div>
|
---|
31 | </nav>
|
---|
32 | <div style="height: 110px;"></div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.