Skip to content

Commit f87011d

Browse files
committed
Update UI (minor)
1 parent 23e71e9 commit f87011d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Frontend/src/components/collab/CollabNavigationBar.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const CollabNavigationBar = ({ handleExit, users, handleCodeRun, setLanguage, la
66
return (
77
<Navbar className='bg-light' sticky='top'>
88
<Container className='d-flex justify-content-between'>
9+
910
{/* Language Dropdown on left */}
1011
<Nav className='me-auto'>
1112
<Dropdown onSelect={(eventKey) => setLanguage(eventKey)}>
@@ -19,14 +20,16 @@ const CollabNavigationBar = ({ handleExit, users, handleCodeRun, setLanguage, la
1920
</DropdownMenu>
2021
</Dropdown>
2122
</Nav>
23+
2224
{/* Run Code and Exit Buttons in Center */}
2325
<Nav className='mx-auto'>
2426
<Button onClick={handleCodeRun}>Run Code</Button>
2527
<Button variant="danger" className="ms-2" onClick={handleExit}>Exit</Button>
2628
</Nav>
2729

2830
{/* Users at the right */}
29-
<Nav>
31+
<Nav className='d-flex align-items-center'>
32+
<p className='mb-0 me-2'>Users online:</p>
3033
{users.map(user => {
3134
return <div
3235
className='border rounded p-2 bg-secondary text-center mx-2'

Frontend/src/components/matching/SuccessfulMatch.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ function SuccessfulMatch({ handleClose }) {
66
<div className="matching-container">
77
<div className="matching-text">
88
<h2>We found you a match!</h2>
9+
<p>Redirecting you to collab space...</p>
910
</div>
1011
</div>
1112
);

0 commit comments

Comments
 (0)