Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare Art #336

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion src/components/compare/Compare/compare.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import FaceIcon from '@mui/icons-material/Face';
import Face2Icon from '@mui/icons-material/Face2';
import Face3Icon from '@mui/icons-material/Face3';
import Face4Icon from '@mui/icons-material/Face4';
import Face5Icon from '@mui/icons-material/Face5';
import Face6Icon from '@mui/icons-material/Face6';
import { Grid2 as Grid } from '@mui/material';
import React from 'react';

import CompareTable from '@/components/compare/CompareTable/compareTable';
Expand Down Expand Up @@ -32,7 +39,31 @@ const Compare = ({
colorMap,
}: CompareProps) => {
if (courses.length === 0) {
return <p>Click a checkbox to add something to compare.</p>;
return (
<Grid container spacing={4} className="px-4">
<Grid size={12} className="flex justify-center">
<p>Click a checkbox to add something to compare.</p>
</Grid>
<Grid size={4} className="flex justify-center">
<FaceIcon fontSize="large" />
</Grid>
<Grid size={4} className="flex justify-center">
<Face2Icon fontSize="large" />
</Grid>
<Grid size={4} className="flex justify-center">
<Face3Icon fontSize="large" />
</Grid>
<Grid size={4} className="flex justify-center">
<Face4Icon fontSize="large" />
</Grid>
<Grid size={4} className="flex justify-center">
<Face5Icon fontSize="large" />
</Grid>
<Grid size={4} className="flex justify-center">
<Face6Icon fontSize="large" />
</Grid>
</Grid>
);
}

return (
Expand Down
Loading