-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add user profile to manage account
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 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
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,18 @@ | ||
import type { Metadata } from 'next'; | ||
|
||
import { Main } from '@/templates/Main'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'Dashboard', | ||
description: 'User dashboard', | ||
}; | ||
|
||
const Dashboard = async () => { | ||
return ( | ||
<Main> | ||
<p>Hello</p> | ||
</Main> | ||
); | ||
}; | ||
|
||
export default Dashboard; |
16 changes: 16 additions & 0 deletions
16
src/app/(auth)/dashboard/user-profile/[[...user-profile]]/page.tsx
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,16 @@ | ||
import { UserProfile } from '@clerk/nextjs'; | ||
import type { Metadata } from 'next'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'Sign up', | ||
description: | ||
'Seamlessly sign in to your account with our user-friendly login process.', | ||
}; | ||
|
||
const UserProfilePage = () => ( | ||
<div className="flex min-h-screen items-center justify-center"> | ||
<UserProfile /> | ||
</div> | ||
); | ||
|
||
export default UserProfilePage; |