Skip to content

Commit 6a31316

Browse files
committed
Merge branch 'development' of https://github.com/codeisscience/journal-policy-tracker-frontend into feature/Alert
2 parents bc42a93 + 3a0dfa3 commit 6a31316

File tree

14 files changed

+73
-18
lines changed

14 files changed

+73
-18
lines changed

src/components/Navigation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function Navigation() {
1313
bg='light'
1414
variant='light'
1515
style={{ paddingLeft: '30px', paddingRight: '30px' }}
16+
fixed="top"
1617
>
1718
<Navbar.Brand href='#home'>
1819
<img src={Logo} alt='' srcSet='' height={81} width={150} />

src/pages/Contact.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ImTwitter, ImMail, ImGithub } from 'react-icons/im';
66
import { FaGitter } from 'react-icons/fa';
77

88
const Contact = () => (
9-
<Container>
9+
<Container className='contact-padding'>
1010
<h1>Contact Us</h1>
1111
<p>Ideas? Comments? Critiques? Want to help out? Here’s how to get in contact:</p>
1212
<Row className='contact-card-one'>

src/pages/Home.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import React from 'react';
22
import Header from '../components/Header';
33
import LandingSection from '../components/LandingSection';
4+
import "../styles/Header.css"
45

56
function Home() {
67
return (
7-
<>
8-
<Header />
8+
<div className='header-padding'>
9+
<Header />
910
<LandingSection />
10-
</>
11+
</div>
1112
);
1213
}
1314

src/pages/Journal.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
/* eslint-disable no-unused-vars */
33
import React from 'react';
44
import { Col, Row, Container, Table } from 'react-bootstrap';
5+
import "../styles/Journal.css"
56

67
import AddJournal from '../components/AddJournal';
78

89
const Journal = () => (
9-
<Container>
10+
<Container className='journal-padding'>
1011
<h1>Journals</h1>
1112
<AddJournal />
1213
</Container>

src/pages/Login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function Login() {
5151
}
5252
};
5353
return (
54-
<Row>
54+
<Row className='login-padding'>
5555
<Col md={4} />
5656
<Col md={4}>
5757
<Form className='login-form' onSubmit={handleLogin}>

src/pages/Manifesto.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ImTwitter, ImMail, ImGithub } from 'react-icons/im';
1414

1515
const Manifesto = () => (
1616
<Container>
17-
<Row className='manifesto-header'>
17+
<Row className='manifesto-header manifesto-padding'>
1818
<Col xs={12} sm={12} md={3}>
1919
<Image src={StandingImg} height={220} />
2020
</Col>
@@ -50,7 +50,7 @@ const Manifesto = () => (
5050
</Row>
5151
<Row className='manifesto-support'>
5252
<h1>I want to express my support for the manifesto! Tell me how</h1>
53-
<Col md={4}>
53+
<Col md={3} className="manifesto-support-points">
5454
<Image src={WalkingImg} height={140} />
5555
<p>
5656
<a
@@ -62,7 +62,7 @@ const Manifesto = () => (
6262
</a>
6363
</p>
6464
</Col>
65-
<Col md={4}>
65+
<Col md={3} className="manifesto-support-points">
6666
<Image src={PeersImg} height={140} />
6767
<p>
6868
<a
@@ -76,16 +76,16 @@ const Manifesto = () => (
7676
on behalf of an organisation.
7777
</p>
7878
</Col>
79-
<Col md={4}>
79+
<Col md={3} className="manifesto-support-points">
8080
<img src={HandsIcon} alt='' height={140} />
8181
<p>
8282
We’re particularly interested in adding logos and links indicating organisational support
8383
from publishers, funders, and research institutions.
8484
</p>
8585
</Col>
8686
</Row>
87-
<Row>
88-
<Col md={6}>
87+
<Row className='manifesto-contribute'>
88+
<Col md={5}>
8989
<h2>How can I contribute?</h2>
9090
<ul>
9191
<li>Sign the manifesto and share with all your friends!</li>
@@ -111,7 +111,7 @@ const Manifesto = () => (
111111
</li>
112112
</ul>
113113
</Col>
114-
<Col md={6} className='manifesto-contact'>
114+
<Col md={5} className='manifesto-contact'>
115115
<h2>Contact</h2>
116116
<a href='https://twitter.com/codeisscience'>
117117
<ImTwitter />

src/pages/SignUp.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { React, useState } from 'react';
33
import { Row, Col, Form, Button } from 'react-bootstrap';
44
import { showSuccessMessage,showErrorMessage } from '../helpers/alerts';
55
import { SignupValidation } from '../helpers/validate';
6+
import "../styles/Signup.css"
67

78
const SignUp = () => {
89
const [details, setDetails] = useState({
@@ -39,7 +40,7 @@ const SignUp = () => {
3940
};
4041

4142
return (
42-
<Row>
43+
<Row className='signup-padding'>
4344
<Col md={4} />
4445
<Col md={4}>
4546
<Form className='login-form' onSubmit={handleSubmit}>

src/styles/Contact.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@
1111
.contact-form {
1212
margin-bottom: 4em;
1313
}
14+
.contact-padding{
15+
padding-top: 8.7em;
16+
}

src/styles/Header.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@
2424
margin-top: 20em;
2525
margin-left: calc(((100% - 270px) / 3) * 2);
2626
}
27+
.header-padding{
28+
padding-top: 6.7em;
29+
}

src/styles/Journal.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.journal-padding{
2+
padding-top: 7em;
3+
}

0 commit comments

Comments
 (0)