-
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.
Merge pull request #15 from vanribeiro/dev
feat: add favicon
- Loading branch information
Showing
20 changed files
with
172 additions
and
74 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
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} |
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
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,20 @@ | ||
const urlDictionary = [ | ||
{ | ||
"title": "abrir em outra aba: 30 day of JavaScript - WesBos Challenge", | ||
"url": "https://vanribeiro-30daysofjavascript.netlify.app" | ||
}, | ||
{ | ||
"title": "abrir em outra aba: documentação back-end deste site", | ||
"url": "https://vanribeiro-github-io-backend.vercel.app" | ||
}, | ||
{ | ||
"title": "abrir em outra aba: Know more about countries app - Frontend Mentor Challenge", | ||
"url": "https://know-more-about-countries-app.vercel.app" | ||
}, | ||
{ | ||
"title": "abrir em outra aba: Advice Generator App - Frontend Mentor Challenge", | ||
"url": "https://advice-generator-app-cyan.vercel.app" | ||
} | ||
]; | ||
|
||
export default urlDictionary; |
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,40 +1,9 @@ | ||
import { | ||
URL_BASE_API_ALURA, | ||
URL_BASE_API_GITHUB, | ||
URL_BASE_API_DEV_TO_SUMMARY | ||
} from "./config.js"; | ||
|
||
/** | ||
* @todo: DRY - refactor this function to use a generic fetch function | ||
*/ | ||
|
||
const fetchGithubReposData = async () => { | ||
const response = await fetch(`${URL_BASE_API_GITHUB}?sort=updated&direction=desc`); | ||
const data = await response.json(); | ||
return data; | ||
} | ||
|
||
const fetchDevToData = async () => { | ||
const response = await fetch(`${URL_BASE_API_DEV_TO_SUMMARY}`); | ||
const data = await response.json(); | ||
return data; | ||
} | ||
|
||
const fetchInstagramMediaData = async () => { | ||
const response = await fetch(`${URL_BASE_API}/api/meu-instagram`); | ||
const data = await response.json(); | ||
return data; | ||
} | ||
|
||
const fetchAluraDashboardData = async () => { | ||
const response = await fetch(`${URL_BASE_API_ALURA}?collection=progresso`); | ||
const fetchData = async (url, query) => { | ||
const response = await fetch(`${url}${query ? query : ''}`); | ||
const result = await response.json(); | ||
return [ response, result ]; | ||
return { response, result }; | ||
} | ||
|
||
export { | ||
fetchDevToData, | ||
fetchGithubReposData, | ||
fetchInstagramMediaData, | ||
fetchAluraDashboardData | ||
fetchData, | ||
}; |
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