Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addUser #1272

Merged
merged 2 commits into from
Jul 17, 2024
Merged

addUser #1272

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blog/src/components/Index/CallToAction.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Button from "../common/Button.astro";
---

<div class="flex flex-col sm:flex-row items-center justify-center space-y-4 sm:space-y-0 sm:space-x-4">
<a href="https://game.earthdoom.com" class="w-full sm:w-auto">
<a href="https://accounts.earthdoom.com/sign-in?redirect_url=https%3A%2F%2Fgame.earthdoom.com%2F/addUser" class="w-full sm:w-auto">
<Button>Play</Button>
</a>
<a href="/manual" class="w-full sm:w-auto">
Expand Down
10 changes: 1 addition & 9 deletions game/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,7 @@ function MyApp({ Component, pageProps }: AppProps) {
// If the current route is listed as public, render it directly
// Otherwise, use Clerk to require authentication
return (
<ClerkProvider


signInFallbackRedirectUrl="/addUser"
signUpFallbackRedirectUrl="/addUser"



{...pageProps}>
<ClerkProvider {...pageProps}>
{isPublicPage ? (
<Component {...pageProps} />
) : (
Expand Down