Skip to content

Commit

Permalink
Adjust Google icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
shrihari-prakash committed Jul 8, 2024
1 parent 22b8221 commit 37d825c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/public/components/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default function Login() {
{configuration["user.account-creation.sso.google.enabled"] && (
<a href={"/sso/google"} className="ghost-link">
<button type="button" disabled={submitting} className={"button outline"}>
<img src={`/images/google-icon-${theme === "light" ? "black" : "white"}.svg`} alt="Google" height="20" />{" "}
<img src={`/images/google-icon-${theme === "light" ? "black" : "white"}.svg`} alt="Google" height="20" />
{i18next.t("button.signin.google")}
</button>
</a>
Expand Down
3 changes: 2 additions & 1 deletion src/public/components/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ export default function SignUp() {
{configuration["user.account-creation.sso.google.enabled"] && (
<a href={"/sso/google"} className="ghost-link">
<button type="button" disabled={submitting} className={"button outline"}>
<img src="/images/icon-google.png" alt="Google" height="20" /> {i18next.t("button.signup.google")}
<img src={`/images/google-icon-${theme === "light" ? "black" : "white"}.svg`} alt="Google" height="20" />
{i18next.t("button.signup.google")}
</button>
</a>
)}
Expand Down

0 comments on commit 37d825c

Please sign in to comment.