Skip to content

Commit

Permalink
Landing page tweaks (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharatkashyap authored Dec 9, 2022
1 parent 6c7b8fe commit f50fbc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions docs/src/components/landing/Banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,7 @@ import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRou
export default function Banner(props) {
const { title, description, href, label, category, action, docs } = props;
return (
<Box
sx={{
bgcolor: (theme) => {
if (theme.palette.mode === 'dark') {
return theme.palette.primaryDark[900];
}
if (docs) {
return 'default';
}
return theme.palette.grey[50];
},
}}
>
<Box>
<Container
sx={{
pt: 0,
Expand Down Expand Up @@ -106,5 +94,5 @@ Banner.propTypes = {
docs: PropTypes.bool,
href: PropTypes.string.isRequired,
label: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
title: PropTypes.string,
};
2 changes: 1 addition & 1 deletion docs/src/components/landing/Marquee.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Marquee({ content }) {
{content.title}
</Typography>
<Typography
color="text.secondary"
color="grey.500"
textAlign="center"
sx={{
my: 2,
Expand Down

0 comments on commit f50fbc2

Please sign in to comment.