1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-01-14 10:42:56 -05:00

bump next to stable

This commit is contained in:
2022-07-08 13:24:38 -04:00
parent 295301aa9e
commit 54d0b6eac0
14 changed files with 155 additions and 166 deletions

View File

@@ -86,11 +86,11 @@ const Footer = ({ ...rest }: FooterProps) => {
<Row>
<div>
Content{" "}
<PlainLink href="/license/" prefetch={false} title={config.license} underline={false}>
<PlainLink href="/license/" title={config.license} underline={false}>
licensed under {config.licenseAbbr}
</PlainLink>
,{" "}
<PlainLink href="/previously/" prefetch={false} title="Previously on..." underline={false}>
<PlainLink href="/previously/" title="Previously on..." underline={false}>
{config.copyrightYearStart}
</PlainLink>{" "}
{new Date(process.env.RELEASE_DATE || Date.now()).getUTCFullYear()}.

View File

@@ -66,21 +66,13 @@ const MenuItem = ({ icon: ItemIcon, href, text, current, className }: MenuItemPr
// allow both navigational links and/or other interactive react components (e.g. the theme toggle)
if (href) {
return (
<MenuLink
href={href}
prefetch={false}
className={className}
current={current}
title={text}
underline={false}
aria-label={text}
>
<MenuLink href={href} className={className} current={current} title={text} underline={false} aria-label={text}>
{linkContent}
</MenuLink>
);
}
return <>{linkContent}</>;
return linkContent;
};
export default MenuItem;

View File

@@ -24,6 +24,7 @@ const Section = styled("section", {
const Year = styled("h2", {
fontSize: "2.2em",
fontWeight: 700,
marginTop: 0,
marginBottom: "0.5em",

View File

@@ -7,6 +7,7 @@ const Title = styled("h1", {
marginTop: 0,
marginBottom: "0.6em",
fontSize: "2em",
fontWeight: 600,
textAlign: "center",
"@medium": {

View File

@@ -52,7 +52,7 @@ export type SelfieProps = Omit<ComponentProps<typeof Link>, "href">;
const Selfie = ({ ...rest }: SelfieProps) => {
return (
<SelfieLink href="/" rel="author" title={authorName} underline={false} {...rest}>
<CircleImage src={selfieJpg} alt={`Photo of ${authorName}`} width={50} height={50} quality={60} inline priority />
<CircleImage src={selfieJpg} alt={`Photo of ${authorName}`} width={70} height={70} quality={60} inline priority />
<Name>{authorName}</Name>
</SelfieLink>
);