Skip to content

Commit

Permalink
criacao do repositorio
Browse files Browse the repository at this point in the history
  • Loading branch information
Emerson Duarte De Amorim committed Aug 14, 2019
1 parent ece5548 commit d4e4b37
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 15 deletions.
29 changes: 14 additions & 15 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import { HeaderComponent } from './HeaderComponent';
import { NavBarComponent } from './NavBarComponent';
import { ContainerComponent } from './ContainerComponent';
import { PostComponent } from './PostComponent';
import { SideBarComponent } from './SideBarComponent';

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<div>
<HeaderComponent />
<NavBarComponent />
<ContainerComponent />
<PostComponent />
<PostComponent />
<PostComponent />
<SideBarComponent />
</div>

);
}

Expand Down
8 changes: 8 additions & 0 deletions src/ContainerComponent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';

export const ContainerComponent = () => (
<>
<div> </div>
</>
)

19 changes: 19 additions & 0 deletions src/HeaderComponent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react';

export const HeaderComponent = () => (
<>
<h1>LOGO</h1>
<ul>
<li>
<a href="#">topico 1</a>
</li>
<li>
<a href="#">topico 2</a>
</li>
<li>
<a href="#">topico 3</a>
</li>
</ul>
</>
)

21 changes: 21 additions & 0 deletions src/NavBarComponent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';

export const NavBarComponent = () => (
<>
<ul>
<li>
<a href="#">Sessao 1</a>
</li>
<li>
<a href="#">Sessao 2</a>
</li>
<li>
<a href="#">Sessao 3</a>
</li>
<li>
<a href="#">Sessao 4</a>
</li>
</ul>
</>
)

8 changes: 8 additions & 0 deletions src/PostComponent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';

export const PostComponent = () => (
<>
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ante mi, fermentum sed justo a, fringilla aliquam libero. Aliquam a bibendum purus. Aenean tincidunt varius scelerisque. Phasellus at lacinia augue. Curabitur vitae leo consequat elit gravida semper vitae at purus. Sed tempor quam nec gravida posuere. Aliquam fermentum tellus non quam elementum feugiat. Aenean ac libero vitae est tristique semper. Sed feugiat velit mi. Integer et mauris pulvinar, lacinia lectus sit amet, tempus quam. Cras vitae purus elementum, rutrum erat eu, pellentesque tellus. Maecenas efficitur porta erat, vitae tincidunt nunc ultricies at.</div>
</>
)

21 changes: 21 additions & 0 deletions src/SideBarComponent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';

export const SideBarComponent = () => (
<>
<ul>
<li>
<a href="#">Sessao side 1</a>
</li>
<li>
<a href="#">Sessao side 2</a>
</li>
<li>
<a href="#">Sessao side 3</a>
</li>
<li>
<a href="#">Sessao side 4</a>
</li>
</ul>
</>
)

0 comments on commit d4e4b37

Please sign in to comment.