-
Notifications
You must be signed in to change notification settings - Fork 2
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
[DEV-2094] refactor newsroom #1323
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 19fabdf The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
apps/nextjs-website/src/components/organisms/NewsShowcase/NewsShowcase.tsx
Outdated
Show resolved
Hide resolved
img: tutorial.image | ||
? { | ||
alt: tutorial.image?.alternativeText || '', | ||
src: tutorial.image?.url || '/images/news.png', | ||
} | ||
: undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you should modify this page. The Tutorial list page uses the same component, but is not meant to change
@@ -54,6 +56,7 @@ const Item = (props: INewsroomItem) => { | |||
href, | |||
} = props; | |||
|
|||
console.log(theme.palette); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this log
borderRadius: 1, | ||
maxHeight: '24px', | ||
flexGrow: '0', | ||
backgroundColor: '#C4DCF5', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should look for the nearest color in theme palette
…Showcase.tsx Co-authored-by: marcobottaro <[email protected]>
Jira Pull Request LinkThis Pull Request refers to the following Jira issue DEV-2094 |
…per-portal into DEV-2094-refactor-newsroom
Jira Pull Request LinkThis Pull Request refers to the following Jira issue DEV-2094 |
Bundle not found for branch |
List of Changes
Image is now optional, adds the label shown near the date.
Motivation and Context
Needed by DEV-2090
How Has This Been Tested?
On storybook
Screenshots (if appropriate):
Types of changes
Checklist: