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

docs(PPDSC-2298): NewsKit homepage update - What's New section #349

Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
0d6fd03
docs(PPDSC-2298): newskit homepage update - whats new section
evgenitsn Aug 25, 2022
2ddb9d4
docs(PPDSC-2298): update unit test
evgenitsn Aug 25, 2022
3a520ec
docs(PPDSC-2298): update unit test
evgenitsn Aug 25, 2022
4e0e142
feat(PPDSC-1995): merge branch 'main' into feat/PPDSC-1995
evgenitsn Aug 25, 2022
d7514bb
docs(PPDSC-2298): merge branch 'main' into docs/PPDSC-2298
evgenitsn Aug 30, 2022
6851aac
docs(PPDSC-2298): merge branch 'main' into docs/PPDSC-2298
evgenitsn Aug 30, 2022
42d3ee2
docs(PPDSC-2298): update whats new section
evgenitsn Aug 30, 2022
a4075a9
docs(PPDSC-2298): update snapshots
evgenitsn Aug 30, 2022
da0e466
docs(PPDSC-2298): update whats new and brands
evgenitsn Aug 31, 2022
54d1219
docs(PPDSC-2298): whats new update
evgenitsn Sep 1, 2022
05c8f69
docs(PPDSC-2298): alignment update
evgenitsn Sep 1, 2022
0f065b0
Merge branch 'main' into docs/PPDSC-2298-newskit-homepage-update-what…
evgenitsn Sep 1, 2022
619eb75
docs(PPDSC-2298): update spacings
evgenitsn Sep 1, 2022
f0412c1
docs(PPDSC-2298): update small screen spacing
evgenitsn Sep 1, 2022
6cfdc11
Merge branch 'main' into docs/PPDSC-2298-newskit-homepage-update-what…
evgenitsn Sep 5, 2022
35f1569
docs(PPDSC-2298): added target _blank to whats new links
evgenitsn Sep 5, 2022
59dea6e
Merge branch 'main' into docs/PPDSC-2298-newskit-homepage-update-what…
evgenitsn Sep 7, 2022
d6a85ce
docs(PPDSC-2298): update external release link
evgenitsn Sep 7, 2022
f5db856
docs(PPDSC-2298): simplified markup
evgenitsn Sep 7, 2022
4cfed9d
Merge branch 'main' into docs/PPDSC-2298-newskit-homepage-update-what…
evgenitsn Sep 7, 2022
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
39 changes: 21 additions & 18 deletions site/components/homepage/whats-new/whats-new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ export const WhatsNew = ({releases}: WhatsNewProps) => {
rowGap="space040"
columnGap="space100"
>
<Card
overrides={{stylePreset: 'homepageCard'}}
key={latestRelease.tag_name}
href={latestRelease.html_url}
>
<Card overrides={{stylePreset: 'homepageCard'}}>
<GridLayout
justifyContent="start"
alignItems="end"
Expand All @@ -49,22 +45,29 @@ export const WhatsNew = ({releases}: WhatsNewProps) => {
</Flag>
</GridLayoutItem>
<GridLayoutItem>
<Headline
overrides={{
marginBlockEnd: 'space050',
typographyPreset: 'editorialHeadline020',
heading: {stylePreset: 'whatsNewCardLink'},
}}
<LinkStandalone
external={false}
overrides={{stylePreset: 'whatsNewCardLink'}}
href={latestRelease.html_url}
target="_blank"
>
NewsKit {latestRelease.tag_name}
<IconFilledLaunch
<Headline
Xin00163 marked this conversation as resolved.
Show resolved Hide resolved
overrides={{
marginBlockEnd: '-4px',
marginInlineStart: 'space020',
size: 'iconSize020',
marginBlockEnd: 'space050',
typographyPreset: 'editorialHeadline020',
heading: {stylePreset: 'whatsNewCardLink'},
}}
/>
</Headline>
>
NewsKit {latestRelease.tag_name}
<IconFilledLaunch
overrides={{
marginBlockEnd: '-4px',
marginInlineStart: 'space020',
size: 'iconSize020',
}}
/>
</Headline>
</LinkStandalone>
</GridLayoutItem>
</GridLayout>

Expand Down