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

Commit 08a608a

Browse files
authored
Merge pull request #932 from OperationCode/various-performance-fixes
Various performance fixes
2 parents 71ee333 + d14fa61 commit 08a608a

File tree

11 files changed

+3475
-636
lines changed

11 files changed

+3475
-636
lines changed

.storybook/config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { configure } from '@storybook/react';
22

33
import 'shared/styles/normalize.global.css';
4-
import 'shared/styles/react-table.global.css';
54
import 'shared/styles/react-select.global.css';
65
import 'index.css';
76

index.html

Lines changed: 0 additions & 39 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"react-scroll": "^1.5.4",
3636
"react-scroll-up-button": "^1.5.9",
3737
"react-select": "^1.0.0-rc.5",
38-
"react-table": "^6.0.5",
3938
"react-toastr": "^2.9.5",
4039
"react-youtube": "^7.5.0",
4140
"sinon": "^2.3.2",

public/index.html

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33

44
<head>
5+
<title>Operation Code</title>
56
<meta charset="utf-8">
67
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
79
<link rel="apple-touch-icon" sizes="57x57" href="%PUBLIC_URL%/apple-icon-57x57.png">
810
<link rel="apple-touch-icon" sizes="60x60" href="%PUBLIC_URL%/apple-icon-60x60.png">
911
<link rel="apple-touch-icon" sizes="72x72" href="%PUBLIC_URL%/apple-icon-72x72.png">
@@ -18,43 +20,34 @@
1820
<link rel="icon" type="image/png" sizes="96x96" href="%PUBLIC_URL%/favicon-96x96.png">
1921
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png">
2022
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
21-
<meta name="msapplication-TileColor" content="#ffffff">
23+
<meta name="msapplication-TileColor" content="#47566b">
2224
<meta name="msapplication-TileImage" content="%PUBLIC_URL%/ms-icon-144x144.png">
23-
<meta name="theme-color" content="#ffffff">
24-
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Serif">
25-
<script src="https://cdn.ravenjs.com/3.16.0/raven.min.js" crossorigin="anonymous"></script>
26-
<link rel="stylesheet" href="%PUBLIC_URL%/notification.css">
27-
<!--
28-
Notice the use of %PUBLIC_URL% in the tag above.
29-
It will be replaced with the URL of the `public` folder during the build.
30-
Only files inside the `public` folder can be referenced from the HTML.
25+
<meta name="theme-color" content="#47566b">
26+
<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.">
27+
<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">
28+
<meta name="author" content="Veteran Coders, for Veterans Coders">
29+
<meta property="og:image" content="./images/logos/small-stacked-logo-blue.png" />
30+
31+
<!--Twitter cards -->
32+
<meta name="twitter:card" content="summary" />
33+
<meta name="twitter:site" content="@operation_code" />
34+
<meta name="twitter:creator" content="@operation_code" />
3135

32-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
33-
work correctly both with client-side routing and a non-root public URL.
34-
Learn how to configure a non-root public URL by running `npm run build`.
35-
-->
36+
<link rel="stylesheet" type="styles/css" href="styles/css/styles.css">
37+
<script defer src="https://cdn.ravenjs.com/3.16.0/raven.min.js" crossorigin="anonymous"></script>
38+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Serif">
3639
<title>Operation Code</title>
3740
</head>
3841

3942
<body>
4043
<div id="root"></div>
4144
<script>
4245
Raven.config('https://[email protected]/147247', {
43-
shouldSendCallback: function() {
46+
shouldSendCallback: function () {
4447
return window.location.host === 'operationcode.org';
4548
}
4649
}).install();
4750
</script>
48-
<!--
49-
This HTML file is a template.
50-
If you open it directly in the browser, you will see an empty page.
51-
52-
You can add webfonts, meta tags, or analytics to this file.
53-
The build step will place the bundled scripts into the <body> tag.
54-
55-
To begin the development, run `npm start`.
56-
To create a production bundle, use `npm run build`.
57-
-->
5851
</body>
5952

6053
</html>

public/notification.css

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import ReactDOM from 'react-dom';
33
import '@fortawesome/fontawesome/styles.css';
44
import App from './App';
55
import './shared/styles/normalize.global.css';
6-
import './shared/styles/react-table.global.css';
76
import './shared/styles/react-select.global.css';
7+
import './shared/styles/notifications.css';
88
import './index.css';
99

1010
ReactDOM.render(

src/shared/components/indexTable/indexTable.js

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)