Skip to content

Commit

Permalink
Merge pull request #931 from hngprojects/feat/fix-authentication
Browse files Browse the repository at this point in the history
Feat/fix authentication
  • Loading branch information
Justfemi authored Aug 7, 2024
2 parents 7790976 + 9f61921 commit f197514
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 108 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"eslint-plugin-unused-imports": "^3.2.0",
"eslint-plugin-vitest": "^0.4.1",
"jsdom": "^24.1.1",
"postcss": "^8.4.40",
"postcss": "^8.4.41",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.7",
Expand Down
126 changes: 63 additions & 63 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 0 additions & 22 deletions src/app/(auth-routes)/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,28 +122,6 @@ const Login = () => {
>
Continue with Google
</CustomButton>
<CustomButton
className="w-full"
variant="outline"
onClick={() => signIn("twitter", { callbackUrl: "/dashboard" })}
isLeftIconVisible={true}
icon={
<svg
width="25"
height="24"
viewBox="0 0 11 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.03955 0.88031H9.57312L6.22312 4.71888L10.1646 9.94317H7.07884L4.66027 6.77531L1.89598 9.94317H0.360979L3.94384 5.83602L0.164551 0.881024H3.32884L5.51169 3.77602L8.03955 0.88031ZM7.50027 9.02317H8.35027L2.86455 1.75245H1.95312L7.50027 9.02317Z"
fill="#0A0A0A"
/>
</svg>
}
>
Continue with Twitter
</CustomButton>
</div>
<div className="flex items-center justify-center">
<hr className="w-full border-t border-gray-300" />
Expand Down
Loading

0 comments on commit f197514

Please sign in to comment.