@@ -125,47 +125,49 @@ function ShowcaseCard({
125125 { tileNumber !== undefined && (
126126 < div className = { styleCSS . mobileTileNumber } > { tileNumber } </ div >
127127 ) }
128- { user . image && (
129- < div className = { styleCSS . imageContainer } >
130- < OptimizedImage
131- src = { user . image }
132- alt = { displayTitle + " image" }
133- objectFit = "cover"
134- style = { {
135- width : "100%" ,
136- height : "200px" ,
137- display : "block" ,
138- borderRadius : "8px 8px 0px 0px" ,
139- } }
128+ < div className = { styleCSS . cardContent } >
129+ { user . image && (
130+ < div className = { styleCSS . imageContainer } >
131+ < OptimizedImage
132+ src = { user . image }
133+ alt = { displayTitle + " image" }
134+ objectFit = "cover"
135+ style = { {
136+ width : "100%" ,
137+ height : "200px" ,
138+ display : "block" ,
139+ borderRadius : "8px 8px 0px 0px" ,
140+ } }
141+ />
142+ </ div >
143+ ) }
144+ < div className = { styleCSS . cardTags } >
145+ < ShowcaseCardTag
146+ key = { displayTitle }
147+ tags = { tags }
148+ cardPanel = { false }
149+ buttonText = { buttonText }
140150 />
141151 </ div >
142- ) }
143- < div className = { styleCSS . cardTags } >
144- < ShowcaseCardTag
145- key = { displayTitle }
146- tags = { tags }
147- cardPanel = { false }
148- buttonText = { buttonText }
149- />
150- </ div >
151- < div style = { { padding : 16 } } >
152- { coverPage ? (
153- < >
154- < div className = { styleCSS . cardTitleCoverPage } >
155- { displayTitle }
156- </ div >
157- < div className = { styleCSS . cardDescriptionCoverPage } >
158- { displayDescription }
159- </ div >
160- </ >
161- ) : (
162- < >
163- < div className = { styleCSS . cardTitle } > { displayTitle } </ div >
164- < div className = { styleCSS . cardDescription } >
165- { displayDescription }
166- </ div >
167- </ >
168- ) }
152+ < div style = { { padding : 16 } } >
153+ { coverPage ? (
154+ < >
155+ < div className = { styleCSS . cardTitleCoverPage } >
156+ { displayTitle }
157+ </ div >
158+ < div className = { styleCSS . cardDescriptionCoverPage } >
159+ { displayDescription }
160+ </ div >
161+ </ >
162+ ) : (
163+ < >
164+ < div className = { styleCSS . cardTitle } > { displayTitle } </ div >
165+ < div className = { styleCSS . cardDescription } >
166+ { displayDescription }
167+ </ div >
168+ </ >
169+ ) }
170+ </ div >
169171 </ div >
170172 { /* <CardFooter> */ }
171173 { user . website && (
@@ -178,6 +180,7 @@ function ShowcaseCard({
178180 onClick = { ( e ) => e . stopPropagation ( ) }
179181 style = { {
180182 width : "100%" ,
183+ marginTop : "-1px" ,
181184 fontSize : "14px" ,
182185 fontWeight : 600 ,
183186 display : "flex" ,
@@ -186,6 +189,7 @@ function ShowcaseCard({
186189 paddingLeft : "16px" ,
187190 paddingRight : "16px" ,
188191 ...ctaStyles ,
192+ borderRadius : "3px 3px 16px 16px" ,
189193 } }
190194 >
191195 < span > { buttonText } </ span >
0 commit comments