-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(footer): allow passing main copy to the footer
Allow an application to pass main copy to the footer
- Loading branch information
1 parent
61334ea
commit f9490eb
Showing
2 changed files
with
47 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/components/molecules/ZopaFooter/ZopaMainLegalBlock.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import * as React from 'react'; | ||
import { useThemeContext } from '../../styles/Theme'; | ||
import Text from '../../atoms/Text/Text'; | ||
|
||
export default function ZopaMainLegalBlockCopy() { | ||
const theme = useThemeContext(); | ||
return ( | ||
<Text | ||
as="p" | ||
color={theme.footer.legalBlock.color} | ||
size="small" | ||
className="mb-4" | ||
data-automation="ZA.ZopaFooterMainLegalBlockCopy" | ||
> | ||
Zopa Bank Limited is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct | ||
Authority and the Prudential Regulation Authority, and entered on the Financial Services Register (800542). Zopa | ||
Bank Limited (10627575) is incorporated in England & Wales and has its registered office at: 1st Floor, | ||
Cottons Centre, Tooley Street, London, SE1 2QG. | ||
</Text> | ||
); | ||
} |