Skip to content

Commit 2530cdb

Browse files
authored
Updated gallery to allow for logos to be put in the card header (#239)
1 parent e86efda commit 2530cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gallery/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function App() {
5959
filteredList.map(item => {
6060
return <div className='m-4 n-bg-neutral-10 n-shadow-l4'>
6161
<div className="">
62-
<h4 className="p-3 float-right opacity-50">{item['language']}</h4>
62+
<h4 className="p-3 float-right">{item['language']}{item['logo'] ? <a target="_blank" href={item['authorURL']}><img style={{width: 30}} src={item['logo']}></img></a> : <></>}</h4>
6363
<h4 className="p-3">{item['title']}</h4>
6464
<p className="p-3">
6565
{item['description']}

0 commit comments

Comments
 (0)