1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 19:15:30 -04:00
Files
jarv.is/components/layout/page-title.tsx
T
jake b857ab2754 feat: increase GitHub repository limit and enhance styling
- Updated repository limit from 12 to 24 in getRepos function.
- Added new icons and adjusted styles for better visual consistency in the page component.
- Modified text sizes and spacing for improved layout and readability.
2026-02-19 14:44:29 -05:00

29 lines
579 B
TypeScript

import Link from "next/link";
import { cn } from "@/lib/utils";
const PageTitle = ({
canonical,
className,
children,
...rest
}: React.ComponentProps<"h1"> & {
canonical: string;
}) => (
<h1
className={cn(
"not-prose mt-0 mb-6 text-left font-medium text-3xl lowercase tracking-tight",
className,
)}
{...rest}
>
<Link
href={canonical}
className="text-foreground no-underline before:text-muted-foreground before:tracking-wider before:content-['\002E\002F']"
>
{children}
</Link>
</h1>
);
export { PageTitle };