mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-13 19:55:26 -04:00
bump next to 13.5
This commit is contained in:
@@ -15,10 +15,6 @@ const Title = styled("h1", {
|
||||
},
|
||||
});
|
||||
|
||||
const TitleLink = styled(Link, {
|
||||
color: theme.colors.text,
|
||||
});
|
||||
|
||||
export type PageTitleProps = ComponentPropsWithoutRef<typeof Title>;
|
||||
|
||||
const PageTitle = ({ children, ...rest }: PageTitleProps) => {
|
||||
@@ -26,9 +22,9 @@ const PageTitle = ({ children, ...rest }: PageTitleProps) => {
|
||||
|
||||
return (
|
||||
<Title {...rest}>
|
||||
<TitleLink href={router.pathname} underline={false}>
|
||||
<Link href={router.pathname} underline={false} css={{ color: theme.colors.text }}>
|
||||
{children}
|
||||
</TitleLink>
|
||||
</Link>
|
||||
</Title>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user