|
|
|
@ -28,13 +28,13 @@ export default function LoginPage({
|
|
|
|
|
<div className="sm:mx-auto sm:w-full sm:max-w-md">
|
|
|
|
|
<img
|
|
|
|
|
alt="Tech Interview Handbook"
|
|
|
|
|
className="mx-auto h-24 w-auto"
|
|
|
|
|
className="mx-auto h-24 w-auto sm:h-36"
|
|
|
|
|
src="/logo.svg"
|
|
|
|
|
/>
|
|
|
|
|
<h2 className="mt-6 text-center text-3xl font-bold tracking-tight text-slate-900">
|
|
|
|
|
<h2 className="mt-6 text-center text-2xl font-bold tracking-tight text-slate-900 sm:text-3xl">
|
|
|
|
|
Sign in to Tech Interview Handbook Portal
|
|
|
|
|
</h2>
|
|
|
|
|
<p className="mt-2 text-center text-slate-600">
|
|
|
|
|
<p className="mt-2 text-center text-sm text-slate-600 sm:text-base">
|
|
|
|
|
Get your resumes peer-reviewed, discuss solutions to tech interview
|
|
|
|
|
questions, explore offer data points.
|
|
|
|
|
</p>
|
|
|
|
@ -48,7 +48,11 @@ export default function LoginPage({
|
|
|
|
|
addonPosition="start"
|
|
|
|
|
display="block"
|
|
|
|
|
icon={GitHubIcon}
|
|
|
|
|
label={`Sign in with ${provider.name}`}
|
|
|
|
|
label={
|
|
|
|
|
router.query.mode === 'signup'
|
|
|
|
|
? `Sign up with ${provider.name}`
|
|
|
|
|
: `Sign in with ${provider.name}`
|
|
|
|
|
}
|
|
|
|
|
type="button"
|
|
|
|
|
variant="primary"
|
|
|
|
|
onClick={() =>
|
|
|
|
@ -65,6 +69,11 @@ export default function LoginPage({
|
|
|
|
|
</div>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
{router.query.mode === 'signup' && (
|
|
|
|
|
<p className="mt-2 text-center text-xs text-slate-500 sm:text-sm">
|
|
|
|
|
Sign up for an account via GitHub, it's free!
|
|
|
|
|
</p>
|
|
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|