-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
D gamer007/add microsoft oauth (#5103)
Need to create a new branch because original branch name is `main` and we cannot push additional commits Linked to #4718 ![image](https://github.com/twentyhq/twenty/assets/29927851/52b220e7-770a-4ffe-b6e9-468605c2b8fa) ![image](https://github.com/twentyhq/twenty/assets/29927851/7a7a4737-f09f-4d9b-8962-5a9b8c71edc1) --------- Co-authored-by: DGamer007 <prajapatidhruv266@gmail.com>
- Loading branch information
Showing
25 changed files
with
458 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 10 additions & 3 deletions
13
packages/twenty-front/src/modules/auth/sign-in-up/components/HorizontalSeparator.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
import { JSX } from 'react'; | ||
import styled from '@emotion/styled'; | ||
|
||
const StyledSeparator = styled.div` | ||
type HorizontalSeparatorProps = { | ||
visible?: boolean; | ||
}; | ||
const StyledSeparator = styled.div<HorizontalSeparatorProps>` | ||
background-color: ${({ theme }) => theme.border.color.medium}; | ||
height: 1px; | ||
height: ${({ visible }) => (visible ? '1px' : 0)}; | ||
margin-bottom: ${({ theme }) => theme.spacing(3)}; | ||
margin-top: ${({ theme }) => theme.spacing(3)}; | ||
width: 100%; | ||
`; | ||
|
||
export const HorizontalSeparator = (): JSX.Element => <StyledSeparator />; | ||
export const HorizontalSeparator = ({ | ||
visible = true, | ||
}: HorizontalSeparatorProps): JSX.Element => ( | ||
<StyledSeparator visible={visible} /> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.