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

Add new FOSS projects #33

Merged
merged 3 commits into from
Nov 28, 2023
Merged
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
11 changes: 11 additions & 0 deletions data/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added public/assets/logos/POSP-square.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions remoteOptimizedImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
];
7 changes: 4 additions & 3 deletions src/components/03_organisms/projectCard/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ export const ProjectCard: React.FC<ProjectCardProps> = 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 (
<div className={s.card}>
<div className={s.image}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
Loading