Skip to content

Commit

Permalink
feat(frontend): update login/signup buttons to Coming Soon
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCLim committed Jul 18, 2024
1 parent c8be69d commit bf0a1ef
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
15 changes: 9 additions & 6 deletions frontend/src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,15 @@ const NavBar = ({ campaign }: { campaign: string }) => {
{loggedIn ? (
<AvatarButton />
) : (
<a
tw="rounded bg-indigo-400/30 px-3 py-1.5 text-black shadow transition-colors hover:bg-indigo-400/[0.42]"
href={import.meta.env.VITE_OAUTH_CALLBACK_URL as string}
>
Get Started
</a>
// <a
// tw="rounded bg-indigo-400/30 px-3 py-1.5 text-black shadow transition-colors hover:bg-indigo-400/[0.42]"
// href={import.meta.env.VITE_OAUTH_CALLBACK_URL as string}
// >
// Get Started
// </a>
<p tw="rounded bg-indigo-400/30 px-3 py-1.5 text-black shadow transition-colors hover:bg-indigo-400/[0.42]">
Coming Soon!
</p>
)}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/landing/components/DashboardButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const DashboardButton = <T extends ElementType>({
<Button className="group" {...props}>
<ButtonShadow />
<ButtonBg />
<ChevronRightIcon tw="h-6 w-6" />
{/* <ChevronRightIcon tw="h-6 w-6" /> */}
{children}
</Button>
);
Expand Down
7 changes: 5 additions & 2 deletions frontend/src/pages/landing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,11 @@ const Landing = () => {
Your Dashboard
</DashboardButton>
) : (
<DashboardButton as="a" href={OAUTH_CALLBACK_URL}>
Get Started
// <DashboardButton as="a" href={OAUTH_CALLBACK_URL}>
// Get Started
// </DashboardButton>
<DashboardButton as="a" disabled>
Coming Soon!
</DashboardButton>
)}
</Transition>
Expand Down

0 comments on commit bf0a1ef

Please sign in to comment.