Skip to content

Commit

Permalink
add menu items for viewing posts and adding new ones
Browse files Browse the repository at this point in the history
  • Loading branch information
levijackson committed Jun 25, 2021
1 parent e66c4d2 commit c3f0d49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/views/layouts/app.blade.php
Expand Up @@ -26,6 +26,10 @@
<a class="navbar-brand" href="{{ url('/') }}">
{{ config('app.name', 'Laravel') }}
</a>
<a class="nav-link" href="{{ url('/blog') }}">All Posts</a>
@auth
<a class="nav-link" href="{{ url('/admin/blog/post') }}">+ New Post</a>
@endauth
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
<span class="navbar-toggler-icon"></span>
</button>
Expand Down

0 comments on commit c3f0d49

Please sign in to comment.