Skip to content

Commit

Permalink
fix build error due to showcase project (#2087)
Browse files Browse the repository at this point in the history
  • Loading branch information
olaszakos authored Oct 30, 2023
1 parent 5f1bb54 commit 1cd2f7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions showcase.json
Original file line number Diff line number Diff line change
Expand Up @@ -2589,9 +2589,7 @@
"description": "AgorApp is a Codecademy-style interactive coding environment where users can learn to develop smart contracts on ICP and, then, test their skills by participating in web3 CTFs and smart contract optimization contests.",
"usesInternetIdentity": false,
"stats": "600+ users",
"display": "Large",
"logo": "/img/showcase/agorapp-logo-small.svg",
"video": "https://www.youtube.com/watch?v=0mRinBJbiGU",
"github": "https://github.com/agorapp-dao/",
"twitter": "https://twitter.com/agorappDAO",
"discord": "https://discord.gg/8ZwJZsxXhk",
Expand Down Expand Up @@ -2941,7 +2939,8 @@
"usesInternetIdentity": false,
"twitter": "https://twitter.com/TryTaliAI",
"submittableId": "38502751",
"videoContentType": "video/mp4"
"videoContentType": "video/mp4",
"screenshots": []
},
{
"name": "CARMANIA",
Expand Down
3 changes: 2 additions & 1 deletion src/pages/ecosystem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ function ShowcasePage(): JSX.Element {
{filteredProjects.map((project, index) =>
project === "promo" ? (
<PromoCard key={`promo_${index}`} />
) : project.display === "Large" ? (
) : project.display === "Large" &&
(project.video || project.screenshots?.length > 0) ? (
<LargeCard project={project} key={project.website} />
) : (
<SmallCard project={project} key={project.website} />
Expand Down

0 comments on commit 1cd2f7f

Please sign in to comment.