/Auth/page.tsx
//this should be a server component
import { AuthPage } from "redshield/ui";
const Auth = () => {
return (
<div>
<AuthPage />
</div>
);
};
export default Auth;
Note : This has to be a server component.
LogOutButtonComponent.tsx
import { LogOutButton } from "redshield/ui";
const LogOutComponent = () => {
return <LogOutButton className="" />
}
export default LogOutComponent;
/ResetPassword/[token]/page.tsx
import { ResetPassPage } from "redshield/ui";
const ResetPassword = ({ params }: { params: { token: string } }) => {
return (
<div>
<ResetPassPage token={params.token} />
</div>
);
};
export default ResetPassword;
Note : This is a server component.