@@ -15,6 +15,7 @@ type FeatureItem = {
15
15
eventTitle ?: string
16
16
link : string
17
17
allowsDarkMode ?: boolean
18
+ extraLink ?: string
18
19
}
19
20
20
21
type SponsorItem = FeatureItem & {
@@ -26,6 +27,7 @@ const FeatureList: FeatureItem[] = [
26
27
title : 'Digital Ocean' ,
27
28
Svg : require ( '@site/static/img/digital-ocean-powered-by.svg' ) . default ,
28
29
link : 'https://www.digitalocean.com/?refcode=0813b3be1161&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge' ,
30
+ extraLink : '/blog/digital-ocean-app-platform' ,
29
31
} ,
30
32
{
31
33
title : 'Algolia' ,
@@ -52,10 +54,10 @@ const SponsorList: SponsorItem[] = [
52
54
// },
53
55
]
54
56
55
- function Feature ( { title, Svg, link, allowsDarkMode } : FeatureItem ) {
57
+ function Feature ( { title, Svg, link, allowsDarkMode, extraLink } : FeatureItem ) {
56
58
return (
57
59
< div className = { clsx ( 'col col--6' ) } >
58
- < div className = " text--center" >
60
+ < div className = { clsx ( ' text--center' , styles [ 'feature-item' ] ) } >
59
61
< a href = { link } title = { title } target = "_blank" rel = "noreferrer" aria-label = { title } >
60
62
< Svg
61
63
className = { clsx ( styles . featureSvg , {
@@ -64,6 +66,17 @@ function Feature({ title, Svg, link, allowsDarkMode }: FeatureItem) {
64
66
role = "img"
65
67
/>
66
68
</ a >
69
+ { extraLink && (
70
+ < a
71
+ href = { extraLink }
72
+ title = { `Learn more about ${ title } ` }
73
+ target = "_blank"
74
+ rel = "noreferrer"
75
+ className = { styles . featureLink }
76
+ >
77
+ Learn more about { title }
78
+ </ a >
79
+ ) }
67
80
</ div >
68
81
</ div >
69
82
)
0 commit comments