GroupLinkPreview: dark mode
This commit is contained in:
parent
3f44e6cdcb
commit
19dfda4ca2
1 changed files with 2 additions and 2 deletions
|
@ -17,14 +17,14 @@ const GroupLinkPreview: React.FC<IGroupLinkPreview> = ({ card }) => {
|
||||||
const navigateToGroup = () => history.push(`/groups/${group.id}`);
|
const navigateToGroup = () => history.push(`/groups/${group.id}`);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack className='cursor-default overflow-hidden rounded-lg border border-gray-300 text-center'>
|
<Stack className='cursor-default overflow-hidden rounded-lg border border-gray-300 text-center dark:border-gray-800'>
|
||||||
<div
|
<div
|
||||||
className='-mb-8 h-32 w-full bg-center'
|
className='-mb-8 h-32 w-full bg-center'
|
||||||
style={{ backgroundImage: `url(${group.header})` }}
|
style={{ backgroundImage: `url(${group.header})` }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Avatar
|
<Avatar
|
||||||
className='mx-auto border-4 border-white'
|
className='mx-auto border-4 border-white dark:border-primary-900'
|
||||||
src={group.avatar}
|
src={group.avatar}
|
||||||
size={64}
|
size={64}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue