refactor: remove microsoft icon

This commit is contained in:
Stavros
2025-01-24 16:55:03 +02:00
parent d4eca52b12
commit f487e25ac5
2 changed files with 0 additions and 34 deletions

View File

@@ -1,18 +0,0 @@
import type { SVGProps } from "react";
export function MicrosoftIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={256}
height={256}
viewBox="0 0 256 256"
{...props}
>
<path fill="#f1511b" d="M121.666 121.666H0V0h121.666z"></path>
<path fill="#80cc28" d="M256 121.666H134.335V0H256z"></path>
<path fill="#00adef" d="M121.663 256.002H0V134.336h121.663z"></path>
<path fill="#fbbc09" d="M256 256.002H134.335V134.336H256z"></path>
</svg>
);
}

View File

@@ -17,7 +17,6 @@ import { useUserContext } from "../context/user-context";
import { Navigate } from "react-router";
import { Layout } from "../components/layouts/layout";
import { GoogleIcon } from "../icons/google";
import { MicrosoftIcon } from "../icons/microsoft";
import { GithubIcon } from "../icons/github";
export const LoginPage = () => {
@@ -113,21 +112,6 @@ export const LoginPage = () => {
</Button>
</Grid.Col>
)}
{configuredProviders.includes("microsoft") && (
<Grid.Col span="content">
<Button
radius="xl"
leftSection={
<MicrosoftIcon style={{ width: 14, height: 14 }} />
}
variant="default"
onClick={() => loginOAuthMutation.mutate("microsoft")}
loading={loginOAuthMutation.isLoading}
>
Microsoft
</Button>
</Grid.Col>
)}
{configuredProviders.includes("github") && (
<Grid.Col span="content">
<Button