I created a single navbar for Guest and Auth. But I need to use the syntax @guest or @auth to display the appropriate navbar for each user.
But you can't use @guest inside the component. How can I solve this without having to call two navbar in app.blade.php and use @guest there?
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!