diff --git a/app/page.tsx b/app/page.tsx index 45c8a7e..39e4393 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,7 +1,7 @@ import { isAdmin } from '@/lib/auth/is-admin' import { type User, currentUser } from '@clerk/nextjs/server' import { PlusIcon } from '@radix-ui/react-icons' -import { Box, Button, Heading, Section } from '@radix-ui/themes' +import { Box, Button, Flex, Heading, Section } from '@radix-ui/themes' import Link from 'next/link' import { JobList } from './components/list/job-list' @@ -13,25 +13,22 @@ export default async function Home() { return ( <>
- + Oh! What a tracker! - -
- {isAdmin(user) && ( -
- - - - - -
- )} -
- + {isAdmin(user) && ( + + + + + + )} +
+ + ) }