77 */
88import { useState } from 'react'
99import { useForm } from 'react-hook-form'
10- import { Link , Outlet , useNavigate , type LoaderFunctionArgs } from 'react-router-dom'
10+ import { Outlet , useNavigate , type LoaderFunctionArgs } from 'react-router-dom'
1111
1212import {
1313 apiQueryClient ,
@@ -19,6 +19,7 @@ import {
1919} from '@oxide/api'
2020import { IpGlobal24Icon , Networking24Icon } from '@oxide/design-system/icons/react'
2121
22+ import { ExternalLink } from '~/components/ExternalLink'
2223import { HL } from '~/components/HL'
2324import { getProjectSelector , useProjectSelector } from '~/hooks'
2425import { confirmAction } from '~/stores/confirm-action'
@@ -27,13 +28,13 @@ import { addToast } from '~/stores/toast'
2728import { InstanceLinkCell } from '~/table/cells/InstanceLinkCell'
2829import type { MenuAction } from '~/table/columns/action-col'
2930import { useQueryTable } from '~/table/QueryTable'
30- import { buttonStyle } from '~/ui/lib/Button'
3131import { EmptyMessage } from '~/ui/lib/EmptyMessage'
3232import { Listbox } from '~/ui/lib/Listbox'
3333import { Message } from '~/ui/lib/Message'
3434import { Modal } from '~/ui/lib/Modal'
3535import { PageHeader , PageTitle } from '~/ui/lib/PageHeader'
36- import { TableActions } from '~/ui/lib/Table'
36+ import { TableControls , TableControlsLink , TableControlsText } from '~/ui/lib/Table'
37+ import { links } from '~/util/links'
3738import { pb } from '~/util/path-builder'
3839
3940const EmptyState = ( ) => (
@@ -161,11 +162,16 @@ export function FloatingIpsPage() {
161162 < PageHeader >
162163 < PageTitle icon = { < IpGlobal24Icon /> } > Floating IPs</ PageTitle >
163164 </ PageHeader >
164- < TableActions >
165- < Link to = { pb . floatingIpsNew ( { project } ) } className = { buttonStyle ( { size : 'sm' } ) } >
165+ < TableControls >
166+ < TableControlsText >
167+ Floating IPs are public IP addresses that can be attached to instances. They allow
168+ your instances to be reachable from the internet. Find out more about{ ' ' }
169+ < ExternalLink href = { links . floatingIpsDocs } > managing floating IPs</ ExternalLink > .
170+ </ TableControlsText >
171+ < TableControlsLink to = { pb . floatingIpsNew ( { project } ) } >
166172 New Floating IP
167- </ Link >
168- </ TableActions >
173+ </ TableControlsLink >
174+ </ TableControls >
169175 < Table emptyState = { < EmptyState /> } makeActions = { makeActions } >
170176 < Column accessor = "name" />
171177 < Column accessor = "description" />
0 commit comments