forked from chantastic/sites
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
learnreact.com: add layout links and copyright
- Loading branch information
1 parent
1e15a18
commit f25fa96
Showing
33 changed files
with
228 additions
and
135 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export default function({ children, ...props }) { | ||
return ( | ||
<div> | ||
<main {...props} style={{ maxWidth: "32em" }}> | ||
<p> | ||
<strong> | ||
<a href="/">Learn React</a> | ||
</strong> | ||
</p> | ||
|
||
{children} | ||
</main> | ||
<footer>© {new Date().getFullYear()} Michael Chan</footer> | ||
</div> | ||
); | ||
} |
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
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
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
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
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
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
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,10 +1,11 @@ | ||
import Courses from "./courses/index.md" | ||
import Layout from "../components/layout" | ||
import Courses from "./courses/index.mdx" | ||
|
||
<> | ||
<Layout> | ||
|
||
<Head> | ||
<title>Learn React</title> | ||
</Head> | ||
|
||
<Courses /> | ||
</> | ||
</Layout> |
5 changes: 3 additions & 2 deletions
5
learnreact.com/pages/lessons/2018-essential-react-1-overview.mdx
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,9 +1,10 @@ | ||
import { Lesson, Index, lessons } from "../courses/2018-essential-react.mdx"; | ||
import Layout from "../../components/layout" | ||
|
||
<article> | ||
<Layout> | ||
<Lesson {...lessons[0]} /> | ||
|
||
Welcome to Essential React! In this course we’ll cover all of the essential knowledge you need to have about React components. We’ll state easy! We’re going to start with `Hello World!` and JSX. How to get started and what they are. But we’re going to progress pretty quickly to events. and state, and state management, lifecycle events, and get all the way to advanced composition of components. Yes! Advanced composition. But don’t be afraid, I think you can handle it. We’re going to take it one step at a time. Only one new concept per video. The whole thing will take about fourty to fourty-five minutes, but by the end you’ll know everything that you need to know to write stellar React apps. We’ll build this Pokemon component that allows you to page through all of the Pokemon available on Pokeapi.co. It’s going to be a lot of fun! Let’s get started. | ||
|
||
<Index /> | ||
</article> | ||
</Layout> |
Oops, something went wrong.