more typescript stuff and new post

This commit is contained in:
2024-02-21 20:26:19 -05:00
parent b4fd4e3403
commit d1bd9388fc
9 changed files with 117 additions and 52 deletions
+2 -5
View File
@@ -1,10 +1,7 @@
---
const { pathname } = Astro.url;
import type { NavLink } from 'src/types';
type NavLink = {
label: string;
path: string;
};
const { pathname } = Astro.url;
const navLinks: NavLink[] = [
{ label: '📝 Blog', path: '/' },