Skip to content

Commit

Permalink
fix: consistency of styling across multiple pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Nov 2, 2019
1 parent bb28de4 commit 4178986
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ p {
}
h1 , h2, h3, h4, h5, h6 {
font-family: 'Roboto Black', serif !important;
font-weight: 550 !important;
/* font-weight: 550 !important; */
}

h1 {
Expand Down
2 changes: 0 additions & 2 deletions src/js/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import Button from '@material-ui/core/Button';
import appStyle from './App.module.css';
import {styles} from '../styles';



// import goldClear from '../assets/goldClear.png';

//Pages
Expand Down
10 changes: 9 additions & 1 deletion src/js/pages/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { Redirect, Link } from "react-router-dom";
//Styles
import { Button, Form, Grid, Header, Message, Segment } from 'semantic-ui-react';
import loginStyles from './Login.module.css';
import { styles } from '../../styles';
import Typography from '@material-ui/core/Typography';


//Redux
import { connect } from "react-redux";
Expand Down Expand Up @@ -60,8 +63,13 @@ class LoginForm extends React.Component{
return(
<Grid textAlign='center' style={{ height: '100vh' }} verticalAlign='middle' className={loginStyles.grid}>
<Grid.Column style={{ maxWidth: 450 }}>
<Header as={Link} to="/" className={loginStyles.header} textAlign='center'>
{/* <Header as={Link} to="/" className={loginStyles.header} textAlign='center'>
<h1>PUENTE</h1>
</Header> */}
<Header as={Link} to="/">
<Typography variant="h1" >
<div style={{color:styles.theme.primaryAppColor}}>PUENTE</div>
</Typography>
</Header>
<Form size='large' onSubmit={this.handleSubmit}>
<Segment stacked>
Expand Down
6 changes: 3 additions & 3 deletions src/js/pages/Login.module.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.grid {
color: #f8af1e !important;
color: #FDD00C !important;
}

.header{
color: #f8af1e !important;
color: #FDD00C !important;
}
.button{
background: #f8af1e !important;
background: #FDD00C !important;
}

2 changes: 1 addition & 1 deletion src/js/pages/Map.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Row, Container, Card } from 'react-bootstrap';
import { Row, Container } from 'react-bootstrap';


//Components
Expand Down
6 changes: 5 additions & 1 deletion src/landing-page/landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { Link } from "react-router-dom";

import Typography from '@material-ui/core/Typography';
import {
Button,
Container,
Expand All @@ -17,6 +18,7 @@ import {
} from 'semantic-ui-react';

import landingStyle from './landing.module.css';
import { styles } from '../styles';

import logo from '../assets/goldClear.png';

Expand Down Expand Up @@ -113,7 +115,9 @@ class DesktopContainer extends Component {
<Container>
<Image className={landingStyle.logopic} src={logo} />
<Menu.Item position='left'>
<h1>Puente</h1>
<Typography variant="h4" >
<div style={{color:styles.theme.primaryAppColor}}>Puente</div>
</Typography>
</Menu.Item>
<Menu.Item position='right'>
<Button as={Link} to='/login' inverted={fixed}>
Expand Down

0 comments on commit 4178986

Please sign in to comment.