Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added default icon/image if the logo is not present #445

Open
wants to merge 1 commit into
base: source
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/ProjectList/ProjectsCards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ const Card = ({
className="Project-Logo"
alt="the framework or language that the project is build upon"
src={logoLink}
onError={(e)=>{//fallback image on error
e.target.onerror=null;
e.target.src="https://avatars0.githubusercontent.com/u/20078201?s=460&u=3e17a0f93f3c87b4dcef5671b623519229a5c4fb&v=4"//fallback image source
}}
/>
<p className="Card-Title">{name}</p>
</div>
Expand Down
48 changes: 24 additions & 24 deletions src/components/ProjectList/listOfProjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const projectList = [
{
name: "Signal-Android",
imageSrc:
"https://signal.org/assets/header/logo-f7ef605fe417d5520d38d546b3b774b4261c75220b9904da4d8b2ffc19a761ff.png",
"https://avatars.githubusercontent.com/u/702459?s=48&v=4",
projectLink: "https://github.com/signalapp/Signal-Android",
description:
"Signal uses your phone's data connection (WiFi/3G/4G/5G) to communicate securely. Millions of people use Signal every day for free and instantaneous communication anywhere in the world. Send and receive high-fidelity messages, participate in HD voice/video calls, and explore a growing set of new features that help you stay connected. Signal’s advanced privacy-preserving technology is always enabled, so you can focus on sharing the moments that matter with the people who matter to you.",
Expand All @@ -47,7 +47,7 @@ const projectList = [
{
name: "Reseter.css",
imageSrc:
"https://raw.githubusercontent.com/resetercss/reseter.css/main/logo.png",
"https://github.com/krshoss/gardevoir/raw/main/.github/assets/gardevoir.png",
projectLink: "https://github.com/resetercss/reseter.css",
description:
"Reseter.css is an awesome CSS boilerplate for a website. It is a great tool for any web designer. Reseter.css resets all the premade styles by the browser. It normalizes the browser's stylesheet for a better cross-browser experience.",
Expand All @@ -56,7 +56,7 @@ const projectList = [
{
name: "CircuitVerse",
imageSrc:
"https://github.com/CircuitVerse/CircuitVerse/blob/master/app/assets/images/CircuitVerse.png",
"https://raw.githubusercontent.com/CircuitVerse/CircuitVerse/master/app/assets/images/cvlogo.svg",
projectLink: "https://github.com/CircuitVerse",
description:
"CircuitVerse is a free, open-source platform which allows users to construct digital logic circuits online. We also offer the Interactive Book which teaches users on the fundamentals of modern, digital circuits.",
Expand All @@ -65,7 +65,7 @@ const projectList = [
{
name: "MoveIt",
imageSrc:
"https://camo.githubusercontent.com/8dc96fd1c0547dcf77efe1b4fa579dd628bc4069b91cdb401b56da570064b115/68747470733a2f2f6d6f766569742e726f732e6f72672f6173736574732f6c6f676f2f6d6f766569745f6c6f676f2d626c61636b2e706e67",
"https://camo.githubusercontent.com/8a314e1fa2bdd2950b772151b2cf8a851b2c3f4a280712ea985dc046596819fe/687474703a2f2f6d6f766569742e726f732e6f72672f6173736574732f6c6f676f2f6d6f766569745f6c6f676f2d626c61636b2e706e67",
projectLink: "https://github.com/ros-planning/moveit",
description:
"Easy-to-use open source robotics manipulation platform for developing commercial applications, prototyping designs, and benchmarking algorithms.",
Expand All @@ -91,7 +91,7 @@ const projectList = [
{
name: "React Native",
imageSrc:
"https://github.com/facebook/react-native/blob/main/Libraries/NewAppScreen/components/logo.png?raw=true",
"https://avatars.githubusercontent.com/u/69631?s=48&v=4",
projectLink: "https://github.com/facebook/react-native/contribute",
description: "A framework for building native apps with React.",
tags: ["JavaScript", "React", "React Native", "Mobile App"],
Expand Down Expand Up @@ -173,15 +173,15 @@ const projectList = [
{
name: "Numpy",
imageSrc:
"https://camo.githubusercontent.com/b310fd3c9c5f7da5de0911b77d201408b76b8a58/68747470733a2f2f696d616765732e706c6f742e6c792f706c6f746c792d646f63756d656e746174696f6e2f7468756d626e61696c2f6e756d70792d6c6f676f2e6a7067",
"https://raw.githubusercontent.com/numpy/numpy/main/branding/logo/primary/numpylogo.svg",
projectLink: "https://github.com/numpy/numpy/contribute",
description: "Scientific computing with Python!",
tags: ["Python", "Math", "Module", "Docs"],
},
{
name: "pandas",
imageSrc:
"https://camo.githubusercontent.com/981d48e57e23a4907cebc4eb481799b5882595ea978261f22a3e131dcd6ebee6/68747470733a2f2f70616e6461732e7079646174612e6f72672f7374617469632f696d672f70616e6461732e737667",
"https://camo.githubusercontent.com/0a42ac8f921e01cae2a0d817c61545eeab62e79cfd75720868b47e155954aa80/68747470733a2f2f70616e6461732e7079646174612e6f72672f7374617469632f696d672f70616e6461732e737667",
projectLink: "https://github.com/pandas-dev/pandas/contribute",
description: "pandas: powerful Python data analysis toolkit",
tags: ["Python", "data science", "data analysis", "math", "Module"],
Expand Down Expand Up @@ -257,7 +257,7 @@ const projectList = [
{
name: "Leiningen",
imageSrc:
"https://camo.githubusercontent.com/0f302c808c8457f6460913e33aed3478124612c2/687474703a2f2f6c65696e696e67656e2e6f72672f696d672f6c65696e696e67656e2e6a7067",
"https://camo.githubusercontent.com/41f8d4a6db9dafa3183e329b4d5cfa22e4ccb280ec422f7c60137f23fcba10ff/68747470733a2f2f6c65696e696e67656e2e6f72672f696d672f6c65696e696e67656e2e6a7067",
projectLink: "https://github.com/technomancy/leiningen/contribute",
description: "Automate Clojure projects without setting your hair on fire.",
tags: ["Clojure", "Automation"],
Expand Down Expand Up @@ -332,7 +332,7 @@ const projectList = [
{
name: "Visual Studio Code",
imageSrc:
"https://camo.githubusercontent.com/a7f6e01cc208b478047eade76755f46cf1098c05/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f322f32642f56697375616c5f53747564696f5f436f64655f312e31385f69636f6e2e737667",
"https://code.visualstudio.com/assets/images/code-stable.png",
projectLink: "https://github.com/Microsoft/vscode/contribute",
description:
"VS Code is a new type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle.",
Expand All @@ -341,7 +341,7 @@ const projectList = [
{
name: "Scrapy",
imageSrc:
"https://camo.githubusercontent.com/40d00cefb120a829517e503658aaf6c987d5f9cc6be5e2e35fb20bd63bdbceb5/68747470733a2f2f7363726170792e6f72672f696d672f7363726170796c6f676f2e706e67",
"https://camo.githubusercontent.com/664eb5eae435b24275fd1740cb050d5079478554958dc25f44a063b40ee65551/68747470733a2f2f7363726170792e6f72672f696d672f7363726170796c6f676f2e706e67",
projectLink: "https://github.com/scrapy/scrapy/contribute",
description:
"Scrapy is a fast high-level web crawling and web scraping framework, used to crawl websites and extract structured data from their pages. ",
Expand Down Expand Up @@ -428,7 +428,7 @@ const projectList = [
{
name: "Public Lab",
imageSrc:
"https://publiclab.org/system/images/photos/000/023/444/large/Screenshot_20180204-101546_2.png",
"https://code.publiclab.org/images/Boots-ground-02.png",
projectLink: "https://publiclab.github.io/community-toolbox/#r=all",
description:
"PublicLab.org - a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! 🎈",
Expand Down Expand Up @@ -543,7 +543,7 @@ const projectList = [
{
name: "styled-system",
imageSrc:
"https://camo.githubusercontent.com/8b3dc6438530a7240e952b187e40bd8380090f64/68747470733a2f2f7374796c65642d73797374656d2e636f6d2f6c6f676f2e737667",
"https://avatars.githubusercontent.com/u/47362392?s=48&v=4",
projectLink: "https://github.com/styled-system/styled-system/contribute",
description: "Style props for rapid UI development",
tags: ["ui", "css-in-js", "design-systems", "style-props", "theming"],
Expand Down Expand Up @@ -747,7 +747,7 @@ const projectList = [
{
name: "Tensorflow",
imageSrc:
"https://camo.githubusercontent.com/0905c7d634421f8aa4ab3ddf19a582572df568e1/68747470733a2f2f7777772e74656e736f72666c6f772e6f72672f696d616765732f74665f6c6f676f5f736f6369616c2e706e67",
"https://camo.githubusercontent.com/fe5ced87b3ae4c3c7c36fbeff02c3e0f99edae2dd1dd9d7b58195115788760ad/68747470733a2f2f7777772e74656e736f72666c6f772e6f72672f696d616765732f74665f6c6f676f5f686f72697a6f6e74616c2e706e67",
projectLink: "https://github.com/tensorflow/tensorflow/contribute",
description:
"A Machine Learning library in Python for implementing Machine Learning and Deep Learning models",
Expand All @@ -771,7 +771,7 @@ const projectList = [
},
{
name: "Roc Toolkit",
imageSrc: "https://roc-streaming.org/icon.png",
imageSrc: "https://github.com/roc-streaming/roc-toolkit/raw/master/docs/images/logo.png",
projectLink:
"https://github.com/roc-streaming/roc-toolkit/labels/help%20wanted",
description: "A toolkit for real-time audio streaming over the network",
Expand All @@ -788,7 +788,7 @@ const projectList = [
},
{
name: "Conda",
imageSrc: "https://conda.io/en/latest/_images/conda_logo.svg",
imageSrc: "https://avatars.githubusercontent.com/u/6392739?s=200&v=4",
projectLink: "https://github.com/conda",
description:
"Conda is an open source package management system and environment management system that runs on Windows, macOS and Linux. Conda quickly installs, runs and updates packages and their dependencies. Conda easily creates, saves, loads and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language.",
Expand Down Expand Up @@ -959,7 +959,7 @@ const projectList = [
{
name: "Gatsby",
imageSrc:
"https://camo.githubusercontent.com/b0972dd62bbf6ee0e28ed0ebceb48427a481568caeeb639066b23c754f0c60e5/68747470733a2f2f7777772e6761747362796a732e636f6d2f4761747362792d4d6f6e6f6772616d2e737667",
"https://camo.githubusercontent.com/374bcd9d2b474f551301d0e287f1f2973da18fda21352d0359b385157eac5d14/68747470733a2f2f7777772e6761747362796a732e636f6d2f4761747362792d4d6f6e6f6772616d2e737667",
projectLink: "https://github.com/gatsbyjs/gatsby/contribute",
description:
"A free and open source framework based on React that helps developers build blazing fast websites and apps.",
Expand Down Expand Up @@ -1070,7 +1070,7 @@ const projectList = [
},
{
name: "SimplQ",
imageSrc: "https://www.simplq.me/images/Simple-Q.png",
imageSrc: "https://avatars.githubusercontent.com/u/64396572?s=48&v=4",
projectLink: "https://github.com/SimplQ/simplQ-frontend#contributing",
description:
"Modern and fully web based queue management solution for crowded businesses.",
Expand Down Expand Up @@ -1237,7 +1237,7 @@ const projectList = [
{
name: "Pytorch",
imageSrc:
"https://github.com/pytorch/pytorch/raw/master/docs/source/_static/img/pytorch-logo-dark.png",
"https://github.com/pytorch/pytorch/raw/main/docs/source/_static/img/pytorch-logo-dark.png",
projectLink: "https://github.com/pytorch/pytorch",
description:
"PyTorch is an optimized tensor library for deep learning using GPUs and CPUs.",
Expand Down Expand Up @@ -1297,30 +1297,30 @@ const projectList = [
{
name: "aprenda-go-com-testes",
imageSrc:
"https://github.com/larien/aprenda-go-com-testes/blob/main/.gitbook/assets/red-green-blue-gophers-smaller.png",
githubLink: "https://github.com/larien/aprenda-go-com-testes",
"https://github.com/larien/aprenda-go-com-testes/raw/main/.gitbook/assets/red-green-blue-gophers-smaller.png",
projectLink: "https://github.com/larien/aprenda-go-com-testes",
description: "learn easily and quickly",
tags: ["go"],
},
{
name: "Daml",
imageSrc:
"https://raw.githubusercontent.com/digital-asset/daml/main/daml-logo.png",
"https://avatars.githubusercontent.com/u/46327217?s=48&v=4",
projectLink: "https://github.com/digital-asset/daml/contribute",
description:
"Daml is an open-source smart contract language for building future-proof distributed applications on a safe, privacy-aware runtime.",
tags: ["Scala", "Haskell"],
},
{
name: 'Servo',
imageSrc: 'https://raw.githubusercontent.com/servo/servo/master/resources/servo.icns',
projectLink: 'https://github.com/digital-asset/daml/contribute',
imageSrc: 'https://avatars.githubusercontent.com/u/2566135?s=48&v=4',
projectLink: 'https://github.com/servo/servo/issues',
description: 'A browser engine designed for applications including embedded use.',
tags: ['Rust,Browser,Servo']
},
{
name:'matplotlib',
imageSrc:'https://github.com/matplotlib/matplotlib/blob/main/doc/_static/matplotlib-icon.svg',
imageSrc:'https://camo.githubusercontent.com/3eed28e026e4e0220f99e2f4c8a517fcb3a30a1b944c528efc9533ff7840435f/68747470733a2f2f6d6174706c6f746c69622e6f72672f5f7374617469632f6c6f676f322e737667',
projectLink:'https://github.com/matplotlib/matplotlib',
description:'Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.',
tags:['python','gtk','data-science','qt','data-visualization','tk','matplotlib','plotting','hacktoberfest','wx']
Expand Down