diff options
author | Eugene <eug-vs@keemail.me> | 2020-01-28 19:56:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 19:56:24 +0000 |
commit | 547a6101f3ec0d01680cd14bf74c9a8386b9a835 (patch) | |
tree | 2ffa01673377d33af49ea8dbc317cde6f2bf0a42 /src/pages/Timer/Timer.js | |
parent | 4486c9f47ab4f9ba76ac09fab6bd8dd41e08cf7a (diff) | |
parent | 1ea6ae2f80e5e3f60ad89b4d6d02281c817cee43 (diff) | |
download | chrono-cube-ui-547a6101f3ec0d01680cd14bf74c9a8386b9a835.tar.gz |
Merge pull request #47 from Eug-VS/benzin
Migrate to BENZIN
Diffstat (limited to 'src/pages/Timer/Timer.js')
-rw-r--r-- | src/pages/Timer/Timer.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/pages/Timer/Timer.js b/src/pages/Timer/Timer.js index 1323d97..6020c1b 100644 --- a/src/pages/Timer/Timer.js +++ b/src/pages/Timer/Timer.js @@ -2,10 +2,13 @@ import React from 'react'; import { post } from '../../requests'; -import Window from '../../components/Window/Window'; -import ContentSection from '../../components/ContentSection/ContentSection'; +import { + Window, + ContentSection, + SmartList, +} from 'react-benzin'; + import TimerButton from './TimerButton/TimerButton'; -import SmartList from '../../components/SmartList/SmartList'; import SolutionCard from '../../components/SolutionCard/SolutionCard'; import { Button, makeStyles } from '@material-ui/core'; @@ -63,12 +66,12 @@ const Timer = ({ user, recentSolutions, setRecentSolutions, setPage }) => { Every speedcuber will benefit from using it - both amateur and professional! </p> - <Button variant="contained" color="secondary" onClick={handleLearnMore}> Learn more </Button> + <Button variant="contained" color="primary" onClick={handleLearnMore}> Learn more </Button> </ContentSection> {user.id === null && <ContentSection sectionName="Log into an account"> <p> Tell us your name so we can track your progress</p> - <Button variant="contained" color="secondary" onClick={handleLogin} size="large"> Login </Button> + <Button variant="contained" color="primary" onClick={handleLogin} size="large"> Login </Button> </ContentSection> } <TimerButton registerResult={registerResult} /> |