Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Commit b849b47

Browse files
authored
Merge branch 'master' into issue#135
2 parents e78fb63 + f349b64 commit b849b47

41 files changed

Lines changed: 156 additions & 156 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<meta name="description" content="Veteran-founded and led, Operation Code is a 501(c)(3) non-profit whose mission is to aid military, vets and their families learn coding and web technologies.">
8+
<meta name="description" content="Veteran-founded and led, Operation Code is a 501(c)(3) non-profit whose mission is to aid military, vets and their families learn coding and web technologies.">
99
<meta name="keywords" content="operation code, veterans, software development, learn to code, keep coding, veteran coders, senate veterans, house veterans, gi bill, new gi bill, operationcode.org, #operationcode, military vets, vets">
1010
<meta name="author" content="Veteran Coders, for Veterans Coders">
1111
<meta property="og:image" content="https://static1.squarespace.com/static/586d87de725e2585df6e8448/t/5870110d6b8f5b61fdd8ee05/1483739408996/?format=500w" />

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"react-modal": "^1.7.7",
2020
"react-router": "^4.1.1",
2121
"react-router-dom": "^4.1.1",
22+
"react-scroll": "^1.5.2",
2223
"react-table": "^6.0.5",
2324
"sinon": "^2.3.2",
2425
"universal-cookie": "^2.0.7"

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
work correctly both with client-side routing and a non-root public URL.
3131
Learn how to configure a non-root public URL by running `npm run build`.
3232
-->
33-
<title>Operation Code</title>
33+
<title>Operation Code</title>
3434
<!-- Start of Async Drift Code -->
3535
<script>
3636
!function() {

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class App extends Component {
1111
}
1212

1313
componentDidMount() {
14-
if (process.env.NODE_ENV === 'production' && process.env.GA_TRACKER_ID) {
15-
ReactGA.initialize(process.env.GA_TRACKER_ID);
14+
if (process.env.NODE_ENV === 'production') {
15+
ReactGA.initialize('UA-75642413-1', { debug: false });
1616
this.history.listen((location) => {
1717
ReactGA.set({ page: location.pathname });
1818
ReactGA.pageview(location.pathname);

src/images/General-Flag.jpg

-471 KB
Loading
-189 KB
Binary file not shown.
64 KB
Loading

src/index.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,21 @@ h1, h2, h3, h4, h5, h6, a, button {
2222
font-family: 'PF Din Display'
2323
}
2424

25+
*, *:before, *:after {
26+
box-sizing: inherit;
27+
}
28+
2529
h1, h2, h3, h4, h5, h6 {
2630
-webkit-margin-before: 0;
2731
-webkit-margin-after: 0;
32+
margin:0;
33+
padding:0;
2834
}
2935

3036
/*16px*/
3137
body {
3238
font-size: 1rem;
39+
line-height: 1.5;
3340
}
3441

3542
/*40px*/

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import React from 'react';
22
import ReactDOM from 'react-dom';
33
import 'font-awesome/css/font-awesome.css';
44
import App from './App';
5-
import './normalize.global.css';
5+
import './shared/styles/normalize.global.css';
6+
import './shared/styles/react-table.global.css';
67
import './index.css';
7-
import './index.global.css';
88

99
ReactDOM.render(
1010
<App />,

src/scenes/home/codeSchools/codeSchools.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,24 +50,28 @@ class CodeSchools extends Component {
5050

5151
<div className={styles.filterButtonDiv}>
5252
<LinkButton
53-
link="#approvedSchools"
53+
link="approvedSchools"
5454
text="Code Schools with VA Approval"
5555
theme="blue"
56+
scrollLink
5657
/>
5758
<LinkButton
58-
link="#partnerSchools"
59+
link="partnerSchools"
5960
text="Partner Schools with Scholarships"
6061
theme="blue"
62+
scrollLink
6163
/>
6264
<LinkButton
63-
link="#onlineSchools"
65+
link="onlineSchools"
6466
text="Online Schools"
6567
theme="blue"
68+
scrollLink
6669
/>
6770
<LinkButton
68-
link="#schoolsByState"
71+
link="schoolsByState"
6972
text="Search by State"
7073
theme="blue"
74+
scrollLink
7175
/>
7276
</div>
7377
</Section>

0 commit comments

Comments
 (0)