Skip to content

Commit

Permalink
Merge pull request #253 from devvsakib/onLive
Browse files Browse the repository at this point in the history
new api category added with few resources #249
  • Loading branch information
devvsakib authored Aug 8, 2024
2 parents ea08716 + c709227 commit 7ce8120
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/components/Search/SearchInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ function SearchInput({ search, setSearch, setType }) {
setType("");
}}
/>



<button
className={`focus:outline-none ${!search ? "hidden" : "block"}`}
onClick={() => setSearch("")}
Expand Down
35 changes: 33 additions & 2 deletions src/data/Resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,36 @@
"link": "https://roadmap.sh/game-developer",
"image": "https://roadmap.sh/og/roadmap/game-developer"
}
]
}
],
"API": [
{
"title": "OpenWeatherMap",
"description": "Access weather data from around the world.",
"link": "https://openweathermap.org/api",
"image": "https://openweathermap.org/themes/openweathermap/assets/img/logo_white_cropped.png"
},
{
"title": "REST Countries",
"description": "Get information about countries, including names, capitals, and populations.",
"link": "https://restcountries.com",
"image": "https://restcountries.com/data/flags.svg"
},
{
"title": "JSONPlaceholder",
"description": "A free fake online REST API for testing and prototyping.",
"link": "https://jsonplaceholder.typicode.com",
"image": "https://jsonplaceholder.typicode.com/images/logo.png"
},
{
"title": "The Cat API",
"description": "Get random cat images and facts.",
"link": "https://thecatapi.com",
"image": "https://cdn2.thecatapi.com/images/MTY3ODIyMQ.jpg"
},
{
"title": "GIPHY",
"description": "Find and share GIFs with ease using the GIPHY API.",
"link": "https://developers.giphy.com",
"image": "https://developers.giphy.com/branch/master/static/header-logo-0fec0225d189bc0eae27dac3e3770582.gif"
}
]}

0 comments on commit 7ce8120

Please sign in to comment.