created the layout

This commit is contained in:
Yusuf Ipek
2021-05-08 12:07:23 +03:00
parent c5eddbb0e5
commit 3f018ba17a
8 changed files with 70 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
function Header() {
return <header className="header">Header Part</header>;
}
export default Header;
+5
View File
@@ -0,0 +1,5 @@
function HotelView() {
return <main className="hotel-view">Hotel view</main>;
}
export default HotelView;
+13
View File
@@ -0,0 +1,13 @@
import HotelView from "../hotel-view/hotel-view";
import Nav from "../navigation/navigation";
function Main() {
return (
<div className="content">
<Nav />
<HotelView />
</div>
);
}
export default Main;
+5
View File
@@ -0,0 +1,5 @@
function Nav() {
return <nav className="sidebar">Navigation</nav>;
}
export default Nav;