Skip to content

Commit

Permalink
feat(ui): Support footer (#3727)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Carpenter <[email protected]>
  • Loading branch information
joe-bell and alexcarpenter authored Jul 16, 2024
1 parent c92104e commit 02c7389
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/mean-humans-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
30 changes: 28 additions & 2 deletions packages/ui/src/components/sign-in/sign-in.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,20 @@ export function SignInComponentLoaded() {
</SignIn.Action>
</Card.Body>
</Card.Content>
<Card.Footer branded={branded} />
<Card.Footer branded={branded}>
<Card.FooterAction>
<Card.FooterActionText>
{t('signIn.alternativeMethods.actionText')}{' '}
<Card.FooterActionLink
// To be implemented in SDKI-115
href='#'
>
{' '}
{t('signIn.alternativeMethods.actionLink')}
</Card.FooterActionLink>
</Card.FooterActionText>
</Card.FooterAction>
</Card.Footer>
</Card.Root>
</SignIn.Step>

Expand Down Expand Up @@ -576,7 +589,20 @@ export function SignInComponentLoaded() {
</div>
</Card.Body>
</Card.Content>
<Card.Footer branded={branded} />
<Card.Footer branded={branded}>
<Card.FooterAction>
<Card.FooterActionText>
{t('signIn.alternativeMethods.actionText')}{' '}
<Card.FooterActionLink
// To be implemented in SDKI-115
href='#'
>
{' '}
{t('signIn.alternativeMethods.actionLink')}
</Card.FooterActionLink>
</Card.FooterActionText>
</Card.FooterAction>
</Card.Footer>
</Card.Root>
</SignIn.Step>

Expand Down

0 comments on commit 02c7389

Please sign in to comment.