-
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.
Related to issue #7 Signed-off-by: Lucas Amoêdo <[email protected]>
- Loading branch information
1 parent
c2d4697
commit c9054c7
Showing
5 changed files
with
66 additions
and
3 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
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,13 @@ | ||
import React from 'react'; | ||
import Header from './Header'; | ||
|
||
const App = function App() { | ||
return ( | ||
<div> | ||
<Header /> | ||
<h1>App</h1> | ||
</div> | ||
); | ||
}; | ||
|
||
export default App; |
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,21 @@ | ||
.navbar.techvet-navbar { | ||
text-align: center; | ||
background: #70ad47; | ||
color: white; | ||
box-shadow: 1px 5px 5px 1px rgba(136,144, 130, 1); | ||
border: none; | ||
border-radius: 0; | ||
height: 48px; | ||
} | ||
.navbar.techvet-navbar h1 { | ||
display: inline-block; | ||
font-size: 19px; | ||
margin-top: 15px; | ||
} | ||
.btn.techvet-button { | ||
font-size: 20px; | ||
padding: 10px 12px; | ||
color: white; | ||
border: none; | ||
background: none; | ||
} |
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,23 @@ | ||
import React from 'react'; | ||
import './Header.css'; | ||
|
||
|
||
const Header = function header() { | ||
return ( | ||
<div className="navbar navbar-default techvet-navbar"> | ||
<div className="container"> | ||
<h1>TECH Vet</h1> | ||
<ul className="nav navbar-nav pull-right"> | ||
<li> | ||
<button className="btn btn-default techvet-button" type="button"> | ||
<i className="glyphicon glyphicon-cog" /> | ||
</button> | ||
</li> | ||
<li><button className="btn btn-default techvet-button" type="button">Sair</button></li> | ||
</ul> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Header; |
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,12 @@ | ||
/* eslint-env browser */ | ||
/* global document */ | ||
|
||
import 'bootstrap/dist/css/bootstrap.css'; | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import App from './App'; | ||
|
||
ReactDOM.render( | ||
<h1>Hello, world</h1>, | ||
document.getElementById('root'), | ||
<App />, | ||
document.getElementById('root'), | ||
); |