Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make Google logo monochrome #1215

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/account/components/AccountLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { useSearchParams } from 'react-router-dom';
import { fetchAuthURLs } from 'terraso-client-shared/account/accountSlice';
import { useFetchData } from 'terraso-client-shared/store/utils';
import AppleIcon from '@mui/icons-material/Apple';
import GoogleIcon from '@mui/icons-material/Google';
import { Box, Button, Stack, Typography } from '@mui/material';
import SvgIcon from '@mui/material/SvgIcon';

Expand All @@ -31,7 +32,6 @@ import PageLoader from 'layout/PageLoader';
import LocalePicker from 'localization/components/LocalePicker';
import { useAnalytics } from 'monitoring/analytics';

import { ReactComponent as GoogleSvg } from 'assets/google.svg';
import logo from 'assets/logo.svg';
import { ReactComponent as MicrosoftSvg } from 'assets/microsoft.svg';

Expand All @@ -40,10 +40,6 @@ const MicrosoftIcon = props => {
return <SvgIcon component={MicrosoftSvg} {...props} />;
};

const GoogleIcon = props => {
return <SvgIcon component={GoogleSvg} {...props} />;
};

const appendReferrer = (url, referrer) =>
referrer ? `${url}&state=${referrer}` : url;

Expand Down
Loading