Skip to content

Commit

Permalink
update media queries
Browse files Browse the repository at this point in the history
  • Loading branch information
sitek94 committed Dec 14, 2020
1 parent 36078f2 commit 861d8cf
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions src/screens/landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,12 @@ export function FullPageImageBackground({ children }) {
}

function QuoteBox({ children }) {
const theme = useTheme();

return (
<Box
sx={{
textAlign: 'right',
color: theme.palette.common.white,
mb: { xs: theme.spacing(1), sm: 0 },
color: 'common.white',
mb: { xs: 1, sm: 0 },
}}
>
{children}
Expand All @@ -86,7 +84,7 @@ function Quote({ children }) {
textAlign: 'center',
whiteSpace: { xs: 'initial', sm: 'nowrap' },
maxWidth: { xs: 295, sm: 'none' },
fontSize: { xs: '2.5rem', md: '3.75rem' },
fontSize: { xs: '2.5rem', sm: '2rem', md: '3rem' },
}}
>
<Typography variant="h2" component="p">
Expand All @@ -100,7 +98,7 @@ function Author({ children }) {
return (
<Box
sx={{
fontWeight: 300,
fontWeight: 'light',
fontStyle: 'italic',
}}
clone
Expand All @@ -113,15 +111,13 @@ function Author({ children }) {
}

function GetStartedButton(props) {
const theme = useTheme();

return (
<Box
clone
sx={{
backgroundColor: theme.palette.common.white,
color: theme.palette.primary.main,
fontWeight: theme.typography.fontWeightBold,
backgroundColor: 'common.white',
color: 'primary.main',
fontWeight: 'bold',
}}
>
<Fab to="/signup" component={RouterLink} variant="extended" {...props} />
Expand Down

0 comments on commit 861d8cf

Please sign in to comment.