feat: redesign tooltips

This commit is contained in:
Aarnav Tale 2025-02-01 15:28:04 -05:00
parent c9d8052e39
commit 68babd7fe9
No known key found for this signature in database
9 changed files with 103 additions and 70 deletions

View file

@ -150,9 +150,7 @@ export default function Page() {
<span className="text-sm text-ui-600 dark:text-ui-300 flex items-center gap-x-1">
Managed by
<Tooltip>
<Tooltip.Button>
<InfoIcon className="w-3.5 h-3.5" />
</Tooltip.Button>
<InfoIcon className="w-3.5 h-3.5" />
<Tooltip.Body>
By default, a machines permissions match its creators.
</Tooltip.Body>
@ -209,9 +207,7 @@ export default function Page() {
<span className="text-ui-600 dark:text-ui-300 flex items-center gap-x-1">
Approved
<Tooltip>
<Tooltip.Button>
<InfoIcon className="w-3.5 h-3.5" />
</Tooltip.Button>
<InfoIcon className="w-3.5 h-3.5" />
<Tooltip.Body>
Traffic to these routes are being routed through this machine.
</Tooltip.Body>
@ -242,9 +238,7 @@ export default function Page() {
<span className="text-ui-600 dark:text-ui-300 flex items-center gap-x-1">
Awaiting Approval
<Tooltip>
<Tooltip.Button>
<InfoIcon className="w-3.5 h-3.5" />
</Tooltip.Button>
<InfoIcon className="w-3.5 h-3.5" />
<Tooltip.Body>
This machine is advertising these routes, but they must be
approved before traffic will be routed to them.
@ -276,9 +270,7 @@ export default function Page() {
<span className="text-ui-600 dark:text-ui-300 flex items-center gap-x-1">
Exit Node
<Tooltip>
<Tooltip.Button>
<InfoIcon className="w-3.5 h-3.5" />
</Tooltip.Button>
<InfoIcon className="w-3.5 h-3.5" />
<Tooltip.Body>
Whether this machine can act as an exit node for your tailnet.
</Tooltip.Body>