feat: begin support for components and dark mode

This commit is contained in:
Aarnav Tale 2024-03-29 15:41:10 -04:00
parent abb957c573
commit b5658750a9
No known key found for this signature in database
12 changed files with 195 additions and 89 deletions

View file

@ -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
{' '}
<code className='bg-gray-100 p-1 rounded-md'>
<Code>
headscale apikeys create
</code>
</Code>
{' '}
in your terminal.
</p>