From 0e26110413cde0b8385ce5e0ab3e087f71290d4c Mon Sep 17 00:00:00 2001 From: Barry Low Date: Tue, 13 Nov 2018 22:39:59 -0800 Subject: [PATCH] tweak Footer styles --- client/package-lock.json | 48 +++++++------------ .../components/SignupForm.js | 5 +- .../email-verification/components/styles.js | 11 ++++- client/src/views/layout/footer/index.js | 10 ++-- client/src/views/layout/footer/styles.js | 18 +++---- 5 files changed, 44 insertions(+), 48 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index a0f22a767..a053396e6 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -46,9 +46,9 @@ } }, "@advancedalgos/teams-client": { - "version": "0.0.26", - "resolved": "https://registry.npmjs.org/@advancedalgos/teams-client/-/teams-client-0.0.26.tgz", - "integrity": "sha512-7WgJ3OFDZql2h7A1AlAGq7PevfhNs9KL2hnd1oBNyjKSezsJ4j6JUIQt/GTl+0W19S22EHUjUhUVpnnCi8g0mg==", + "version": "0.0.27", + "resolved": "https://registry.npmjs.org/@advancedalgos/teams-client/-/teams-client-0.0.27.tgz", + "integrity": "sha512-TBawzPu+zn/VSf3CGG+5zh1KPwxfetKIwKaXZsU/kgmLllArXDUXEdVbznD6oYlkOUp0naenxA/SLu+XuuaGeg==", "dev": true, "requires": { "@advancedalgos/web-components": "0.0.13", @@ -81,9 +81,9 @@ } }, "@advancedalgos/users-client": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@advancedalgos/users-client/-/users-client-0.0.21.tgz", - "integrity": "sha512-u51GZOIVLtE6asigUx+2fOEtEgmikWS5wDUENyd4jyXMGsn5JgFWpD+psonSbWFgFL8FdiKmMrKwpqHyvHVFWQ==", + "version": "0.0.22", + "resolved": "https://registry.npmjs.org/@advancedalgos/users-client/-/users-client-0.0.22.tgz", + "integrity": "sha512-kjLBUdpnh9jYwesfsOBwAe5jPydKF0pt1ts9QBk3KKjcv4FATnCQ8uHsWtltg1gSAE781ozJaUSB0jjNrYVICg==", "dev": true, "requires": { "@material-ui/core": "^3.2.0", @@ -1736,9 +1736,9 @@ "dev": true }, "acorn-walk": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.0.tgz", - "integrity": "sha512-ugTb7Lq7u4GfWSqqpwE0bGyoBZNMTok/zDBXxfEG0QM50jNlGhIWjRC1pPN7bvV1anhF+bs+/gNcRw+o55Evbg==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.1.tgz", + "integrity": "sha512-OtUw6JUTgxA2QoqqmrmQ7F2NYqiBPi/L2jqHyFtllhOUvXYQXf0Z1CYUinIfyT4bTCGmrA7gX9FvHA81uzCoVw==", "dev": true }, "address": { @@ -7135,14 +7135,12 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, - "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -7157,20 +7155,17 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -7287,8 +7282,7 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "ini": { "version": "1.3.5", @@ -7300,7 +7294,6 @@ "version": "1.0.0", "bundled": true, "dev": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -7315,7 +7308,6 @@ "version": "3.0.4", "bundled": true, "dev": true, - "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -7323,14 +7315,12 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "minipass": { "version": "2.2.4", "bundled": true, "dev": true, - "optional": true, "requires": { "safe-buffer": "^5.1.1", "yallist": "^3.0.0" @@ -7349,7 +7339,6 @@ "version": "0.5.1", "bundled": true, "dev": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -7430,8 +7419,7 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "object-assign": { "version": "4.1.1", @@ -7443,7 +7431,6 @@ "version": "1.4.0", "bundled": true, "dev": true, - "optional": true, "requires": { "wrappy": "1" } @@ -7565,7 +7552,6 @@ "version": "1.0.2", "bundled": true, "dev": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -9786,7 +9772,7 @@ }, "jest-get-type": { "version": "22.4.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-22.4.3.tgz", + "resolved": "http://registry.npmjs.org/jest-get-type/-/jest-get-type-22.4.3.tgz", "integrity": "sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w==", "dev": true }, diff --git a/client/src/views/email-verification/components/SignupForm.js b/client/src/views/email-verification/components/SignupForm.js index 408fd5c3a..d8db5a03a 100644 --- a/client/src/views/email-verification/components/SignupForm.js +++ b/client/src/views/email-verification/components/SignupForm.js @@ -1,5 +1,6 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' +import classNames from 'classnames' import { withStyles } from '@material-ui/core/styles' import withWidth from '@material-ui/core/withWidth' import { Mutation } from 'react-apollo' @@ -45,8 +46,8 @@ export class SignupForm extends Component { {(NewsletterSignup, { loading, error, data }) => { return ( - {displayTitle && Stay in touch!} - {displayIntro && Opt-in our mailing list to stay up to date with the Advanced Algos Project.} + {displayTitle && Stay in touch!} + {displayIntro && Opt-in our mailing list to stay up to date with the Advanced Algos Project.}
({ textAlign: 'center' } }, + signupTitle: { + fontSize: '25px', + marginBottom: theme.spacing.unit * 5 + }, + signupText: { + fontSize: '16px' + }, signupInput: { borderRadius: 4, backgroundColor: theme.palette.common.white, border: '1px solid #ced4da', - fontSize: 16, + fontSize: 20, padding: '10px 12px', transition: theme.transitions.create(['border-color', 'box-shadow']), marginRight: theme.spacing.unit * 1 @@ -41,7 +48,7 @@ const styles = theme => ({ signupInputSubmit: { boxShadow: 'none', textTransform: 'none', - fontSize: 16, + fontSize: 20, lineHeight: '1.1875em', color: theme.palette.common.white, padding: '10px 12px', diff --git a/client/src/views/layout/footer/index.js b/client/src/views/layout/footer/index.js index 1989fcde2..199f4920c 100644 --- a/client/src/views/layout/footer/index.js +++ b/client/src/views/layout/footer/index.js @@ -35,13 +35,13 @@ class Footer extends Component { > - + - Advanced Algos Ltd. - Ground Floor, Palace Court, Church Street,
St. Julians STJ3049, Malta
- - Privacy Statement | Terms of Service + Advanced Algos Ltd. + Ground Floor, Palace Court, Church Street,
St. Julians STJ3049, Malta
+ + Privacy Statement | Terms of Service © Advanced Algos, Ltd. 2018 | All Rights Reserved.
diff --git a/client/src/views/layout/footer/styles.js b/client/src/views/layout/footer/styles.js index 4eac95289..4bc6469fa 100644 --- a/client/src/views/layout/footer/styles.js +++ b/client/src/views/layout/footer/styles.js @@ -11,21 +11,22 @@ const styles = theme => ({ color: lightGreen[400] }, copyright: { - paddingTop: theme.spacing.unit * 3 + paddingTop: theme.spacing.unit * 9, + fontSize: '16px' }, linkLight: { color: theme.palette.secondary.main, textDecoration: 'none' }, descriptionLeft: { - marginLeft: theme.spacing.unit * 8, - [theme.breakpoints.down('sm')]: { - marginLeft: 0 - }, + marginLeft: 0, [theme.breakpoints.down('xs')]: { textAlign: 'center' } }, + descriptionText: { + fontSize: '16px' + }, signupRight: { marginTop: theme.spacing.unit * 2, [theme.breakpoints.down('xs')]: { @@ -46,14 +47,15 @@ const styles = theme => ({ }, footerContainer: { width: 'auto', - marginLeft: theme.spacing.unit * 3, - marginRight: theme.spacing.unit * 3, [theme.breakpoints.up(1200 + theme.spacing.unit * 3 * 2)]: { width: 1200, marginLeft: 'auto', marginRight: 'auto' } }, + footerLogo: { + marginBottom: theme.spacing.unit * 2 + }, footerLink: { textDecoration: 'none', '&:hover': { @@ -101,7 +103,7 @@ const styles = theme => ({ }, icon: { margin: theme.spacing.unit * 1, - fontSize: 24 + fontSize: 30 }, iconHover: { margin: theme.spacing.unit * 1,