1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-14 19:20:50 -05:00

sentry instrumentation

This commit is contained in:
2025-03-29 20:37:28 -04:00
parent 4f5bc129b6
commit 87a24a98f0
21 changed files with 2244 additions and 333 deletions

View File

@@ -1,6 +1,5 @@
import clsx from "clsx";
import Link from "../Link";
import type { Route } from "next";
import type { ComponentPropsWithoutRef } from "react";
import type { LucideIcon } from "lucide-react";
@@ -8,7 +7,7 @@ import styles from "./MenuItem.module.css";
export type MenuItemProps = Omit<ComponentPropsWithoutRef<typeof Link>, "href"> & {
text?: string;
href?: Route;
href?: string;
icon?: LucideIcon;
current?: boolean;
};

View File

@@ -1,7 +1,6 @@
import clsx from "clsx";
import Link from "../Link";
import type { ComponentPropsWithoutRef } from "react";
import type { Route } from "next";
import styles from "./PageTitle.module.css";
@@ -12,7 +11,7 @@ export type PageTitleProps = ComponentPropsWithoutRef<"h1"> & {
const PageTitle = ({ canonical, className, children, ...rest }: PageTitleProps) => {
return (
<h1 className={clsx(styles.title, className)} {...rest}>
<Link href={canonical as Route} plain className={styles.slug}>
<Link href={canonical} plain className={styles.slug}>
{children}
</Link>
</h1>