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

[PROD] Bump ui version to v5.9.0 and pass new prop to the override component #145

Merged
merged 2 commits into from
Oct 31, 2024
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
2 changes: 1 addition & 1 deletion .veda/ui
Submodule ui updated 256 files
3 changes: 2 additions & 1 deletion overrides/components/related-content-cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ export default function EICRelatedContents({ storyIds }:ContentsPropType) {

const cards = relatedData.map((t) => (
<li key={`${t.id}-card`}>
<StyledCard
<StyledCard
key={t.id}
linkLabel="View more"
linkTo={t.asLink?.url?? `/stories/${t.id}`}
title={t.name}
description={t.description}
imgSrc={t.media.src}
imgAlt={t.media.alt}
hideExternalLinkBadge={t.hideExternalLinkBadge}
/>
</li>
))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "veda-config",
"description": "Configuration for Veda",
"version": "1.0.0",
"version": "2.0.0",
"source": "./.veda/ui/app/index.html",
"license": "Apache-2.0",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions stories/locfeature.MCM.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description: "
"
asLink:
url: https://earth.gov/mobile-climate-mapper/
hideExternalLinkBadge: true
media:
src: ::file ./external_headers/mcm.png
alt: "
Expand Down
Loading