-
Notifications
You must be signed in to change notification settings - Fork 218
Various performance fixes #932
Changes from all commits
fb34add
2f92441
a8f4ccb
28cfdd8
e7c8f58
df07a65
3d8cc92
d14fa61
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<title>Operation Code</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<link rel="apple-touch-icon" sizes="57x57" href="%PUBLIC_URL%/apple-icon-57x57.png"> | ||
<link rel="apple-touch-icon" sizes="60x60" href="%PUBLIC_URL%/apple-icon-60x60.png"> | ||
<link rel="apple-touch-icon" sizes="72x72" href="%PUBLIC_URL%/apple-icon-72x72.png"> | ||
|
@@ -18,43 +20,34 @@ | |
<link rel="icon" type="image/png" sizes="96x96" href="%PUBLIC_URL%/favicon-96x96.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png"> | ||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json"> | ||
<meta name="msapplication-TileColor" content="#ffffff"> | ||
<meta name="msapplication-TileColor" content="#47566b"> | ||
<meta name="msapplication-TileImage" content="%PUBLIC_URL%/ms-icon-144x144.png"> | ||
<meta name="theme-color" content="#ffffff"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Serif"> | ||
<script src="https://cdn.ravenjs.com/3.16.0/raven.min.js" crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="%PUBLIC_URL%/notification.css"> | ||
<!-- | ||
Notice the use of %PUBLIC_URL% in the tag above. | ||
It will be replaced with the URL of the `public` folder during the build. | ||
Only files inside the `public` folder can be referenced from the HTML. | ||
<meta name="theme-color" content="#47566b"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice update of this theme color! Looks nice. |
||
<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."> | ||
<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"> | ||
<meta name="author" content="Veteran Coders, for Veterans Coders"> | ||
<meta property="og:image" content="./images/logos/small-stacked-logo-blue.png" /> | ||
|
||
<!--Twitter cards --> | ||
<meta name="twitter:card" content="summary" /> | ||
<meta name="twitter:site" content="@operation_code" /> | ||
<meta name="twitter:creator" content="@operation_code" /> | ||
|
||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will | ||
work correctly both with client-side routing and a non-root public URL. | ||
Learn how to configure a non-root public URL by running `npm run build`. | ||
--> | ||
<link rel="stylesheet" type="styles/css" href="styles/css/styles.css"> | ||
<script defer src="https://cdn.ravenjs.com/3.16.0/raven.min.js" crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Serif"> | ||
<title>Operation Code</title> | ||
</head> | ||
|
||
<body> | ||
<div id="root"></div> | ||
<script> | ||
Raven.config('https://[email protected]/147247', { | ||
shouldSendCallback: function() { | ||
shouldSendCallback: function () { | ||
return window.location.host === 'operationcode.org'; | ||
} | ||
}).install(); | ||
</script> | ||
<!-- | ||
This HTML file is a template. | ||
If you open it directly in the browser, you will see an empty page. | ||
|
||
You can add webfonts, meta tags, or analytics to this file. | ||
The build step will place the bundled scripts into the <body> tag. | ||
|
||
To begin the development, run `npm start`. | ||
To create a production bundle, use `npm run build`. | ||
--> | ||
</body> | ||
|
||
</html> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ import ReactDOM from 'react-dom'; | |
import '@fortawesome/fontawesome/styles.css'; | ||
import App from './App'; | ||
import './shared/styles/normalize.global.css'; | ||
import './shared/styles/react-table.global.css'; | ||
import './shared/styles/react-select.global.css'; | ||
import './shared/styles/notifications.css'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kylemh Should we also remove the file Another thing I'm not too knowledgeable about (possibly due to my inexperience w/ Webpack) is why we have two index HTML files - a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After a bit of reading around @alexspence 's helpful comments from ejection within webpack related files, looks like we're serving everything relevant via I've updated |
||
import './index.css'; | ||
|
||
ReactDOM.render( | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally got rid of this dependency, nice cleanup.