diff --git a/apps/portal/src/components/global/AppShell.tsx b/apps/portal/src/components/global/AppShell.tsx index 3a29256c..6c9a7469 100644 --- a/apps/portal/src/components/global/AppShell.tsx +++ b/apps/portal/src/components/global/AppShell.tsx @@ -6,6 +6,7 @@ import type { ReactNode } from 'react'; import { Fragment, useState } from 'react'; import { Menu, Transition } from '@headlessui/react'; import { Bars3BottomLeftIcon } from '@heroicons/react/24/outline'; +import { Button } from '@tih/ui'; import GlobalNavigation from '~/components/global/GlobalNavigation'; import HomeNavigation from '~/components/global/HomeNavigation'; @@ -37,9 +38,25 @@ function ProfileJewel() { const loginHref = loginPageHref(); if (session == null) { return router.pathname !== loginHref.pathname ? ( - - Sign In - +
+ + Sign In + +
) : null; } diff --git a/apps/portal/src/pages/login.tsx b/apps/portal/src/pages/login.tsx index bcc4262c..113eb891 100644 --- a/apps/portal/src/pages/login.tsx +++ b/apps/portal/src/pages/login.tsx @@ -28,13 +28,13 @@ export default function LoginPage({
Tech Interview Handbook -

+

Sign in to Tech Interview Handbook Portal

-

+

Get your resumes peer-reviewed, discuss solutions to tech interview questions, explore offer data points.

@@ -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({
))} + {router.query.mode === 'signup' && ( +

+ Sign up for an account via GitHub, it's free! +

+ )}