Skip to content

Commit

Permalink
styling HomePage, HomeHeader, Auth; #13; #15
Browse files Browse the repository at this point in the history
  • Loading branch information
veeepi committed Apr 12, 2021
1 parent cc39637 commit bbeb0fe
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/containers/Auth.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {useState, useEffect} from 'react';
import LandingHeader from './LandingHeader';
import LandingHeader from './HomeHeader';
import AppBar from '@material-ui/core/AppBar';
import Login from './Login';
import Register from './Register';
Expand Down Expand Up @@ -41,7 +41,7 @@ export default function Auth() {
return (
<div className={classes.authContainer}>

<Typography>{selectedTabTitle}</Typography>
<Typography className={classes.authTitle}>{selectedTabTitle}</Typography>
<AppBar className={classes.authAppBar} position="static">
<Tabs
className={classes.authTabs}
Expand Down
4 changes: 2 additions & 2 deletions src/containers/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Login() {
// type="email"
label="Email"
placeholder="[email protected]"
disableUnderline="true"
disableUnderline={true}
required
startAdornment={
<InputAdornment position="start">
Expand All @@ -55,7 +55,7 @@ export default function Login() {
type="password"
label="Password"
placeholder="h3alth15w3alth"
disableUnderline="true"
disableUnderline={true}
required
startAdornment={
<InputAdornment position="start">
Expand Down
9 changes: 9 additions & 0 deletions src/containers/Register.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

export default function Register() {
return (
<div>
<h1>Register</h1>
</div>
)
}
17 changes: 9 additions & 8 deletions src/styles/authStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ const authStyles = makeStyles(() => ({
width: '80%',
margin: 'auto',
borderRadius: '15px',

paddingBottom: '100px',
},
authTitle: {
fontSize: '32px',
fontStyle: 'italic',
textAlign: 'left',
paddingLeft: '10%',
color: holisticTheme.textTitle,
},
authAppBar: {
borderRadius: '15px 15px 0 0',
Expand All @@ -19,6 +26,7 @@ const authStyles = makeStyles(() => ({
// backgroundColor: holisticTheme.bgContainer,
},
authForm: {
// paddingBottom: '20px',
borderRadius: '0 0 15px 15px',
// flexGrow: 1,
backgroundColor: holisticTheme.bgContainer,
Expand All @@ -30,7 +38,6 @@ const authStyles = makeStyles(() => ({
authField: {
width: '85%',
marginTop: '10px',

},
authFormLabel: {
color: holisticTheme.textLabel,
Expand All @@ -57,12 +64,6 @@ const authStyles = makeStyles(() => ({
color: holisticTheme.textBtnPrimary,
backgroundColor: holisticTheme.bgBtnPrimary,
},
close: {
fontSize: 40,
justifyContent: 'flex-end',
backgroundColor: 'white',
borderRadius: 0.5,
},
}));

export default authStyles;
5 changes: 4 additions & 1 deletion src/styles/colorThemes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ export const holisticTheme = {
textRoot: '#EFEFEF',
// Container
bgContainer: '#A395B8',
// Font
textTitle: '#AAB895',
// Text Inputs
bgInput: '#C4C4C4',
textLabel: '#EFEFEF',
Expand All @@ -16,4 +18,5 @@ export const holisticTheme = {
bgBtnSecondary: '#C8D1BB',
textBtnSecondary: '#4E755C',

}
}

0 comments on commit bbeb0fe

Please sign in to comment.