Skip to content

Commit

Permalink
Updated Styling (#14)
Browse files Browse the repository at this point in the history
-Fixed import issue with Charity Page
-Added header and footer to Login and Registration Pages
-Fixed issue with &nbsp showing up as a letter
  • Loading branch information
Carlos Alpuche authored Sep 9, 2018
1 parent 3c8b78f commit a723bff
Show file tree
Hide file tree
Showing 8 changed files with 1,625 additions and 1,608 deletions.
3,206 changes: 1,603 additions & 1,603 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/css/ge-styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/css/ge-styles.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions src/scripts/components/Header/LoginRegisterSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@ const loginRegisterSearch = () => {
return (
<div className='float-right'>
<div>
<span className="nav-links">
<Link to={'/login/'}>
Login
</Link>
&nbsp;
</span>
<span className="nav-links">
<Link to={'/register/'}>
Register
</Link>
&nbsp;
</span>
<form className='float-right' autoComplete="off">
<div className="autocomplete">
<input className="search-box" id="myInput" type="text" name="myCountry" />
<i class="fas fa-search"></i>
<i className="fas fa-search"></i>

</div>
</form>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';

import Divider from '../../../../components/Divider'

const charityData = () => {
return (
Expand Down
4 changes: 4 additions & 0 deletions src/scripts/pages/LoginPage/Form.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import React from 'react';
import Header from '../../components/Header/Header';
import Footer from '../../components/Footer/Footer';
const form = () => {
return (
<div className="container">
<Header />
<form>
<h1>Sign In</h1>
<label htmlFor="username"><b>Username</b></label>
Expand All @@ -13,6 +16,7 @@ const form = () => {
<button type="button">Cancel</button>
<button type="submit">Sign In</button>
</form>
<Footer />
</div>
)

Expand Down
4 changes: 4 additions & 0 deletions src/scripts/pages/RegisterPage/Form.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import React from 'react';
import Header from '../../components/Header/Header';
import Footer from '../../components/Footer/Footer';
const form = () => {
return (
<div className="container">
<Header />
<form>
<h1>Sign Up</h1>
<p>Please fill in this form to create an account.</p>
Expand Down Expand Up @@ -47,6 +50,7 @@ const form = () => {
<button type="button">Cancel</button>
<button type="submit">Sign Up</button>
</form>
<Footer />
</div>
)

Expand Down
3 changes: 3 additions & 0 deletions src/scss/ge-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ body {
color: gray;
}
}
.nav-links {
padding: 10px;
}

/* FOOTER STYLES */

Expand Down

0 comments on commit a723bff

Please sign in to comment.