1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 19:15:30 -04:00

do react types more better too 🧠

This commit is contained in:
2025-05-19 17:58:03 -04:00
parent 51708c9b17
commit f4c69292df
41 changed files with 141 additions and 194 deletions
+1 -2
View File
@@ -1,9 +1,8 @@
import { env } from "@/lib/env";
import { Feed } from "feed";
import { Feed, type Item as FeedItem } from "feed";
import { getFrontMatter, getContent } from "@/lib/posts";
import siteConfig from "@/lib/config/site";
import authorConfig from "@/lib/config/author";
import type { Item as FeedItem } from "feed";
import ogImage from "@/app/opengraph-image.jpg";
-30
View File
@@ -1,30 +0,0 @@
import { HomeIcon, PencilLineIcon, CodeXmlIcon, MailIcon, type LucideIcon } from "lucide-react";
export type MenuItemConfig = {
text?: string;
href?: `/${string}`;
icon?: LucideIcon;
};
export const menuItems: MenuItemConfig[] = [
{
text: "Home",
href: "/",
icon: HomeIcon,
},
{
text: "Notes",
href: "/notes",
icon: PencilLineIcon,
},
{
text: "Projects",
href: "/projects",
icon: CodeXmlIcon,
},
{
text: "Contact",
href: "/contact",
icon: MailIcon,
},
];
-1
View File
@@ -1,7 +1,6 @@
import { env } from "@/lib/env";
import siteConfig from "@/lib/config/site";
import authorConfig from "@/lib/config/author";
import type { Metadata } from "next";
export const defaultMetadata: Metadata = {