The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Add person placeholder image
Anders Borch8f8315b9bc0f
diff --git a/front/src/pages/people/People.tsx b/front/src/pages/people/People.tsxindex cf38c32eac0..38fc1d979c7 100644--- a/front/src/pages/people/People.tsx+++ b/front/src/pages/people/People.tsx@@ -14,9 +14,11 @@ import { createColumnHelper } from '@tanstack/react-table';import styled from '@emotion/styled';import CellLink from '../../components/cell-link/CellLink';import TableHeader from '../../components/table/TableHeader';+import personPlaceholder from './placeholder.png';type Person = {fullName: string;+ picture?: string;email: string;company: Company;phone: string;@@ -37,6 +39,7 @@ const StyledPeopleContainer = styled.div`const defaultData: Array<Person> = [{fullName: 'Alexandre Prot',+ picture: personPlaceholder,email: '[email protected]',company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },phone: '06 12 34 56 78',@@ -46,6 +49,7 @@ const defaultData: Array<Person> = [},{fullName: 'Alexandre Prot',+ picture: personPlaceholder,email: '[email protected]',company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },phone: '06 12 34 56 78',@@ -55,6 +59,7 @@ const defaultData: Array<Person> = [},{fullName: 'Alexandre Prot',+ picture: personPlaceholder,email: '[email protected]',company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },phone: '06 12 34 56 78',@@ -64,6 +69,7 @@ const defaultData: Array<Person> = [},{fullName: 'Alexandre Prot',+ picture: personPlaceholder,email: '[email protected]',company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },phone: '06 12 34 56 78',@@ -73,6 +79,7 @@ const defaultData: Array<Person> = [},{fullName: 'Alexandre Prot',+ picture: personPlaceholder,email: '[email protected]',company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },phone: '06 12 34 56 78',diff --git a/front/src/pages/people/placeholder.png b/front/src/pages/people/placeholder.pngnew file mode 100644index 00000000000..8beb87a117fBinary files /dev/null and b/front/src/pages/people/placeholder.png differ