Skip to content

Commit 41d2330

Browse files
committed
added icon
1 parent 4ab2d59 commit 41d2330

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

nextstep-frontend/src/pages/Quiz.tsx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import {
2727
BusinessOutlined as BusinessOutlinedIcon,
2828
LocalOfferOutlined as LocalOfferOutlinedIcon,
2929
} from '@mui/icons-material';
30+
import SchoolIcon from '@mui/icons-material/School'; // Import graduation hat icon
3031
import api from '../serverApi';
3132
import { config } from '../config';
3233

@@ -227,8 +228,22 @@ const Quiz: React.FC = () => {
227228

228229
return (
229230
<Container maxWidth="md" sx={{ py: 4 }}>
230-
<Typography variant="h4" component="h1" gutterBottom align="center">
231-
Quiz Generator & Grader
231+
<Typography variant="h4" component="h1" gutterBottom align="center" sx={{ position: 'relative' }}>
232+
Quiz Generator &{' '}
233+
<Box sx={{ display: 'inline-block', position: 'relative' }}>
234+
<SchoolIcon
235+
sx={{
236+
position: 'absolute',
237+
top: '-10px',
238+
left: '110%',
239+
size: 'large',
240+
transform: 'translateX(-50%) rotate(30deg)',
241+
fontSize: 30,
242+
color: 'primary.main',
243+
}}
244+
/>
245+
Grader
246+
</Box>
232247
</Typography>
233248

234249
{/* Subject Input */}

0 commit comments

Comments
 (0)