Skip to content

Commit 6dafc6a

Browse files
committed
Initial commit
1 parent 3ed05ae commit 6dafc6a

29 files changed

+20249
-1
lines changed

COLORS

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
div {
2+
color: #ef5350;
3+
color: #ab47bc;
4+
color: #00e676;
5+
color: #ffee58;
6+
color: #ff4081;
7+
color: #42a5f5;
8+
color: #ffa726;
9+
color: #651fff;
10+
color: #212121;
11+
color: #7986cb;
12+
color: #84ffff;
13+
color: #6d4c41;
14+
color: #c0ca33;
15+
color: #ff6f00;
16+
color: #ccff90;
17+
color: #78909c;
18+
color: #ffccbc;
19+
color: #424242;
20+
color: #FFCCFF;
21+
color: #CC3366;
22+
color: #000033;
23+
color: #FF0033;
24+
color: #CCCCCC;
25+
26+
}

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
# github-user-languages
1+
# GitHub User Language Breakdown (github-user-languages)
2+
![alt text](https://i.imgur.com/KsNTNd8.png "App screenshot")
3+
4+
GitHub User Language Breakdown (github-user-languages) shows a breakdown of languages a GitHub user has used in their public repositories. It doesn't require you to log in, all you need to do is type in a valid GitHub username (profile name).
5+
6+
## How to use
7+
It's very simple. Just head on to [this website](https://github-user-language-breakdown.herokuapp.com/), enter your GitHub username (profile name) and wait for the chart to appear.
8+
9+
## TODO
10+
[See TODO](https://github-user-language-breakdown.herokuapp.com/)

TODO

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
--- TODO ---
2+
1. Chart sorting
3+
2. Chart type selection
4+
3. Share functionality
5+
4. By dominant language in a repository mode (in addition to current by bytes mode)

client/package-lock.json

Lines changed: 17610 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "github",
3+
"version": "0.1.0",
4+
"private": true,
5+
"dependencies": {
6+
"chart.js": "^2.7.3",
7+
"grommet": "^2.3.1",
8+
"polished": "^2.3.3",
9+
"react": "^16.7.0",
10+
"react-burger-menu": "^2.6.1",
11+
"react-chartjs-2": "^2.7.4",
12+
"react-dom": "^16.7.0",
13+
"react-router-dom": "^4.3.1",
14+
"react-scripts": "2.1.3",
15+
"react-spinners": "^0.5.1",
16+
"styled-components": "^4.1.3"
17+
},
18+
"scripts": {
19+
"start": "react-scripts start",
20+
"build": "react-scripts build",
21+
"test": "react-scripts test",
22+
"eject": "react-scripts eject"
23+
},
24+
"eslintConfig": {
25+
"extends": "react-app"
26+
},
27+
"proxy": "http://localhost:5000/",
28+
"browserslist": [
29+
">0.2%",
30+
"not dead",
31+
"not ie <= 11",
32+
"not op_mini all"
33+
]
34+
}

client/public/favicon.ico

1.12 KB
Binary file not shown.

client/public/index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
6+
<meta
7+
name="viewport"
8+
content="width=device-width, initial-scale=1, shrink-to-fit=no"
9+
/>
10+
<meta name="theme-color" content="#000000" />
11+
12+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
13+
14+
<title>GitHub User Language Breakdown</title>
15+
</head>
16+
<body>
17+
<noscript>You need to enable JavaScript to run this app.</noscript>
18+
<div id="root"></div>
19+
20+
</body>
21+
</html>

client/public/manifest.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
}
10+
],
11+
"start_url": ".",
12+
"display": "standalone",
13+
"theme_color": "#000000",
14+
"background_color": "#ffffff"
15+
}

client/src/App.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

client/src/App.jsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import React, { Component } from 'react';
2+
import './App.css';
3+
import { BrowserRouter as Router, Route } from 'react-router-dom';
4+
import Home from './components/Home';
5+
6+
class App extends Component {
7+
render() {
8+
return (
9+
<Router>
10+
<div className="App">
11+
<Route exact path="/" component={Home} />
12+
</div>
13+
</Router>
14+
);
15+
}
16+
}
17+
18+
export default App;

0 commit comments

Comments
 (0)