diff --git a/.env.local.example b/.env.local.example index 59342a2..36b709d 100644 --- a/.env.local.example +++ b/.env.local.example @@ -16,6 +16,8 @@ NEXT_PUBLIC_TWITTER_HANDLE="@yourhandle" NEXT_PUBLIC_GITHUB_URL="https://github.com/yourname" NEXT_PUBLIC_LINKEDIN_URL="https://www.linkedin.com/in/yourname/" NEXT_PUBLIC_EMAIL_CONTACT="you@example.com" +NEXT_PUBLIC_MASTODON_URL="https://your.instance/@yourhandle" +NEXT_PUBLIC_GITEA_URL="https://gitea.example/yourname" # SEO / Open Graph NEXT_PUBLIC_OG_DEFAULT_IMAGE="/assets/og-default.jpg" diff --git a/components/hero.tsx b/components/hero.tsx index baefbf6..be249f3 100644 --- a/components/hero.tsx +++ b/components/hero.tsx @@ -14,10 +14,15 @@ export function Hero() {

{name}

-

+

{tagline}

- {(social.github || social.twitter || social.linkedin || social.email) && ( + {(social.github || + social.twitter || + social.linkedin || + social.email || + social.mastodon || + social.gitea) && (
{social.github && ( )} + {social.mastodon && ( + + Mastodon + + )} + {social.gitea && ( + + Gitea + + )} {social.linkedin && ( ); } - diff --git a/components/layout-shell.tsx b/components/layout-shell.tsx index 76fb80d..ddc1d4a 100644 --- a/components/layout-shell.tsx +++ b/components/layout-shell.tsx @@ -1,11 +1,17 @@ import { SiteHeader } from './site-header'; import { SiteFooter } from './site-footer'; +import { RightSidebar } from './right-sidebar'; export function LayoutShell({ children }: { children: React.ReactNode }) { return ( -
+
-
{children}
+
+
+
{children}
+ +
+
); diff --git a/components/post-card.tsx b/components/post-card.tsx index e6c82a7..8d35fb6 100644 --- a/components/post-card.tsx +++ b/components/post-card.tsx @@ -15,12 +15,14 @@ export function PostCard({ post }: PostCardProps) { return (
{cover && ( - // eslint-disable-next-line @next/next/no-img-element - {post.title} +
+ {/* eslint-disable-next-line @next/next/no-img-element */} + {post.title} +
)}

@@ -53,7 +55,7 @@ export function PostCard({ post }: PostCardProps) { )}

{post.description && ( -

+

{post.description}

)} @@ -61,4 +63,3 @@ export function PostCard({ post }: PostCardProps) {
); } - diff --git a/components/post-toc.tsx b/components/post-toc.tsx index d0d9fb1..836a6f0 100644 --- a/components/post-toc.tsx +++ b/components/post-toc.tsx @@ -28,7 +28,7 @@ export function PostToc() { if (items.length === 0) return null; return ( -