Refactor sign-in page and IAM service lifecycle
Redesign the sign-in page to show email/password form inline with OIDC provider buttons (with vendor icons) instead of separate pages. Extract OIDCProvider type to its own file. Replace errgroup with sync.WaitGroup + WithCancelCause for graceful shutdown in IAM services. Refactor garbage collectors to use functional options and time.Ticker instead of time.After to avoid repeated allocations. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
19
packages/ui/src/Atoms/Vendors/Microsoft.tsx
Normal file
19
packages/ui/src/Atoms/Vendors/Microsoft.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import type { ComponentProps } from "react";
|
||||
|
||||
export function Microsoft(props: ComponentProps<"svg">) {
|
||||
return (
|
||||
<svg
|
||||
width="800px"
|
||||
height="800px"
|
||||
viewBox="0 0 256 256"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
preserveAspectRatio="xMidYMid"
|
||||
{...props}
|
||||
>
|
||||
<rect x="0" y="0" width="121" height="121" fill="#F25022" />
|
||||
<rect x="135" y="0" width="121" height="121" fill="#7FBA00" />
|
||||
<rect x="0" y="135" width="121" height="121" fill="#00A4EF" />
|
||||
<rect x="135" y="135" width="121" height="121" fill="#FFB900" />
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
export { Google } from "./Google";
|
||||
export { Microsoft } from "./Microsoft";
|
||||
export { Slack } from "./Slack";
|
||||
|
||||
Reference in New Issue
Block a user