-
Notifications
You must be signed in to change notification settings - Fork 50
Clayton.Berger.ATX.Advanced1.First React App #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
45703df
9da9156
aa0d23d
77a3b69
d4d7e47
a751d98
b692534
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| import React from "react"; | ||
| // import logo from "./logo.svg"; | ||
| import "../App.css"; | ||
| // import apple from "./apple.svg"; | ||
| // import france from "./france.svg"; | ||
| import Header from "./Header"; | ||
| import SmileyFace from "./Smiley"; | ||
| import Main from "./Main"; | ||
| import Insert from "./Insert"; | ||
| // import users from "./users"; | ||
| import Component5 from "./Component5"; | ||
| import Component6 from "./Component6"; | ||
| import ComponentX from "./Component7"; | ||
|
|
||
|
|
||
| function App() { | ||
| return ( | ||
| <div className="App"> | ||
| <Header /> | ||
| <Insert message="We got this." /> | ||
| <Main /> | ||
| <SmileyFace /> | ||
| <Component5 /> | ||
| <Component6 /> | ||
| <ComponentX /> | ||
| </div> | ||
|
|
||
| ); | ||
| } | ||
|
|
||
|
|
||
|
|
||
| export default App; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import React from "react"; | ||
|
|
||
| function Component5() { | ||
| return ( | ||
| <div> | ||
| <p className="App-intro"> Component5!!</p> | ||
| </div> | ||
|
|
||
| ); | ||
|
|
||
| } | ||
| export default Component5; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| import React from "react"; | ||
|
|
||
| function Component6() { | ||
|
|
||
| return ( | ||
| <div> | ||
| <p className="App-intro"> Component6!!</p> | ||
| </div> | ||
| ); | ||
|
|
||
| } | ||
|
|
||
| export default Component6; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import React from "react"; | ||
| function Component7() { | ||
|
|
||
| return ( | ||
| <div> | ||
| <p className="App-intro"> Component7!!</p> | ||
| </div> | ||
| ); | ||
|
|
||
| } | ||
|
|
||
| export default Component7; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import React from "react"; | ||
| import france from "./france.svg"; | ||
|
|
||
| function Header() { | ||
| return ( | ||
| <div> | ||
| <img src={france} className="App-logo" alt="logo" /> | ||
| <h2> Were rockin NOW!!! </h2> | ||
| </div> | ||
| ); | ||
|
|
||
|
|
||
|
|
||
|
||
| } | ||
|
|
||
|
|
||
| export default Header; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import React from "react"; | ||
|
|
||
| function Insert(props){ | ||
| return( | ||
| <div className="App-header"> | ||
| <h2>{props.message}</h2> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default Insert; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import React from "react"; | ||
| function Main() { | ||
|
|
||
| return ( | ||
| <p className="App-intro"> | ||
| Day 1 - Form Learning Teams<br /> | ||
| Day 3 - Team Charters are due<br /> | ||
| Day 5 - Learning Teams submit project proposals<br /> | ||
| Day 9 - Learning Team Check-ins<br /> | ||
| Day 15 - Learning Team Check-ins<br /> | ||
| Day 20 - Learning Team Project Presentations. | ||
|
||
| </p> | ||
| ); | ||
|
|
||
| } | ||
|
|
||
| export default Main; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import React from "react"; | ||
| import face from "./nerdSmiley.ico"; | ||
|
|
||
| function Smiley() { | ||
| return ( | ||
| <div className="Smiley"> | ||
| <img src={face} className="App-logo" alt="logo" /> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Check eslint indentation errors here. |
||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default Smiley; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to use consistent line spacing between import statements and code (1 empty line)