Skip to content
This repository was archived by the owner on Jun 12, 2025. It is now read-only.

Commit e2c8537

Browse files
committed
submissions PoC with react-dropzone
1 parent 84ec203 commit e2c8537

5 files changed

Lines changed: 366 additions & 78 deletions

File tree

bun.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"next": "^14.2.25",
3232
"react": "19.0.0",
3333
"react-dom": "19.0.0",
34+
"react-dropzone": "^14.3.8",
3435
"react-icons": "^5.5.0",
3536
"react-markdown": "^10.1.0",
3637
"sharp": "^0.33.5",
@@ -48,4 +49,4 @@
4849
"trustedDependencies": [
4950
"@biomejs/biome"
5051
]
51-
}
52+
}

src/components/general/ClassroomCard.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ export default function ClassroomCard({ item }: Readonly<{ item: IClassroom }>)
4848
<Flex justify='space-between' align='center'>
4949
<Flex align='center' gap={2}>
5050
<FiUsers />
51-
<Text fontSize='sm'>{item.memberCount} estudiantes</Text>
51+
<Text fontSize='sm'>
52+
{item.memberCount === 1 ? 'Sin ' : item.memberCount - 1} estudiantes
53+
</Text>
5254
</Flex>
5355
<Button
5456
size='sm'

0 commit comments

Comments
 (0)