diff --git a/data/projects.yml b/data/projects.yml index a8361d7..497a4b6 100644 --- a/data/projects.yml +++ b/data/projects.yml @@ -16,11 +16,22 @@ items: imageSrc: https://raw.githubusercontent.com/oss-review-toolkit/ort/main/logos/logo.png imageAlt: OSS Review Toolkit Avatar status: Upstream + - title: Research @ Porsche Digital Campus + repo: https://github.com/search?q=topic%3Aresearch+org%3Aporscheofficial&type=Repositories + description: Code published alongside various academic research projects. + imageSrc: https://uploads-ssl.webflow.com/6419a4c2c9609e21b02a47e8/6454e539d4ea54c08e42aedb_Frame%2010683.png + imageAlt: Porsche Digital Campus + status: Public - title: Porsche Design System China (PUI-CN) repo: https://github.com/porsche-design-system/porsche-design-system-china imageSrc: https://raw.githubusercontent.com/porsche-design-system/porsche-design-system/main/packages/crest/src/porsche-crest%403x.png imageAlt: Porsche Design System Avatar status: Public + - title: Porsche Open Source Platform + repo: https://github.com/porscheofficial/porscheofficial.github.io + imageSrc: assets/logos/POSP-square.jpg + imageAlt: Porsche Open Source Platform + status: Public - title: mbeddr.formal repo: https://github.com/mbeddr/mbeddr.formal imageSrc: https://raw.githubusercontent.com/mbeddr/mbeddr.core/master/logos/2013/blue_orange/LogoBigTransparent.png diff --git a/public/assets/logos/POSP-square.jpg b/public/assets/logos/POSP-square.jpg new file mode 100644 index 0000000..4b32459 Binary files /dev/null and b/public/assets/logos/POSP-square.jpg differ diff --git a/remoteOptimizedImages.js b/remoteOptimizedImages.js index 0158d5b..347db0c 100644 --- a/remoteOptimizedImages.js +++ b/remoteOptimizedImages.js @@ -6,6 +6,7 @@ module.exports = [ "https://eslint.org/icon-512.png", "https://developer.android.com/static/images/brand/Android_Robot.png", "https://raw.githubusercontent.com/mbeddr/mbeddr.core/master/logos/2013/blue_orange/LogoBigTransparent.png", + "https://uploads-ssl.webflow.com/6419a4c2c9609e21b02a47e8/6454e539d4ea54c08e42aedb_Frame%2010683.png", "https://newsroom.porsche.com/.imaging/mte/porsche-templating-theme/image_690x388/dam/pnr/other/executive-board/Meschke/pictures-NEW/New/Meschke1.jpg/jcr:content/Meschke1.jpg", "https://www.linuxfoundation.org/hubfs/OSPO_FeaturedImage.png", ]; diff --git a/src/components/03_organisms/projectCard/ProjectCard.tsx b/src/components/03_organisms/projectCard/ProjectCard.tsx index 71e962d..fce0680 100644 --- a/src/components/03_organisms/projectCard/ProjectCard.tsx +++ b/src/components/03_organisms/projectCard/ProjectCard.tsx @@ -60,9 +60,10 @@ export const ProjectCard: React.FC = async ({ imageAlt, status, }) => { - const githubData: GithubResponse | null = repo.includes("https://github.com/") - ? await getGitHubData(repo.split("https://github.com/")[1]) - : null; + const githubData: GithubResponse | null = + repo.includes("https://github.com/") && !repo.includes("search?q=") + ? await getGitHubData(repo.split("https://github.com/")[1]) + : null; return (
diff --git a/src/components/03_organisms/projectCard/projectCard.module.scss b/src/components/03_organisms/projectCard/projectCard.module.scss index f42ce30..afe98ff 100644 --- a/src/components/03_organisms/projectCard/projectCard.module.scss +++ b/src/components/03_organisms/projectCard/projectCard.module.scss @@ -12,7 +12,7 @@ z-index: 2; img { - border-radius: $pds-border-radius-medium $pds-border-radius-medium 0 0; + border-radius: $pds-border-radius-medium $pds-border-radius-medium; object-fit: contain; } }