diff --git a/frontend/app/components/Navbar/Navbar.js b/frontend/app/components/Navbar/Navbar.js index 75bc401..62def5f 100644 --- a/frontend/app/components/Navbar/Navbar.js +++ b/frontend/app/components/Navbar/Navbar.js @@ -38,10 +38,10 @@ class Navbar extends Component {
+ + + + } + modal + closeOnDocumentClick + > + + diff --git a/frontend/app/containers/Pages/GroupCreation/groupCreation-jss.js b/frontend/app/containers/Pages/GroupCreation/groupCreation-jss.js index baa1006..29082f9 100644 --- a/frontend/app/containers/Pages/GroupCreation/groupCreation-jss.js +++ b/frontend/app/containers/Pages/GroupCreation/groupCreation-jss.js @@ -33,6 +33,23 @@ const styles = theme => ({ boxShadow: '0px 4px 10px rgba(51, 50, 50, 0.15)', }, + contactEdit: { + position: 'relative', + bottom: 830, + left: 790, + width: 50, + height: 50, + zIndex: 5, + }, + + contactPopup: { + width: 780, + height: 400, + paddingTop: 20, + paddingLeft: 40, + overflow: 'auto', + }, + languages: { position: 'relative', bottom: 180, diff --git a/frontend/app/store/reducers/groupReducer.js b/frontend/app/store/reducers/groupReducer.js index 9ae649d..4fb1df4 100644 --- a/frontend/app/store/reducers/groupReducer.js +++ b/frontend/app/store/reducers/groupReducer.js @@ -15,6 +15,7 @@ export const initialState = { name: '', description: '', languages: [], + contact: '', members: [], member: false, error: false, diff --git a/frontend/app/store/sagas/groupSaga.js b/frontend/app/store/sagas/groupSaga.js index 5da2633..c2a8751 100644 --- a/frontend/app/store/sagas/groupSaga.js +++ b/frontend/app/store/sagas/groupSaga.js @@ -34,6 +34,7 @@ export function* createGroupSaga(action) { name: payload.name, description: payload.description, languages: payload.languages, + contact: payload.contact, }); if (groupResponse.status === 200) { yield put(push(`${groupResponse.data.identity}`)); @@ -55,6 +56,7 @@ export function* updateGroupSaga(action) { name: payload.name, description: payload.description, languages: payload.languages, + contact: payload.contact, }); } diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 084f129..b81c324 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -14879,6 +14879,11 @@ } } }, + "reactjs-popup": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/reactjs-popup/-/reactjs-popup-1.5.0.tgz", + "integrity": "sha512-9uoxUAcUomnNoBtdYXBmgsF4w46llsogE3tOvLb5IkR5MMrD6UZJK20ip9kDKXCYubSxNkdfQKqSb/c95rf/qA==" + }, "read-chunk": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/read-chunk/-/read-chunk-1.0.1.tgz", diff --git a/frontend/package.json b/frontend/package.json index b9b57c0..734773a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -96,6 +96,7 @@ "react-intl": "2.8.0", "react-redux": "^7.1.1", "react-router-dom": "5.0.0", + "reactjs-popup": "^1.5.0", "redux": "4.0.1", "redux-mock-store": "^1.5.3", "redux-persist": "^5.10.0",