Skip to content

Commit

Permalink
whitespace (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
zack authored Jul 9, 2024
1 parent 3f660d6 commit 647cfab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/FAQ.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import { Typography } from '@mui/material';
import { exoFontFamily } from './ThemeProvider';
import { Box, Typography } from '@mui/material';

export default function FAQ() {
return (
<>
<Box sx={{ pb: '10vh' }}>
<Typography
variant='h5'
component='h2'
Expand Down Expand Up @@ -131,6 +131,6 @@ export default function FAQ() {
<Typography sx={{ marginTop: 2 }}>
Oh, and I don&apos;t include docks in New Jersey or Canada.
</Typography>
</>
</Box>
);
}
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default memo(function Home() {
CitiBike Dock Data
</Typography>

<div style={{ display: 'flex-item' }}>
<Box sx={{ display: 'flex-item', mb: 1 }}>
{faq ? (
<StyledButton onClick={() => setFaq(false)}>
<CancelIcon /> <Typography> Back </Typography>
Expand All @@ -62,7 +62,7 @@ export default memo(function Home() {
<HelpIcon /> <Typography> FAQ </Typography>
</StyledButton>
)}
</div>
</Box>
</div>

{faq && <FAQ />}
Expand Down

0 comments on commit 647cfab

Please sign in to comment.