-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrating to Next.js and adding download script.
- Loading branch information
1 parent
f785246
commit b740ea8
Showing
35 changed files
with
17,567 additions
and
13,602 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,2 +1,3 @@ | ||
node_modules/ | ||
build/ | ||
build/ | ||
.next/ |
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,49 +1,3 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended" | ||
], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 12, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"quotes": [ | ||
"error", | ||
"double" | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
"react/react-in-jsx-scope": "off", | ||
"eol-last": [ | ||
"error", | ||
"always" | ||
] | ||
} | ||
} | ||
"extends": "next" | ||
} |
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 |
---|---|---|
|
@@ -25,3 +25,4 @@ yarn-error.log* | |
.eslintcache | ||
|
||
.vercel | ||
.next |
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,3 @@ | ||
{ | ||
"trailingComma": "none" | ||
} |
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,5 +1,23 @@ | ||
# League of React | ||
|
||
* [Color palette](https://colorhunt.co/palette/219713) | ||
Visualize the League of Legends champions. | ||
|
||
* [Free icons - FontAwesome](https://fontawesome.com/) | ||
## Screenshots | ||
|
||
**Homepage** | ||
![Homepage screenshot](/docs/images/home.png) | ||
|
||
**Champion page** | ||
![Champion page screenshot](/docs/images/champion.png) | ||
|
||
## Upcoming features | ||
|
||
- [ ] Desktop design. | ||
- [ ] Filter champions. | ||
- [ ] Extract the color of the champions. | ||
|
||
## Resources | ||
|
||
- [Data Dragon](https://developer.riotgames.com/docs/lol#data-dragon) | ||
- [Color Hunt](https://colorhunt.co/palette/219713) | ||
- [FontAwesome](https://fontawesome.com/) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": "./src" | ||
"baseUrl": ".", | ||
"paths": { | ||
"@/assets/*": ["src/assets/*"], | ||
"@/components/*": ["src/components/*"], | ||
"@/hooks/*": ["src/hooks/*"], | ||
"@/public/*": ["public/*"], | ||
"@/styles/*": ["src/styles/*"] | ||
} | ||
} | ||
} | ||
} |
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,14 @@ | ||
module.exports = { | ||
images: { | ||
domains: ["ddragon.leagueoflegends.com"] | ||
}, | ||
reactStrictMode: true, | ||
webpack: (config) => { | ||
config.module.rules.push({ | ||
test: /\.svg$/, | ||
use: ["@svgr/webpack"] | ||
}); | ||
|
||
return config; | ||
} | ||
}; |
Oops, something went wrong.