tangled
alpha
login
or
join now
cosmik.network
/
semble
43
fork
atom
A social knowledge tool for researchers built on ATProto
43
fork
atom
overview
issues
13
pulls
pipelines
refactor: collection card styles
Pouria Delfanazari
4 months ago
3ebfc8f6
f43e452d
+5
-1
2 changed files
expand all
collapse all
unified
split
src
webapp
features
collections
components
collectionCard
CollectionCard.module.css
CollectionCard.tsx
+3
src/webapp/features/collections/components/collectionCard/CollectionCard.module.css
···
1
1
+
.root {
2
2
+
cursor: pointer;
3
3
+
}
+2
-1
src/webapp/features/collections/components/collectionCard/CollectionCard.tsx
···
4
4
import { getRecordKey } from '@/lib/utils/atproto';
5
5
import { getRelativeTime } from '@/lib/utils/time';
6
6
import { Avatar, Card, Group, Stack, Text } from '@mantine/core';
7
7
+
import styles from './CollectionCard.module.css';
7
8
import { useRouter } from 'next/navigation';
8
9
9
10
interface Props {
···
29
30
}
30
31
radius={'lg'}
31
32
p={'sm'}
32
32
-
style={{ cursor: 'pointer' }}
33
33
+
className={styles.root}
33
34
>
34
35
<Stack justify="space-between" h={'100%'}>
35
36
<Stack gap={0}>