Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #379: Extract menu logo to component #396

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<a aria-label="Home page link" href="{{ $homeRoute }}" class="font-bold px-4">
{{ config('hyde.name', 'HydePHP') }}
</a>
4 changes: 1 addition & 3 deletions resources/views/layouts/navigation.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

<nav aria-label="Main navigation" id="main-navigation" class="flex flex-wrap items-center justify-between p-4 shadow-lg sm:shadow-xl md:shadow-none dark:bg-gray-800">
<div class="flex flex-grow items-center flex-shrink-0 text-gray-700 dark:text-gray-200">
<a aria-label="Home page link" href="{{ $homeRoute }}" class="font-bold px-4">
{{ config('hyde.name', 'HydePHP') }}
</a>
@include('hyde::components.navigation.navigation-brand')

<div class="ml-auto">
@include('hyde::components.navigation.theme-toggle-button')
Expand Down