Skip to content

Commit

Permalink
fix: changing protected by to powered by alchemy footer
Browse files Browse the repository at this point in the history
  • Loading branch information
RobChangCA committed Nov 19, 2024
1 parent 2d453cd commit 989a77a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { AlchemyLogo } from "../../../../icons/alchemy.js";
import { ls } from "../../../../strings.js";

// eslint-disable-next-line jsdoc/require-jsdoc
export const PoweredBy = () => (
export const ProtectedBy = () => (
<div className="flex flex-row gap-1 items-center h-[14px] text-fg-disabled">
<span className="text-[11px]">{ls.poweredBy.title}</span>
<span className="text-[11px]">{ls.protectedBy.title}</span>
<AlchemyLogo />
</div>
);
4 changes: 2 additions & 2 deletions account-kit/react/src/components/auth/sections/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { EmailNotReceivedDisclaimer } from "../card/footer/email-not-reveived.js";
import { HelpText } from "../card/footer/help-text.js";
import { OAuthContactSupport } from "../card/footer/oauth-contact-support.js";
import { PoweredBy } from "../card/footer/poweredby.js";
import { ProtectedBy } from "../card/footer/protected-by.js";
import { RegistrationDisclaimer } from "../card/footer/registration-disclaimer.js";
import type { AuthStep } from "../context.js";

Expand Down Expand Up @@ -34,7 +34,7 @@ export const Footer = ({ authStep }: FooterProps) => {
<div className="p-5 pt-2">
<RenderFooterText authStep={authStep} />
<div className="flex justify-center">
<PoweredBy />
<ProtectedBy />
</div>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions account-kit/react/src/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const STRINGS = {
supportText: "Having trouble?",
supportLink: "Contact support",
},
poweredBy: {
title: "powered by",
protectedBy: {
title: "protected by",
},
error: {
general: {
Expand Down

0 comments on commit 989a77a

Please sign in to comment.