vito/resources/views/livewire/user-dropdown.blade.php
Saeed Vaziry e997d0deea
WIP notifications and other refactors (#88)
* WIP notifications and other refactors
- refactor notification channels
- send notifications on events related to the servers and sites
- delete server log files on server deletion
- add telegram notification channel
- add new icons
- cache configs and icons on installation and updates
- new navbar for dark mode and settings

* discord channel

* build assets

* pint
2024-01-07 09:54:08 +01:00

26 lines
1.4 KiB
PHP

<div class="flex items-center text-gray-600 dark:text-gray-300">
<x-dropdown align="right" width="48">
<x-slot name="trigger">
<button class="flex items-center">
<x-heroicon-o-cog-6-tooth class="w-7 h-7" />
</button>
</x-slot>
<x-slot name="content">
<x-dropdown-link :href="route('profile')">{{ __('Profile') }}</x-dropdown-link>
<x-dropdown-link :href="route('projects')">{{ __('Projects') }}</x-dropdown-link>
<x-dropdown-link :href="route('server-providers')">{{ __('Server Providers') }}</x-dropdown-link>
<x-dropdown-link :href="route('source-controls')">{{ __('Source Controls') }}</x-dropdown-link>
<x-dropdown-link :href="route('storage-providers')">{{ __('Storage Providers') }}</x-dropdown-link>
<x-dropdown-link :href="route('notification-channels')">{{ __('Notification Channels') }}</x-dropdown-link>
<x-dropdown-link :href="route('ssh-keys')">{{ __('SSH Keys') }}</x-dropdown-link>
<!-- Authentication -->
<form method="POST" action="{{ route('logout') }}">
@csrf
<x-dropdown-link :href="route('logout')" onclick="event.preventDefault(); this.closest('form').submit();">
{{ __('Log Out') }}
</x-dropdown-link>
</form>
</x-slot>
</x-dropdown>
</div>