Skip to content

Commit

Permalink
#PS-1769 Course Planner bottom drawer desktop view UI
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas1434shinde committed Aug 29, 2024
1 parent 9914a44 commit 2e5c9c2
Show file tree
Hide file tree
Showing 6 changed files with 620 additions and 202 deletions.
5 changes: 2 additions & 3 deletions src/components/HorizontalLinearStepper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ import { useTranslation } from 'react-i18next';
import { useTheme } from '@mui/material/styles';
const steps: string[] = ['Board', 'Subjects', 'Registration'];

export default function HorizontalLinearStepper() {
const [activeStep, setActiveStep] = React.useState<number>(1);

export default function HorizontalLinearStepper({activeStep}) {
const { t } = useTranslation();
const theme = useTheme<any>();


const CustomStepIcon = (props: any) => {
const { icon, active, completed } = props;
Expand Down
1 change: 1 addition & 0 deletions src/components/SessionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { useTranslation } from 'next-i18next';
import React, { useEffect } from 'react';
import CenterSessionModal from './CenterSessionModal';
import PlannedSession from './PlannedSession';
import ConfirmationModal from './ConfirmationModal';

const SessionsCard: React.FC<SessionsCardProps> = ({
data,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/attendance-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ const AttendanceOverview: React.FC<AttendanceOverviewProps> = () => {
padding: '15px 20px 5px',
}}
width={'100%'}
onClick={handleBackEvent}
>
<KeyboardBackspaceOutlinedIcon
onClick={handleBackEvent}
cursor={'pointer'}
sx={{ color: theme.palette.warning['A200'] }}
/>
Expand Down
Loading

0 comments on commit 2e5c9c2

Please sign in to comment.