Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions src/components/auth/social-auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,29 @@ export const GoogleOauthButton = ({ label }: { label: string }) => (
aria-label="google-oauth-button"
>
<svg
className="w-4 h-4 mr-2"
aria-hidden="true"
focusable="false"
data-prefix="fab"
data-icon="google"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 488 512"
x="0px"
y="0px"
width="24"
height="24"
viewBox="0 0 48 48"
>
<path
fill="currentColor"
d="M488 261.8c0-17.8-1.6-35.6-4.9-52.9H249.2v99.4h135.3c-5.8 30-23.1 55.3-49.2 72.1v59.8h79.4c46.5-42.9 73.3-106 73.3-178.4zM249.2 480c65.7 0 120.7-21.8 160.9-59.2l-79.4-59.8c-22.2 14.9-50.5 23.7-81.5 23.7-62.7 0-115.8-42.3-134.7-99.2H33.8v62.1C74 428.7 157.5 480 249.2 480zM114.5 303.7c-7.8-22.8-7.8-47.5 0-70.3V171.3H33.8c-35.1 69.8-35.1 151.8 0 221.6l80.7-62.1zM249.2 97.4c35.8-.6 70.1 12.7 96.2 36.2l72.3-69.2C370.2 28.3 310.4 0 249.2 0 157.5 0 74 51.3 33.8 130.4l80.7 62.1c18.9-56.9 72-99.2 134.7-95.1z"
/>
fill="#FFC107"
d="M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z"
></path>
<path
fill="#FF3D00"
d="M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z"
></path>
<path
fill="#4CAF50"
d="M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z"
></path>
<path
fill="#1976D2"
d="M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z"
></path>
</svg>
{label}
</Button>
Expand Down