@@ -5,6 +5,7 @@ import { Link } from 'components/Link'
55import { ArrowRightIcon } from '@primer/octicons-react'
66import { FeaturedLink } from 'components/context/ProductLandingContext'
77import { TruncateLines } from 'components/TruncateLines'
8+ import { BumpLink } from 'components/ui/BumpLink'
89
910type Props = {
1011 title ?: string
@@ -45,18 +46,26 @@ export const ArticleList = ({
4546 { articles . map ( ( link ) => {
4647 return (
4748 < li key = { link . href } className = { cx ( variant === 'compact' && 'border-top' ) } >
48- < Link href = { link . href } className = "Bump-link--hover no-underline d-block py-3" >
49- < h4 className = "link-with-intro-title" >
50- < span dangerouslySetInnerHTML = { { __html : link . title } } />
51- < span className = "Bump-link-symbol" > →</ span >
52- </ h4 >
49+ < BumpLink
50+ as = { Link }
51+ href = { link . href }
52+ className = "py-3"
53+ title = {
54+ < h4 data-testid = "link-with-intro-title" >
55+ < span dangerouslySetInnerHTML = { { __html : link . title } } />
56+ </ h4 >
57+ }
58+ >
5359 { ! link . hideIntro && link . intro && (
5460 < TruncateLines
5561 as = "p"
5662 maxLines = { variant === 'spaced' ? 6 : 2 }
57- className = "link-with-intro-intro color-text-secondary mb-0 mt-1"
63+ className = "color-text-secondary mb-0 mt-1"
5864 >
59- < span dangerouslySetInnerHTML = { { __html : link . intro } } />
65+ < span
66+ data-testid = "link-with-intro-intro"
67+ dangerouslySetInnerHTML = { { __html : link . intro } }
68+ />
6069 </ TruncateLines >
6170 ) }
6271 { link . date && (
@@ -67,7 +76,7 @@ export const ArticleList = ({
6776 { dayjs ( link . date ) . format ( 'MMMM DD' ) }
6877 </ time >
6978 ) }
70- </ Link >
79+ </ BumpLink >
7180 </ li >
7281 )
7382 } ) }
0 commit comments