24 lines
736 B
TypeScript
24 lines
736 B
TypeScript
import type {Metadata} from 'next';
|
|
import {LoginSplit} from '@/features/auth/components/LoginSplit';
|
|
import {JoinForm} from '@/features/auth/components/JoinForm';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Join your team',
|
|
};
|
|
|
|
/**
|
|
* Where an invitation code is redeemed. Public — see PUBLIC_PATHS in proxy.ts —
|
|
* because the person here has no account yet; that is the point of the page.
|
|
* Sits in the (public) group with /login and shares its frame.
|
|
*/
|
|
export default function JoinPage() {
|
|
return (
|
|
<LoginSplit
|
|
title="Join your team"
|
|
description="Enter the invitation code your manager gave you, then choose your own password. Nobody else ever sees it."
|
|
>
|
|
<JoinForm />
|
|
</LoginSplit>
|
|
);
|
|
}
|