diff --git a/packages/webapp/src/containers/CashFlow/CashFlowAccounts/CashFlowAccountsActionsBar.tsx b/packages/webapp/src/containers/CashFlow/CashFlowAccounts/CashFlowAccountsActionsBar.tsx index a0028f231..66298dc8b 100644 --- a/packages/webapp/src/containers/CashFlow/CashFlowAccounts/CashFlowAccountsActionsBar.tsx +++ b/packages/webapp/src/containers/CashFlow/CashFlowAccounts/CashFlowAccountsActionsBar.tsx @@ -110,12 +110,12 @@ function CashFlowAccountsActionsBar({ - {/* + + } + > + Contrary to popular belief, Lorem Ipsum is not simply random text. It + has roots in a piece of classical Latin literature. + + + } + disabled + > + Contrary to popular belief, Lorem Ipsum is not simply random text. It + has roots in a piece of classical Latin literature. + + + } + disabled + > + Contrary to popular belief, Lorem Ipsum is not simply random text. It + has roots in a piece of classical Latin literature. + + ); } - -export const BankFeedsServiceProviders = [{ label: 'Plaid', key: 'plaid' }]; diff --git a/packages/webapp/src/containers/CashFlow/ConnectBankDialog/ConnectBankServiceCard.tsx b/packages/webapp/src/containers/CashFlow/ConnectBankDialog/ConnectBankServiceCard.tsx new file mode 100644 index 000000000..72b0852a6 --- /dev/null +++ b/packages/webapp/src/containers/CashFlow/ConnectBankDialog/ConnectBankServiceCard.tsx @@ -0,0 +1,72 @@ +import styled from 'styled-components'; +import { Group } from '@/components'; + +const BankServiceIcon = styled('div')` + height: 40px; + width: 40px; + border: 1px solid #c8cad0; + border-radius: 3px; + display: flex; + + svg { + margin: auto; + } +`; +const BankServiceContent = styled(`div`)` + flex: 1 0; +`; +const BankServiceCardRoot = styled('button')` + border-radius: 3px; + border: 1px solid #c8cad0; + transition: all 0.1s ease-in-out; + background: transparent; + text-align: inherit; + padding: 14px; + + &:not(:disabled) { + cursor: pointer; + } + &:hover:not(:disabled) { + border-color: #0153cc; + } + &:disabled { + background: #f9fdff; + } +`; +const BankServiceTitle = styled(`h3`)` + font-weight: 600; + font-size: 14px; + color: #2d333d; +`; +const BankServiceDesc = styled('p')` + margin-top: 4px; + margin-bottom: 6px; + font-size: 13px; + color: #738091; +`; + +interface BankServiceCardProps { + title: string; + children: React.ReactNode; + disabled?: boolean; + icon: React.ReactNode; +} + +export function BankServiceCard({ + title, + children, + icon, + disabled, +}: BankServiceCardProps) { + return ( + + + {icon} + + {title} + {children} + + + + ); +} diff --git a/packages/webapp/src/containers/CashFlow/Icons/PlaidIcon.tsx b/packages/webapp/src/containers/CashFlow/Icons/PlaidIcon.tsx new file mode 100644 index 000000000..7a9f5ef62 --- /dev/null +++ b/packages/webapp/src/containers/CashFlow/Icons/PlaidIcon.tsx @@ -0,0 +1,17 @@ + +export const PlaidIcon = (props: any) => ( + + + +); diff --git a/packages/webapp/src/containers/CashFlow/Icons/TellerIcon.tsx b/packages/webapp/src/containers/CashFlow/Icons/TellerIcon.tsx new file mode 100644 index 000000000..74ec99dd0 --- /dev/null +++ b/packages/webapp/src/containers/CashFlow/Icons/TellerIcon.tsx @@ -0,0 +1,42 @@ +export const TellerIcon = () => ( + + + + + + + + + + + + + + +); diff --git a/packages/webapp/src/containers/CashFlow/Icons/YodleeIcon.tsx b/packages/webapp/src/containers/CashFlow/Icons/YodleeIcon.tsx new file mode 100644 index 000000000..3016cd729 --- /dev/null +++ b/packages/webapp/src/containers/CashFlow/Icons/YodleeIcon.tsx @@ -0,0 +1,45 @@ +export const YodleeIcon = (props: any) => ( + + + + + + + + + + + +);