Skip to content

Commit 7140d8a

Browse files
authored
Add new FOSS projects (#33)
* Add research projects by PDC to carousel * Add POSP repository to list of projects --------- Signed-off-by: Eduard Itrich <[email protected]> on-behalf-of: @porscheofficial <[email protected]>
1 parent 6171183 commit 7140d8a

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

data/projects.yml

+11
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,22 @@ items:
1616
imageSrc: https://raw.githubusercontent.com/oss-review-toolkit/ort/main/logos/logo.png
1717
imageAlt: OSS Review Toolkit Avatar
1818
status: Upstream
19+
- title: Research @ Porsche Digital Campus
20+
repo: https://github.com/search?q=topic%3Aresearch+org%3Aporscheofficial&type=Repositories
21+
description: Code published alongside various academic research projects.
22+
imageSrc: https://uploads-ssl.webflow.com/6419a4c2c9609e21b02a47e8/6454e539d4ea54c08e42aedb_Frame%2010683.png
23+
imageAlt: Porsche Digital Campus
24+
status: Public
1925
- title: Porsche Design System China (PUI-CN)
2026
repo: https://github.com/porsche-design-system/porsche-design-system-china
2127
imageSrc: https://raw.githubusercontent.com/porsche-design-system/porsche-design-system/main/packages/crest/src/porsche-crest%403x.png
2228
imageAlt: Porsche Design System Avatar
2329
status: Public
30+
- title: Porsche Open Source Platform
31+
repo: https://github.com/porscheofficial/porscheofficial.github.io
32+
imageSrc: assets/logos/POSP-square.jpg
33+
imageAlt: Porsche Open Source Platform
34+
status: Public
2435
- title: mbeddr.formal
2536
repo: https://github.com/mbeddr/mbeddr.formal
2637
imageSrc: https://raw.githubusercontent.com/mbeddr/mbeddr.core/master/logos/2013/blue_orange/LogoBigTransparent.png

public/assets/logos/POSP-square.jpg

177 KB
Loading

remoteOptimizedImages.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = [
66
"https://eslint.org/icon-512.png",
77
"https://developer.android.com/static/images/brand/Android_Robot.png",
88
"https://raw.githubusercontent.com/mbeddr/mbeddr.core/master/logos/2013/blue_orange/LogoBigTransparent.png",
9+
"https://uploads-ssl.webflow.com/6419a4c2c9609e21b02a47e8/6454e539d4ea54c08e42aedb_Frame%2010683.png",
910
"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",
1011
"https://www.linuxfoundation.org/hubfs/OSPO_FeaturedImage.png",
1112
];

src/components/03_organisms/projectCard/ProjectCard.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ export const ProjectCard: React.FC<ProjectCardProps> = async ({
6060
imageAlt,
6161
status,
6262
}) => {
63-
const githubData: GithubResponse | null = repo.includes("https://github.com/")
64-
? await getGitHubData(repo.split("https://github.com/")[1])
65-
: null;
63+
const githubData: GithubResponse | null =
64+
repo.includes("https://github.com/") && !repo.includes("search?q=")
65+
? await getGitHubData(repo.split("https://github.com/")[1])
66+
: null;
6667
return (
6768
<div className={s.card}>
6869
<div className={s.image}>

src/components/03_organisms/projectCard/projectCard.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
z-index: 2;
1313

1414
img {
15-
border-radius: $pds-border-radius-medium $pds-border-radius-medium 0 0;
15+
border-radius: $pds-border-radius-medium $pds-border-radius-medium;
1616
object-fit: contain;
1717
}
1818
}

0 commit comments

Comments
 (0)