This repository has been archived by the owner on May 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jorge Cuadra
committed
Sep 21, 2018
1 parent
7ada768
commit 08cd93e
Showing
2 changed files
with
55 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,7 @@ | ||
import Link from 'next/link'; | ||
import { Button } from 'rmwc/Button'; | ||
import { Typography, ListDivider } from 'rmwc'; | ||
import { TextField } from 'rmwc/TextField'; | ||
import Plan from '../src/plan/Plan'; | ||
|
||
const IndexPage = () => { | ||
return ( | ||
<div> | ||
<Typography use="headline4" tag="div" className="mx-4 my-4"> | ||
Installation | ||
</Typography> | ||
<Typography use="body1" tag="div" className="mx-4"> | ||
Minimal. This is a web app. Which means you can save it at your | ||
homescreen or bookmark it. Nothing else required. | ||
</Typography> | ||
|
||
<Typography use="headline4" tag="div" className="mx-4 my-4"> | ||
Usage | ||
</Typography> | ||
|
||
<Typography use="subtitle1" tag="div" className="mx-4"> | ||
How to use this app | ||
</Typography> | ||
|
||
<Typography use="body1" tag="div" className="mx-4"> | ||
<ol> | ||
<li> | ||
Set your macro targets in{' '} | ||
<Link href="/calculator"> | ||
<Button>Calculator</Button> | ||
</Link>{' '} | ||
</li> | ||
<li> | ||
In{' '} | ||
<Link href="/recipes"> | ||
<Button theme="secondary">Recipes</Button> | ||
</Link>{' '} | ||
add 10 or more food recipes that you normally eat | ||
</li> | ||
<li> | ||
In{' '} | ||
<Link href="/plan"> | ||
<Button>Meal Plan</Button> | ||
</Link>{' '} | ||
Click the generate button to randomly generate combinations of your | ||
recipes to hit your calories and macro goals per day | ||
</li> | ||
</ol> | ||
</Typography> | ||
|
||
<ListDivider /> | ||
|
||
<Typography use="headline5" tag="div" className="m-4"> | ||
Thoughts or suggestions? | ||
</Typography> | ||
<TextField | ||
className="mx-4" | ||
label="Suggestions" | ||
name="suggestions" | ||
defaultValue="" | ||
textarea | ||
rows="1" | ||
/> | ||
</div> | ||
); | ||
return <Plan />; | ||
}; | ||
|
||
export default IndexPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import Link from 'next/link'; | ||
import { Button } from 'rmwc/Button'; | ||
import { Typography } from 'rmwc'; | ||
|
||
const Onboarding = () => { | ||
return ( | ||
<div> | ||
<Typography use="headline4" tag="div" className="mx-4 my-4"> | ||
Installation | ||
</Typography> | ||
<Typography use="body1" tag="div" className="mx-4"> | ||
Minimal. This is a web app. Which means you can save it at your | ||
homescreen or bookmark it. Nothing else required. | ||
</Typography> | ||
|
||
<Typography use="headline4" tag="div" className="mx-4 my-4"> | ||
Usage | ||
</Typography> | ||
|
||
<Typography use="subtitle1" tag="div" className="mx-4"> | ||
How to use this app | ||
</Typography> | ||
|
||
<Typography use="body1" tag="div" className="mx-4"> | ||
<ol> | ||
<li> | ||
Set your macro targets in{' '} | ||
<Link href="/calculator"> | ||
<Button>Calculator</Button> | ||
</Link>{' '} | ||
</li> | ||
<li> | ||
In{' '} | ||
<Link href="/recipes"> | ||
<Button theme="secondary">Recipes</Button> | ||
</Link>{' '} | ||
add 10 or more food recipes that you normally eat | ||
</li> | ||
<li> | ||
In{' '} | ||
<Link href="/plan"> | ||
<Button>Meal Plan</Button> | ||
</Link>{' '} | ||
Click the generate button to randomly generate combinations of your | ||
recipes to hit your calories and macro goals per day | ||
</li> | ||
</ol> | ||
</Typography> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Onboarding; |