next 13, remove unused, update incorrect/outdated

This commit is contained in:
2023-09-20 00:25:34 -04:00
parent a1fb018bdb
commit 2bc72ce3e9
28 changed files with 8581 additions and 13741 deletions
+4 -6
View File
@@ -7,14 +7,12 @@ import RecentPosts from '../components/recent-posts';
import { getNotesMeta, getPostsMeta, INoteMeta, IPostMeta } from '../lib/slug';
function Nav() {
const nav = {'Posts': '/posts', 'Notes': '/notes', 'About': '/about', };
const nav = { 'Posts': '/posts', 'Notes': '/notes', 'About': '/about', };
return (
<div className='block' style={{textAlign: 'center'}}>
<div className='block' style={{ textAlign: 'center' }}>
{
Object.entries(nav).map(([k, v], i) => {
return <Link key={i} href={v}>
<a className='button green'>{k}</a>
</Link>
return <Link key={i} href={v} className='button green'>{k}</Link>
})
}
</div>
@@ -38,4 +36,4 @@ export async function getStaticProps() {
};
}
export default HomePage;
export default HomePage;