Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/components/MapContainer/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react'

const Nav: React.FC = () => {
return (
<div
style={{
backgroundColor: '#333',
marginBottom: '10px',
paddingBottom: '10px',
}}
className="container"
>
<h1 style={{ display: 'flex', justifyContent: 'center', color: 'white' }}>
{' '}
(Test OL) Orca Map
</h1>
</div>
)
}

export default Nav
4 changes: 2 additions & 2 deletions src/views/App.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from 'react'

import Nav from '../components/MapContainer/NavBar'
import MapContainer from '../components/MapContainer/MapContainer'

const App: React.FC = () => {
return (
<div className="App">
<h1 style={{ textAlign: 'center' }}> (test OL) Orca Map</h1>
<Nav />
<MapContainer />
</div>
)
Expand Down