Navigation

Simple Navigation

<nav>
    <ul class="flex items-center space-x-4">
        @foreach (pages()->whereIn('slug', ['home', 'events', 'about', 'contact'])->get() as $page)
            <li>
                <a href="{{ $page->url() }}" class="{{ $page->active() ? 'font-bold' : '' }}">
                    {{ $page->title }}
                </a>
            </li>
        @endforeach
    </ul>
</nav>

Coming Soon!

Previous topic
← Grids