Skip to content

Commit

Permalink
Merge pull request #37 from sora32127/add_userverifyed_page
Browse files Browse the repository at this point in the history
Add userverifyed page
  • Loading branch information
sora32127 authored Apr 30, 2024
2 parents 211f3d4 + 95355f6 commit adc0b26
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/_layout.signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function action({ request }: ActionFunctionArgs) {

const url = new URL(request.url);
const origin = url.origin;
const emailRedirectTo = `${origin}/login`;
const emailRedirectTo = `${origin}/userVerified`;

const { data, error } = await supabase.auth.signUp({
email,
Expand Down
14 changes: 14 additions & 0 deletions app/routes/_layout.userVerified.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { NavLink } from "@remix-run/react";
import { H1 } from "~/components/Headings";

export default function UserVerified() {
return (
<div>
<H1>ユーザー本登録完了</H1>
<div className="text-center">
<p>ユーザーの本登録が完了しました。</p>
<NavLink to="/login" className="text-info underline underline-offset-4">ログインページへ移動</NavLink>
</div>
</div>
);
}

1 comment on commit adc0b26

@vercel
Copy link

@vercel vercel bot commented on adc0b26 Apr 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.