ui: convert text-styled action links to proper buttons
- Login page: 'Sign up' link → full-width button - Agent setup: 'View Setup' text links → secondary buttons Makes primary actions more visually prominent and consistent with button component design system.
This commit is contained in:
parent
34e9365520
commit
c94ac6e650
1 changed files with 6 additions and 6 deletions
|
|
@ -142,14 +142,14 @@
|
|||
<:action :let={{_id, agent}}>
|
||||
<%= if agent.enabled do %>
|
||||
<div class="flex items-center gap-3">
|
||||
<button
|
||||
<.button
|
||||
type="button"
|
||||
phx-click="show_setup"
|
||||
phx-value-id={agent.id}
|
||||
class="text-sm font-medium text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300"
|
||||
variant="secondary"
|
||||
>
|
||||
{t("View Setup")}
|
||||
</button>
|
||||
</.button>
|
||||
<button
|
||||
type="button"
|
||||
phx-click="delete_agent"
|
||||
|
|
@ -258,14 +258,14 @@
|
|||
<:action :let={{_id, agent}}>
|
||||
<%= if agent.enabled do %>
|
||||
<div class="flex items-center gap-3">
|
||||
<button
|
||||
<.button
|
||||
type="button"
|
||||
phx-click="show_setup"
|
||||
phx-value-id={agent.id}
|
||||
class="text-sm font-medium text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300"
|
||||
variant="secondary"
|
||||
>
|
||||
{t("View Setup")}
|
||||
</button>
|
||||
</.button>
|
||||
<button
|
||||
type="button"
|
||||
phx-click="delete_agent"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue