[dataset][m]: improved dataset page to have better layout + added more details to the mocks.

This commit is contained in:
anuveyatsu
2020-06-12 18:27:25 +06:00
parent 3f8a755d25
commit f16a8339a8
5 changed files with 89 additions and 37 deletions

View File

@@ -2,8 +2,11 @@ import Link from 'next/link'
export default function Org({ org }) {
return (
<Link href={`/@${org.name}`}>
<a className="text-2xl font-semibold text-primary">{ org.title || org.name }</a>
</Link>
<organization>
<img src={org.image_url} className="h-5 w-5 mr-2 inline-block" />
<Link href={`/@${org.name}`}>
<a className="font-semibold text-primary underline">{ org.title || org.name }</a>
</Link>
</organization>
)
}