🏗 Added a downloads navbar link

This commit is contained in:
2022-04-10 00:49:12 -07:00
parent 771400fdf3
commit 312ee93781
3 changed files with 11 additions and 2 deletions

View File

@@ -32,6 +32,11 @@ pre {
background-color: $bg-color;
}
}
.navbar {
border-bottom: 1px solid #f2f1f9;
}
.navbar-item.is-mega {
position: static;
@@ -314,7 +319,7 @@ pre {
// Library
.sticky {
position: sticky;
top: 56px;
top: 57px;
z-index: 2;
background: #fffffc;
}

View File

@@ -6,10 +6,10 @@ export const LibraryStatistics = (
props: ILibraryStatisticsProps,
): ReactElement => {
// const { stats } = props;
console.log(props);
return (
<>
<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="column is-narrow is-two-quarter">
<dl className="box">

View File

@@ -47,6 +47,10 @@ const Navbar: React.FunctionComponent = (props) => {
Library
</Link>
<Link to="/library" className="navbar-item">
Downloads
</Link>
<Link to="/search" className="navbar-item">
Search
</Link>