Files
investbrain/resources/views/components/partials/nav-bar.blade.php
T

66 lines
2.3 KiB
PHP
Raw Normal View History

2024-08-01 13:53:10 -05:00
<div class="bg-base-100 border-base-300 border-b sticky top-0 z-10">
2024-10-18 21:14:37 -05:00
<div class="flex justify-between items-center px-7 py-3 gap-4 mx-auto">
<div class="flex flex-0 items-center">
2024-08-01 13:53:10 -05:00
<label for="main-drawer" class="lg:hidden mr-3">
<x-icon name="o-bars-3" class="cursor-pointer" />
</label>
2024-08-23 22:39:14 -05:00
<div class="hidden md:block" style="height:3.1em">
<x-application-logo />
</div>
2024-08-01 13:53:10 -05:00
</div>
2024-10-18 21:14:37 -05:00
<div class="flex flex-1 justify-center" x-data>
2024-08-01 13:53:10 -05:00
<x-spotlight
shortcut="slash"
search-text="{{ __('Search holdings, portfolios, or anything else...') }}"
no-results-text="{{ __('Darn! Nothing found for that search.') }}"
/>
2024-08-23 23:04:08 -05:00
2024-08-01 13:53:10 -05:00
<x-button
2024-08-27 18:12:51 -05:00
@click.stop="$dispatch('mary-search-open')"
2024-10-18 21:14:37 -05:00
class="btn-sm flex-1 justify-start md:flex-none"
2024-08-01 13:53:10 -05:00
>
<x-slot:label>
2024-10-18 21:06:05 -05:00
<span class="flex">
<x-icon name="o-magnifying-glass" class="mr-2" />
<span class="hidden md:block">
@lang('Click or press :key to search', ['key' => '<kbd class="kbd kbd-sm">/</kbd>'])
</span>
</span>
2024-08-01 13:53:10 -05:00
</x-slot:label>
</x-button>
</div>
2024-10-18 21:14:37 -05:00
<div class="flex flex-0 items-center gap-4">
2024-08-01 18:07:56 -05:00
<x-button
title="{{ __('Documentation') }}"
icon="o-book-open"
class="btn-circle btn-ghost btn-sm"
2024-08-24 22:56:23 -05:00
link="https://github.com/investbrainapp/investbrain"
2024-08-01 18:07:56 -05:00
external
>
</x-button>
2024-08-01 14:44:52 -05:00
<x-button
title="{{ __('We\'re open source!') }}"
class="btn-circle btn-ghost btn-sm"
2024-08-24 22:56:23 -05:00
link="https://github.com/investbrainapp/investbrain"
2024-08-01 14:44:52 -05:00
external
>
<x-github-icon />
</x-button>
2024-08-01 13:53:10 -05:00
<x-theme-toggle
title="{{ __('Toggle Theme') }}"
class="btn-circle btn-ghost btn-sm"
2024-08-04 18:28:07 -05:00
darkTheme="business"
lightTheme="corporate"
2024-08-01 13:53:10 -05:00
/>
</div>
</div>
</div>