Refactor, update UI, and add notes

This commit is contained in:
2022-10-04 23:41:59 -04:00
parent fde6c7fa69
commit 160f23cb01
31 changed files with 813 additions and 265 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import Link from "next/link";
import { NoteMeta } from "../util/slug";
import { INoteMeta } from "../lib/slug";
function RecentNotes({ notesMeta }: { notesMeta: NoteMeta[] }) {
function RecentNotes({ notesMeta }: { notesMeta: INoteMeta[] }) {
return (
<div className='block'>
<div className='h2'>Recent Notes</div>
@@ -14,7 +14,7 @@ function RecentNotes({ notesMeta }: { notesMeta: NoteMeta[] }) {
}
{
notesMeta.length > 10 &&
<div className={''}>
<div>
<Link href='/notes'>
<a className='h5'>More...</a>
</Link>