+
+
+
{/* TODO: Split DNS and Custom A Records */}
@@ -159,9 +156,9 @@ export default function Page() {
Automaticall register domain names for each device
on the tailnet. Devices will be accessible at
{' '}
-
+
[device].[user].{data.baseDomain}
-
+
{' '}
when Magic DNS is enabled.
diff --git a/app/routes/_data.machines.$id.tsx b/app/routes/_data.machines.$id.tsx
index 13dc219..ade2c91 100644
--- a/app/routes/_data.machines.$id.tsx
+++ b/app/routes/_data.machines.$id.tsx
@@ -2,6 +2,7 @@ import { type LoaderFunctionArgs } from '@remix-run/node'
import { Link, useLoaderData } from '@remix-run/react'
import Attribute from '~/components/Attribute'
+import Card from '~/components/Card'
import StatusCircle from '~/components/StatusCircle'
import { type Machine } from '~/types'
import { pull } from '~/utils/headscale'
@@ -41,7 +42,7 @@ export default function Page() {
-
+
)
}
diff --git a/app/routes/_data.users._index.tsx b/app/routes/_data.users._index.tsx
index 7850898..8f77f2e 100644
--- a/app/routes/_data.users._index.tsx
+++ b/app/routes/_data.users._index.tsx
@@ -5,6 +5,7 @@ import { useLoaderData } from '@remix-run/react'
import { toast } from 'react-hot-toast/headless'
import Attribute from '~/components/Attribute'
+import Card from '~/components/Card'
import StatusCircle from '~/components/StatusCircle'
import { type Machine, type User } from '~/types'
import { pull } from '~/utils/headscale'
@@ -44,7 +45,7 @@ export default function Page() {
return (
{data.map(user => (
-
+
@@ -59,7 +60,7 @@ export default function Page() {
))}
-
+
))}
)
diff --git a/app/routes/login.tsx b/app/routes/login.tsx
index c57cab8..5ac5919 100644
--- a/app/routes/login.tsx
+++ b/app/routes/login.tsx
@@ -2,6 +2,7 @@ import { type ActionFunctionArgs, json, type LoaderFunctionArgs, redirect } from
import { Form, Link, useActionData, useLoaderData } from '@remix-run/react'
import { useMemo } from 'react'
+import Code from '~/components/Code'
import { pull } from '~/utils/headscale'
import { startOidc } from '~/utils/oidc'
import { commitSession, getSession } from '~/utils/sessions'
@@ -82,9 +83,9 @@ export default function Page() {
Enter an API key to authenticate with Headplane. You can generate
one by running
{' '}
-
+
headscale apikeys create
-
+
{' '}
in your terminal.