Simplify buttons

This commit is contained in:
Lance Pioch 2024-05-20 14:38:48 -04:00
parent 7ea365e8de
commit 2808a3dd35
2 changed files with 6 additions and 16 deletions

View File

@ -39,12 +39,7 @@ class Dashboard extends Page
'devActions' => [
CreateAction::make()
->label(trans('dashboard/index.sections.intro-developers.button_issues'))
->icon('tabler-brand-github')
->url('https://github.com/pelican-dev/panel/issues/new/choose', true)
->color('warning'),
CreateAction::make()
->label(trans('dashboard/index.sections.intro-developers.button_features'))
->label('Bugs & Features')
->icon('tabler-brand-github')
->url('https://github.com/pelican-dev/panel/discussions', true),
],
@ -55,10 +50,6 @@ class Dashboard extends Page
->url(route('filament.admin.resources.nodes.create')),
],
'supportActions' => [
CreateAction::make()
->label(trans('dashboard/index.sections.intro-support.button_translate'))
->icon('tabler-language')
->url('https://crowdin.com/project/pelican-dev', true),
CreateAction::make()
->label(trans('dashboard/index.sections.intro-support.button_donate'))
->icon('tabler-cash')
@ -70,11 +61,6 @@ class Dashboard extends Page
->label(trans('dashboard/index.sections.intro-help.button_docs'))
->icon('tabler-speedboat')
->url('https://pelican.dev/docs', true),
CreateAction::make()
->label(trans('dashboard/index.sections.intro-help.button_discord'))
->icon('tabler-brand-discord')
->url('https://discord.gg/pelican-panel', true)
->color('blurple'),
],
];
}

View File

@ -80,7 +80,11 @@
>
<x-slot name="heading">{{ trans('dashboard/index.sections.intro-help.heading') }}</x-slot>
<p>{{ trans('dashboard/index.sections.intro-help.content') }}</p>
<p>
Check out the documentation first!
If you still need assistance then, fly onto our
<a class="underline" href="https://discord.gg/pelican-panel">Discord server</a>!
</p>
</x-filament::section>