-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
227 changed files
with
10,690 additions
and
1,075 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,21 @@ | ||
*.DS_Store | ||
.DS_Store? | ||
.sass-cache | ||
node_modules | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[build] | ||
base = "" | ||
publish = "build" | ||
command = "yarn build" | ||
|
||
[[redirects]] | ||
from = "https://teamcolors.netlify.com/*" | ||
to = "https://teamcolors.jim-nielsen.com/:splat" | ||
status = 301 | ||
force = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,26 @@ | ||
{ | ||
"name": "teamcolors.github.io", | ||
"version": "1.0.0", | ||
"description": "Team Colors is a reference of color values for major league sporting teams.", | ||
"name": "teamcolors", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "npm run css:build && npm run css:dev & npm run webpack:dev", | ||
"prod": "npm run css:prod && npm run webpack:prod", | ||
"prod:static": "node src/scripts/generateStatic.js", | ||
"webpack:dev": "./node_modules/.bin/webpack --watch --d --config webpack.config.js", | ||
"webpack:prod": "./node_modules/.bin/webpack -p --config webpack.config.js", | ||
"css:build": "./node_modules/.bin/node-sass src/styles/index.scss build/styles/index.css", | ||
"css:dev": "./node_modules/.bin/node-sass -w src/styles/index.scss build/styles/index.css", | ||
"css:prod": "./node_modules/.bin/node-sass --output-style=compressed src/styles/index.scss build/styles/index.css", | ||
"lint": "./node_modules/.bin/eslint src/scripts", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/teamcolors/teamcolors.github.io.git" | ||
"dependencies": { | ||
"fuzzy": "^0.1.3", | ||
"react": "^16.5.2", | ||
"react-dom": "^16.5.2", | ||
"react-scripts": "2.0.5" | ||
}, | ||
"author": "Jim Nielsen", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/teamcolors/teamcolors.github.io/issues" | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
}, | ||
"homepage": "https://github.com/teamcolors/teamcolors.github.io", | ||
"dependencies": { | ||
"lodash": "^3.10.1", | ||
"react": "^0.14.3", | ||
"react-dom": "^0.14.3" | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.3.17", | ||
"babel-loader": "^6.2.0", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-preset-react": "^6.3.13", | ||
"fuzzy": "^0.1.1", | ||
"node-sass": "^3.4.2", | ||
"webpack": "^1.12.9", | ||
"webpack-dev-server": "^1.14.0" | ||
} | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
} |
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<title>TeamColors: Find and copy color values from your favorite sports teams.</title> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="%PUBLIC_URL%/styles/reset.css" /> | ||
<link rel="stylesheet" href="%PUBLIC_URL%/styles/index.css" /> | ||
</head> | ||
<body> | ||
<header class="header"> | ||
<div class="wrapper"> | ||
<h1 class="header__logo"> | ||
<a href="."> | ||
<img src="%PUBLIC_URL%/img/teamColorsLogo.svg" alt="TeamColors logo" /> | ||
</a> | ||
</h1> | ||
<p class="header__description"> | ||
<span> | ||
A project from <a href="http://jim-nielsen.com" class="emphasize">Jim</a> <a href="https://twitter.com/jimniels" class="emphasize">Nielsen</a>. Got suggestions or corrections? <a href="https://github.com/jimniels/teamcolors">Source is on Github</a>. | ||
</span> | ||
<span> | ||
Note: some colors are official, others are approximations. <a href="https://github.com/jimniels/teamcolors#official-color-references">Learn more</a>. | ||
</span> | ||
</p> | ||
</div> | ||
</header> | ||
|
||
<main id="root"> | ||
<div class="wrapper"> | ||
<p class="loading"> | ||
<b>Loading...</b> Not loading? You’re probably on an old browser or have Javascript disabled. You can still <a href="data/teams.json">view the raw data</a>. | ||
</p> | ||
</div> | ||
</main> | ||
|
||
<!-- Google Analytics --> | ||
<script type="text/javascript"> | ||
var _gaq = _gaq || []; | ||
_gaq.push(["_setAccount", "UA-2118091-16"]); | ||
_gaq.push(["_trackPageview"]); | ||
|
||
(function() { | ||
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true; | ||
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js"; | ||
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"short_name": "React App", | ||
"name": "Create React App Sample", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} |
Oops, something went wrong.