-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
702b468
commit 6175387
Showing
37 changed files
with
715 additions
and
692 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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import React from 'react' | ||
import { Landing } from '~/components/dashboard/Landing' | ||
import {Landing} from '~/components/dashboard/Landing' | ||
|
||
type Props = {} | ||
|
||
export default function SignIN({}: Props) { | ||
return ( | ||
<div><Landing/></div> | ||
) | ||
} | ||
return ( | ||
<div> | ||
<Landing /> | ||
</div> | ||
) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
import React from 'react' | ||
|
||
type Props = {} | ||
|
||
export default function Usage({}: Props) { | ||
return ( | ||
<div>Coming Soon...</div> | ||
) | ||
} | ||
return <div>Coming Soon...</div> | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
import {DashboardHeader} from '~/components/dashboard/Navigation/Header' | ||
import {authOptions} from '~/authOptions' | ||
import {getServerSession} from 'next-auth' | ||
import {authOptions} from '~/authOptions' | ||
import BackgroundGrid from '~/components/background-grid' | ||
import {DashboardHeader} from '~/components/dashboard/Navigation/Header' | ||
|
||
export default async function RootLayout({ | ||
children | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
const session = await getServerSession(authOptions) | ||
const session = await getServerSession(authOptions) | ||
|
||
return ( | ||
<div className='relative min-h-screen w-full bg-black px-8 text-white'> | ||
<BackgroundGrid className='absolute opacity-40 h-full w-full left-0 right-0 z-0' /> | ||
{session && <DashboardHeader | ||
return ( | ||
<div className='relative min-h-screen w-full bg-black px-8 text-white'> | ||
<BackgroundGrid className='absolute left-0 right-0 z-0 h-full w-full opacity-40' /> | ||
{session && ( | ||
<DashboardHeader | ||
session={session} | ||
avatarUrl={session.user.image} | ||
/>} | ||
<div className='z-10 fixed w-full'> | ||
{children} | ||
</div> | ||
</div> | ||
) | ||
} | ||
/> | ||
)} | ||
<div className='fixed z-10 w-full'>{children}</div> | ||
</div> | ||
) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "new-york", | ||
"aliases": { | ||
"components": "~/components", | ||
"utils": "~/utils" | ||
}, | ||
"rsc": true, | ||
"tsx": true, | ||
"style": "new-york", | ||
"tailwind": { | ||
"baseColor": "gray", | ||
"config": "tailwind.config.js", | ||
"css": "~/styles/globals.css", | ||
"baseColor": "gray", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "~/components", | ||
"utils": "~/utils" | ||
} | ||
} | ||
"tsx": true | ||
} |
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 |
---|---|---|
|
@@ -129,4 +129,4 @@ export default function BackgroundGrid({ | |
</g> | ||
</svg> | ||
) | ||
} | ||
} |
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 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
Oops, something went wrong.