-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Fix formatting in middleware.ts, route.ts, loading.tsx, and…
… use-system-theme.ts feat: Add next-auth middleware and configure profile route setup env add nextui Delete middleware.ts Add next-auth type declaration
- Loading branch information
Showing
6 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Card, CardBody } from "@nextui-org/react"; | ||
|
||
export default function Guestbook() { | ||
return ( | ||
<Card className="max-w-d mx-auto mt-4"> | ||
<CardBody> | ||
<h1>Guestbook</h1> | ||
<p>Leave a message for the owner of this guestbook.</p> | ||
</CardBody> | ||
</Card> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { DefaultSession } from "next-auth"; | ||
|
||
declare module "next-auth" { | ||
interface Session { | ||
user: { | ||
id: string; | ||
} & DefaultSession["user"]; | ||
} | ||
} |