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 https://github.com/twentyhq/twenty/pull/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>
This commit is contained in:
martmull
2024-04-24 14:56:02 +02:00
committed by GitHub
parent b3e1d6becf
commit 87a9ecee28
25 changed files with 458 additions and 129 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<svg width="800px" height="800px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="none">
<path fill="#F35325" d="M1 1h6.5v6.5H1V1z"/>
<path fill="#81BC06" d="M8.5 1H15v6.5H8.5V1z"/>
<path fill="#05A6F0" d="M1 8.5h6.5V15H1V8.5z"/>
<path fill="#FFBA08" d="M8.5 8.5H15V15H8.5V8.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 355 B

View File

@ -0,0 +1,14 @@
import { useTheme } from '@emotion/react';
import IconMicrosoftRaw from '../assets/microsoft.svg?react';
interface IconMicrosoftProps {
size?: number;
}
export const IconMicrosoft = (props: IconMicrosoftProps) => {
const theme = useTheme();
const size = props.size ?? theme.icon.size.lg;
return <IconMicrosoftRaw height={size} width={size} />;
};

View File

@ -8,6 +8,7 @@ export * from './icon/components/IconAddressBook';
export * from './icon/components/IconGmail';
export * from './icon/components/IconGoogle';
export * from './icon/components/IconGoogleCalendar';
export * from './icon/components/IconMicrosoft';
export * from './icon/components/IconTwentyStar';
export * from './icon/components/IconTwentyStarFilled';
export * from './icon/components/TablerIcons';