Skip to content

Commit

Permalink
feat(#9):Adicionando Home e alerando navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoBandeira committed Jun 16, 2019
1 parent 4510dcd commit 01316b7
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import 'materialize-css/dist/css/materialize.min.css'
import {BrowserRouter as Router} from 'react-router-dom'
import Route from 'react-router-dom/Route';
import Perfil from './components/Perfil/Perfil';
import Home from './components/Home/Home';

function App() {
return (
Expand Down Expand Up @@ -44,6 +45,16 @@ function App() {
)
}
}/>
<Route path="/menu" exact strict render={
()=>{
return (
<div>
<Navbar/>
<Home/>
</div>
)
}
}/>
</div>
</Router>
);
Expand Down
31 changes: 31 additions & 0 deletions src/components/Home/Home.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import React, { Component } from 'react'
import '../../stylesheet/Home/home.css'



export default class Home extends Component {



render() {
return (
<div>
<div class="bloco" id="centro1">
<img className="logomeio"width="1020" height="240" src={require('../../img/logo01.png')} ></img>
<h3> O que é o Estude+?</h3>
<h5>wqekgiojqwegoijoweqigwejqgiowegqqwejgiowejqgiowjqgiowqwqiejgi</h5>
</div>
<div class="bloco2" id="centro2">
<br></br>
<br></br>
<img className="logomeio" width="600" height="300" src={require('../../img/unb.svg')} ></img>
<h3> A Universidade de Brasília</h3>
<h5>wqekgiojqwegoijoweqigwejqgiowegqqwejgiowejqgiowjqgiowqwqiejgi</h5>
</div>
<div class="bloco green">

</div>
</div>
)
}
}
4 changes: 2 additions & 2 deletions src/components/Navbar/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import '../../stylesheet/Navbar/navbar.css'
class Navbar extends Component {
render() {
return (
<div>
<div class="navbar-fixed">
<nav>
<div class="nav-wrapper nav">
<a href="/menu" class="brand-logo">
Expand All @@ -15,7 +15,7 @@ class Navbar extends Component {
<li><a href="/">Pré-cadastro</a></li>
<li><a href="/cadastro">Cadastro</a></li>
<li><a href="/cadastro">Login</a></li>
<li><a href="/manu">Menu</a></li>

</ul>
</div>
</nav>
Expand Down
Binary file added src/img/fga1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 67 additions & 0 deletions src/img/unb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions src/stylesheet/Home/home.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

.bloco{
height: 100%;
}
.bloco2{
background-color: #f0f0f0;
height: 100%;
}
.logomeio{
align-content: center;
}

#centro1 {
width: 100vw;
height: 80vh;
margin-top:5%;
flex-direction: row;
justify-content: center;
align-items: center;
text-align: center;
}
#centro2 {
width: 100vw;
height: 110vh;
flex-direction: row;
justify-content: center;
align-items: center;
text-align: center;
}

0 comments on commit 01316b7

Please sign in to comment.