-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cleanup * Update stuff * Formatting * Fix github credentials
- Loading branch information
1 parent
a807621
commit 5df5d14
Showing
13 changed files
with
178 additions
and
203 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 |
---|---|---|
|
@@ -32,5 +32,5 @@ | |
"parse-github-url": "^1.0.2", | ||
"prisma": "^5.14.0" | ||
}, | ||
"version": "0.0.1" | ||
"version": "0.0.2" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { getServerAuthSession } from "~/server/auth"; | ||
import { api } from "~/trpc/server"; | ||
import SignInScreen from "../_components/SignInScreen"; | ||
import Navbar from "../_components/NavBar"; | ||
|
||
export default async function CLIInfo() { | ||
const session = await getServerAuthSession(); | ||
const token = await api.token(); | ||
|
||
return session ? ( | ||
<> | ||
<Navbar /> | ||
<div className="min-h-screen min-x-screen"> | ||
<div className="px-4 sm:px-12 md:px-24 lg:px-48 py-12 min-x-screen min-h-screen bg-gradient-to-b from-generate-dark to-black from-33 text-white"> | ||
<div className=" text-lg">How to run:</div> | ||
<div> | ||
<div className=" text-white">npx generate-devdb</div> | ||
<div className=" text-white">bunx generate-devdb</div> | ||
</div> | ||
<div className=" text-lg"> | ||
Token:{" "} | ||
{token ? token.sessionToken : "You aren't supposed to see this"} | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
) : ( | ||
<SignInScreen /> | ||
); | ||
//return <>Token: {token ? token.sessionToken : "You aren't supposed to see this"}</>; | ||
} |
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
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 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
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.