diff --git a/src/components/base/IconTextField.jsx b/src/components/base/IconTextField.jsx
new file mode 100644
index 0000000..1863721
--- /dev/null
+++ b/src/components/base/IconTextField.jsx
@@ -0,0 +1,34 @@
+import React from 'react'
+import { withStyles } from '@material-ui/core/styles'
+import Icon from './icons/IconByName'
+import StatusTextField from './TextField'
+
+const styles = () => ({
+ iconRoot: {
+ display: 'grid',
+ gridTemplateColumns: 'repeat(12, [col] 1fr)',
+ gridColumnStart: 1,
+ gridColumnEnd: 13,
+ alignItems: 'center'
+ },
+ icon: {
+ gridColumnStart: 1,
+ gridColumnEnd: 2
+ },
+ textField: {
+ gridColumnStart: 2,
+ gridColumnEnd: 13
+ }
+})
+
+function IconTextField(props) {
+ const { iconName, classes } = props
+ return (
+
+
+
+
+ )
+}
+
+export default withStyles(styles)(IconTextField)
diff --git a/src/components/base/TextField.jsx b/src/components/base/TextField.jsx
index f1ebcc4..35b1a1c 100644
--- a/src/components/base/TextField.jsx
+++ b/src/components/base/TextField.jsx
@@ -11,12 +11,14 @@ const styles = theme => ({
container: {
display: 'grid',
gridTemplateColumns: 'repeat(12, [col] 1fr)',
- gridTemplateRows: 'auto auto 5px'
+ gridTemplateRows: 'auto auto 5px',
},
margin: {
margin: theme.spacing.unit,
},
root: {
+ gridColumnStart: 1,
+ gridColumnEnd: 13,
'label + &': {
gridRowStart: 2,
gridColumnStart: 1,
diff --git a/src/components/base/icons/BoxArrow.jsx b/src/components/base/icons/BoxArrow.jsx
new file mode 100644
index 0000000..05ae356
--- /dev/null
+++ b/src/components/base/icons/BoxArrow.jsx
@@ -0,0 +1,8 @@
+import React from 'react'
+
+const SVG = () =>
+
+
+export default SVG
diff --git a/src/components/base/icons/IconByName.jsx b/src/components/base/icons/IconByName.jsx
index 9b6f53a..fe44ed7 100644
--- a/src/components/base/icons/IconByName.jsx
+++ b/src/components/base/icons/IconByName.jsx
@@ -1,9 +1,12 @@
import React from 'react'
import OneOnOneChat from './OneOnOneChat'
+import BoxArrow from './BoxArrow'
const ONE_ON_ONE_CHAT = 'oneOnOneChat'
+const BOX_ARROW = 'boxArrow'
const icons = {
- [ONE_ON_ONE_CHAT]: OneOnOneChat
+ [ONE_ON_ONE_CHAT]: OneOnOneChat,
+ [BOX_ARROW]: BoxArrow
}
const Icon = ({ name }) => {
@@ -13,7 +16,8 @@ const Icon = ({ name }) => {
background: '#ECEFFC',
borderRadius: '50%',
padding: '10px',
- maxHeight: '45px'
+ maxHeight: '45px',
+ justifySelf: 'center'
}}>
diff --git a/src/components/base/icons/Vector.svg b/src/components/base/icons/Vector.svg
new file mode 100755
index 0000000..0e8e68a
--- /dev/null
+++ b/src/components/base/icons/Vector.svg
@@ -0,0 +1,3 @@
+
diff --git a/src/components/projects/CreateProject.jsx b/src/components/projects/CreateProject.jsx
index 90d4d0e..f9817f2 100644
--- a/src/components/projects/CreateProject.jsx
+++ b/src/components/projects/CreateProject.jsx
@@ -15,6 +15,7 @@ import { FundingContext } from '../../context'
import {ZERO_ADDRESS} from '../../utils/address'
import CurrencySelect from '../base/CurrencySelect'
import StatusTextField from '../base/TextField'
+import IconTextField from '../base/IconTextField'
import Icon from '../base/icons/IconByName'
const { addProject } = LiquidPledging.methods
@@ -250,7 +251,7 @@ const SubmissionSection = ({ classes, history }) => {
name="creator"
label="Contact Person"
bottomLeftLabel="Name of the primary contact"
- placeholder="Short Description"
+ placeholder="Contract Person"
onChange={handleChange}
onBlur={handleBlur}
value={values.creator || ''}
@@ -259,6 +260,15 @@ const SubmissionSection = ({ classes, history }) => {
{`Join #status-${values.title.replace(/\s/g, '')}`}
+