mirror of
https://github.com/yusufipk/nexter-react.git
synced 2026-09-11 09:36:09 +00:00
added sidebar icon
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
export default function Sidebar() {
|
export default function Sidebar() {
|
||||||
return <div className="sidebar">Sidebar</div>;
|
return (
|
||||||
|
<div className="sidebar">
|
||||||
|
<button className="nav-btn">
|
||||||
|
<i class="fa fa-bars" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ body {
|
|||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: $color-primary;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: 80vh min-content 40vw repeat(3, min-content);
|
grid-template-rows: 80vh min-content 40vw repeat(3, min-content);
|
||||||
|
|||||||
@@ -2,4 +2,15 @@
|
|||||||
background-color: $color-primary;
|
background-color: $color-primary;
|
||||||
grid-column: sidebar-start / sidebar-end;
|
grid-column: sidebar-start / sidebar-end;
|
||||||
grid-row: 1 / -1;
|
grid-row: 1 / -1;
|
||||||
|
|
||||||
|
.nav-btn {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
background-color: $color-primary;
|
||||||
|
color: $color-grey-dark-2;
|
||||||
|
font-size: 4rem;
|
||||||
|
cursor: pointer;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user