diff --git a/apps/auth/src/app/layout.tsx b/apps/auth/src/app/layout.tsx index febc2c6..4d89a03 100644 --- a/apps/auth/src/app/layout.tsx +++ b/apps/auth/src/app/layout.tsx @@ -1,4 +1,5 @@ import type { Metadata } from "next" +import Link from "next/link" import "./globals.css" export const metadata: Metadata = { @@ -12,8 +13,15 @@ export default function RootLayout({ children: React.ReactNode }>) { return ( - - + + +
+

+ + Karr Auth + +

+
{children} diff --git a/apps/auth/src/app/page.tsx b/apps/auth/src/app/page.tsx index 702becd..8f203e3 100644 --- a/apps/auth/src/app/page.tsx +++ b/apps/auth/src/app/page.tsx @@ -1,12 +1,13 @@ import { Suspense } from "react" -import Button from "@ui/components/Button.tsx" +import { Button, Loading } from "@ui/components" export default function Home() { return (

Welcome to Karr Auth!

+ - Loading...
}> + }> diff --git a/apps/auth/tsconfig.json b/apps/auth/tsconfig.json index b6b7104..8fd4bab 100644 --- a/apps/auth/tsconfig.json +++ b/apps/auth/tsconfig.json @@ -23,15 +23,16 @@ "name": "next" } ], + "baseUrl": ".", "paths": { "~/*": [ "./src/*" ], - "@ui/*": [ - "../../packages/ui/src/*" + "@ui/components": [ + "../../packages/ui/src/components/index" ], - "@util/*": [ - "../../packages/util/src/*" + "@util": [ + "../../packages/util/src/utilities" ] } },