forked from summitech/gitexplorer
-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
0f62256
commit 45cb767
Showing
32 changed files
with
16,132 additions
and
106 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
REACT_APP_NODE_PATH=src/ | ||
NODE_PATH=src/ |
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,43 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": ["eslint:recommended", "plugin:react/recommended", "airbnb-base"], | ||
"settings": { | ||
"react": { | ||
"pragma": "React", | ||
"version": "16.6.0" | ||
} | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 9, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"rules": { | ||
"comma-dangle": 0, | ||
"global-require": "off", | ||
"prefer-spread": "off", | ||
"no-console": "off", | ||
"no-restricted-syntax": "off", | ||
"no-param-reassign": "off", | ||
"no-plusplus": "off", | ||
"react/prop-types": ["error", { "ignore": ["navigation"] }], | ||
"import/prefer-default-export": "off", | ||
"import/no-extraneous-dependencies": "off", | ||
"no-underscore-dangle": "off", | ||
"no-use-before-define": "off", | ||
"class-methods-use-this": "off", | ||
"import/no-cycle": "off", | ||
"no-nested-ternary": "off", | ||
"consistent-return": "off", | ||
"react/jsx-filename-extension": "off", | ||
"guard-for-in": "off", | ||
"import/no-unresolved": "off" | ||
} | ||
} |
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,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"paths": { | ||
"*": ["src/*"] | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
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
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 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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,5 @@ | ||
import React from 'react'; | ||
|
||
const Footer = props => <footer className="footer">Footer</footer>; | ||
|
||
export { Footer }; |
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,2 @@ | ||
export * from './footer'; | ||
export * from './nav'; |
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,5 @@ | ||
import React from 'react'; | ||
|
||
const Nav = props => <nav className="nav">Nav</nav>; | ||
|
||
export { Nav }; |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import './index.css'; | ||
import App from './App'; | ||
import * as serviceWorker from './serviceWorker'; | ||
import App from 'App'; | ||
import 'scss/main.css'; | ||
import * as serviceWorker from 'serviceWorker'; | ||
|
||
ReactDOM.render(<App />, document.getElementById('root')); | ||
|
||
// If you want your app to work offline and load faster, you can change | ||
// unregister() to register() below. Note this comes with some pitfalls. | ||
// Learn more about service workers: http://bit.ly/CRA-PWA | ||
serviceWorker.unregister(); | ||
serviceWorker.register(); |
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,2 @@ | ||
.footer { | ||
} |
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,2 @@ | ||
.nav { | ||
} |
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,39 @@ | ||
@font-face { | ||
font-family: "OpenSans"; | ||
font-style: normal; | ||
font-weight: 300; | ||
src: url("../assets/fonts/OpenSans/OpenSans-Light.ttf") format("truetype"); | ||
text-rendering: optimizeLegibility; | ||
} | ||
|
||
@font-face { | ||
font-family: "OpenSans"; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: url("../assets/fonts/OpenSans/OpenSans-Regular.ttf") format("truetype"); | ||
text-rendering: optimizeLegibility; | ||
} | ||
|
||
@font-face { | ||
font-family: "OpenSans"; | ||
font-style: normal; | ||
font-weight: 600; | ||
src: url("../assets/fonts/OpenSans/OpenSans-SemiBold.ttf") format("truetype"); | ||
text-rendering: optimizeLegibility; | ||
} | ||
|
||
@font-face { | ||
font-family: "OpenSans"; | ||
font-style: normal; | ||
font-weight: bold; | ||
src: url("../assets/fonts/OpenSans/OpenSans-Bold.ttf") format("truetype"); | ||
text-rendering: optimizeLegibility; | ||
} | ||
|
||
@font-face { | ||
font-family: "OpenSans"; | ||
font-style: normal; | ||
font-weight: 800; | ||
src: url("../assets/fonts/OpenSans/OpenSans-ExtraBold.ttf") format("truetype"); | ||
text-rendering: optimizeLegibility; | ||
} |
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,52 @@ | ||
@mixin respond($breakpoint) { | ||
@if ($breakpoint== "xs") { | ||
@media (max-width: 575px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "sm") { | ||
@media (min-width: 576px) and (max-width: 767px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "as") { | ||
@media (max-width: 768px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "ab") { | ||
@media (min-width: 769px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "am") { | ||
@media (max-width: 991px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "fm") { | ||
@media (min-width: 992px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "md") { | ||
@media (min-width: 768px) and (max-width: 991px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "lg") { | ||
@media (min-width: 992px) and (max-width: 1199px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "md-lg") { | ||
@media (min-width: 768px) and (max-width: 1199px) { | ||
@content; | ||
} | ||
} | ||
@if ($breakpoint== "xl") { | ||
@media (min-width: 1200px) { | ||
@content; | ||
} | ||
} | ||
} |
Oops, something went wrong.