Skip to content

Commit 351a8ed

Browse files
committed
Touch up on question component
1 parent 7e68252 commit 351a8ed

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

frontend/src/app/components/collab/QuestionComponent.tsx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,30 @@ export default function QuestionComponent() {
1313
{/* Criteria */}
1414
<CardHeader>
1515
<CardTitle className="text-white text-4xl">Two Sum</CardTitle>
16-
<div className="flex flex-1 pt-5 items-start gap-2">
16+
<div className="flex pt-5 items-start gap-2">
1717
<Badge className="bg-red-900 text-black">Difficult</Badge>
1818
</div>
1919
</CardHeader>
2020

21-
<CardContent>
21+
<CardContent className="flex flex-col flex-1">
2222
{/* Question Description */}
23-
<div className="flex-1"></div>
23+
<div className="flex-1 text-white">
24+
Description : We, the citizens of Singapore, pledge ourselves as one
25+
united people, regardless of race, language or religion, to build a
26+
democratic society based on justice and equality so as to achieve
27+
happiness, prosperity and progress for our nation.
28+
</div>
2429

2530
{/* Examples Section */}
26-
<div className="flex-1"></div>
31+
<div className="flex-1 mt-5 p-2 bg-black text-white rounded-lg text-sm">
32+
Input : Test case 1 Output : Correct answer Explanation : Because it
33+
is correct
34+
</div>
2735

2836
{/* Constraints Section */}
29-
<div className="flex-1"></div>
37+
<div className="mt-5 p-2 flex-1 text-white">
38+
1 is less than n There will be a total of 1 trillion test cases
39+
</div>
3040
</CardContent>
3141
</Card>
3242
);

0 commit comments

Comments
 (0)