🏗 Added a downloads navbar link
This commit is contained in:
@@ -32,6 +32,11 @@ pre {
|
|||||||
background-color: $bg-color;
|
background-color: $bg-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar {
|
||||||
|
border-bottom: 1px solid #f2f1f9;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-item.is-mega {
|
.navbar-item.is-mega {
|
||||||
position: static;
|
position: static;
|
||||||
|
|
||||||
@@ -314,7 +319,7 @@ pre {
|
|||||||
// Library
|
// Library
|
||||||
.sticky {
|
.sticky {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 56px;
|
top: 57px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: #fffffc;
|
background: #fffffc;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ export const LibraryStatistics = (
|
|||||||
props: ILibraryStatisticsProps,
|
props: ILibraryStatisticsProps,
|
||||||
): ReactElement => {
|
): ReactElement => {
|
||||||
// const { stats } = props;
|
// const { stats } = props;
|
||||||
console.log(props);
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h4 className="title is-4 mt-2">Statistics</h4>
|
<h4 className="title is-4 mt-2">Statistics</h4>
|
||||||
|
<p className="subtitle is-7">A brief snapshot of your library.</p>
|
||||||
<div className="columns is-multiline">
|
<div className="columns is-multiline">
|
||||||
<div className="column is-narrow is-two-quarter">
|
<div className="column is-narrow is-two-quarter">
|
||||||
<dl className="box">
|
<dl className="box">
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ const Navbar: React.FunctionComponent = (props) => {
|
|||||||
Library
|
Library
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
|
<Link to="/library" className="navbar-item">
|
||||||
|
Downloads
|
||||||
|
</Link>
|
||||||
|
|
||||||
<Link to="/search" className="navbar-item">
|
<Link to="/search" className="navbar-item">
|
||||||
Search
|
Search
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user