Skip to content

Commit

Permalink
fix: spacing agree erpa checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
flagrede committed Sep 10, 2024
1 parent 599f8e0 commit 62fa2b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion web-marketplace/src/components/atoms/AgreeErpaCheckbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ const AgreeErpaCheckbox: React.FC<React.PropsWithChildren<Props>> = ({
name="agreeErpa"
label={
<>
<Trans>I agree to the</Trans>{' '}
<Trans>I agree to the</Trans>
<LinkExt
href={URL_REGISTRY_MARKETPLACE_LEGAL}
target="_blank"
rel="noopener noreferrer"
className="mx-5"
sx={{ color: theme.palette.secondary.main }}
>
<Trans>Ecocredit Sales Agreement</Trans>
Expand All @@ -34,6 +35,7 @@ const AgreeErpaCheckbox: React.FC<React.PropsWithChildren<Props>> = ({
href={URL_REGISTRY_TERMS_SERVICE}
target="_blank"
rel="noopener noreferrer"
className="ml-5"
sx={{ color: theme.palette.secondary.main }}
>
<Trans>terms of service</Trans>
Expand Down
8 changes: 4 additions & 4 deletions web-marketplace/src/components/atoms/AgreeErpaCheckboxNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ const AgreeErpaCheckbox = forwardRef<HTMLButtonElement, Props>(
color="primary.contrastText"
as="span"
>
<Trans>I agree to the</Trans>{' '}
<Trans>I agree to the</Trans>
<LinkExt
className="font-bold text-brand-400"
className="font-bold text-brand-400 mx-5"
href={URL_REGISTRY_MARKETPLACE_LEGAL}
target="_blank"
rel="noopener noreferrer"
>
<Trans>Ecocredit Sales Agreement</Trans>
</LinkExt>
<Trans> and </Trans>
<Trans>and</Trans>
<LinkExt
className="font-bold text-brand-400"
className="font-bold text-brand-400 ml-5"
href={URL_REGISTRY_TERMS_SERVICE}
target="_blank"
rel="noopener noreferrer"
Expand Down

0 comments on commit 62fa2b5

Please sign in to comment.