-
Notifications
You must be signed in to change notification settings - Fork 5
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
28 changed files
with
4,374 additions
and
3,591 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
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 |
---|---|---|
|
@@ -30,3 +30,4 @@ firebase.json | |
/.firebase | ||
|
||
*.psd | ||
.eslintcache |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
{ | ||
"name": "github-ui-clone", | ||
"version": "1.0.0", | ||
"description": "This app contains an UI clone (partial) from GitHub application", | ||
"version": "1.0.0", | ||
"main": "index.tsx", | ||
"repository": "https://github.com/leoronne/github-ui-clone", | ||
"author": "Leonardo Ronne", | ||
"author": "Leonardo Ronne <[email protected]>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@testing-library/jest-dom": "^4.2.4", | ||
"@testing-library/react": "^9.3.2", | ||
"@testing-library/user-event": "^7.1.2", | ||
"@types/jest": "^24.0.0", | ||
"@types/node": "^12.0.0", | ||
"@types/react": "^16.9.0", | ||
"@types/react-dom": "^16.9.0", | ||
"axios": "^0.19.2", | ||
"date-fns": "^2.15.0", | ||
"@material-ui/core": "^4.11.2", | ||
"@testing-library/jest-dom": "^5.11.6", | ||
"@testing-library/react": "^11.2.2", | ||
"@testing-library/user-event": "^12.6.0", | ||
"@types/jest": "^26.0.19", | ||
"@types/node": "^14.14.14", | ||
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"axios": "^0.21.1", | ||
"date-fns": "^2.16.1", | ||
"history": "^5.0.0", | ||
"react": "^16.13.1", | ||
"react": "^17.0.1", | ||
"react-calendar-heatmap": "^1.8.1", | ||
"react-dom": "^16.13.1", | ||
"react-icons": "^3.10.0", | ||
"react-dom": "^17.0.1", | ||
"react-icons": "^4.1.0", | ||
"react-router": "^5.2.0", | ||
"react-router-dom": "^6.0.0-beta.0", | ||
"react-scripts": "3.4.1", | ||
"react-spinners": "^0.9.0", | ||
"react-toastify": "^6.0.8", | ||
"react-tooltip": "^4.2.7", | ||
"react-use": "^15.3.3", | ||
"styled-components": "^5.1.1", | ||
"typescript": "^3.7.2" | ||
"react-scripts": "^4.0.1", | ||
"react-toastify": "^6.2.0", | ||
"react-use": "^15.3.4", | ||
"styled-components": "^5.2.1", | ||
"typescript": "^4.1.3" | ||
}, | ||
"scripts": { | ||
"start": "react-app-rewired start", | ||
|
@@ -54,26 +54,26 @@ | |
"devDependencies": { | ||
"@types/react-calendar-heatmap": "^1.6.2", | ||
"@types/react-icons": "^3.0.0", | ||
"@types/react-router-dom": "^5.1.5", | ||
"@types/styled-components": "^5.1.2", | ||
"@typescript-eslint/eslint-plugin": "^3.6.0", | ||
"@typescript-eslint/parser": "^3.6.0", | ||
"@types/react-router-dom": "^5.1.6", | ||
"@types/styled-components": "^5.1.7", | ||
"@typescript-eslint/eslint-plugin": "^4.11.0", | ||
"@typescript-eslint/parser": "^4.11.0", | ||
"babel-eslint": "^10.0.3", | ||
"babel-plugin-root-import": "^6.4.1", | ||
"customize-cra": "^0.9.1", | ||
"babel-plugin-root-import": "^6.6.0", | ||
"customize-cra": "^1.0.0", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.2", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.1.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"enzyme-adapter-react-16": "^1.15.5", | ||
"eslint": "^7.16.0", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"eslint-config-prettier": "^7.1.0", | ||
"eslint-import-resolver-babel-plugin-root-import": "^1.1.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-import-helpers": "^1.0.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint-plugin-react": "^7.19.0", | ||
"eslint-plugin-react-hooks": "^2.5.1", | ||
"prettier": "^2.0.5", | ||
"react-app-rewired": "^2.1.6" | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-prettier": "^3.3.0", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"prettier": "^2.2.1", | ||
"react-app-rewired": "^2.1.8" | ||
} | ||
} |
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,4 @@ | ||
Options -MultiViews | ||
RewriteEngine On | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteRule ^ index.html [QSA,L] |
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 |
---|---|---|
|
@@ -2,17 +2,38 @@ | |
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="manifest" href="./manifest.json" /> | ||
<meta name="msapplication-TileColor" content="#ffffff" /> | ||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> | ||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet" /> | ||
<link rel="shortcut icon" type="image/x-icon" href="%PUBLIC_URL%/favicon.ico" /> | ||
|
||
<meta name="language" content="EN" /> | ||
|
||
<meta name="theme-color" content="#1D1D1D" /> | ||
<meta name="msapplication-TileColor" content="#1D1D1D" /> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="#1D1D1D" /> | ||
<meta name="msapplication-navbutton-color" content="#1D1D1D" /> | ||
|
||
<meta name="msapplication-TileImage" content="./logo512.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | ||
<meta name="theme-color" content="#1D1D1D" /> | ||
|
||
<meta name="description" content="This app contains an UI clone (partial) from GitHub application using it's public APIs" /> | ||
<meta name="author" content="Leonardo Ronne" /> | ||
<meta name="subject" content="This is an UI clone (partial) from GitHub website." /> | ||
|
||
<meta name="keywords" content="GitHub, GitHub-UI-Clone, Leonardo Ronne, Next Level Weel, NLW, OmniStack, Rocketseat, Guilherme Rodz, Diego Fernandes, Reactjs, Nodejs" /> | ||
|
||
<meta name="author" content="Leonardo Ronne, [email protected]" /> | ||
<meta name="owner" content="Leonardo Ronne" /> | ||
<meta name="reply-to" content="[email protected]" /> | ||
|
||
<meta name="designer" content="Leonardo Ronne" /> | ||
<meta name="copyright" content="Leonardo Ronne" /> | ||
|
||
<meta name="url" content="https://github.ui-clone.ronne.dev" /> | ||
<meta name="identifier-URL" content="https://github.ui-clone.ronne.dev" /> | ||
|
||
<meta name="robots" content="index,follow" /> | ||
<meta name="googlebot" content="index,follow" /> | ||
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" /> | ||
|
||
<title>GitHub UI Clone</title> | ||
</head> | ||
<body> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react'; | ||
import { CircularProgress } from '@material-ui/core'; | ||
|
||
import { Container } from './styles'; | ||
|
||
const Loader: React.FC<{ color: string }> = ({ color = '#1D1D1D' }) => { | ||
return ( | ||
<Container className="loader-container"> | ||
<CircularProgress size={15} style={{ color }} /> | ||
</Container> | ||
); | ||
}; | ||
export default Loader; |
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 @@ | ||
/* eslint-disable import/prefer-default-export */ | ||
import styled from 'styled-components'; | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: calc(100vh - 18px); | ||
overflow: hidden; | ||
`; |
Oops, something went wrong.