chore: update blog layout and ignore local files

This commit is contained in:
PascalSchattenburg
2026-01-24 19:40:20 +01:00
parent 8c67bcbb7a
commit 78e7c56650
9 changed files with 103 additions and 31 deletions

View File

@@ -6,6 +6,7 @@ export default function BlogIndexPage() {
const posts = getAllPosts();
return (
<div>
<TopBar
title="Blog"
@@ -13,28 +14,60 @@ export default function BlogIndexPage() {
right={<InfoLink href="/about" />}
/>
<main className="mx-auto max-w-3xl px-4 py-10">
<div className="space-y-6">
<section className="mt-16 mb-24 overflow-hidden">
<div className="mx-auto max-w-6xl overflow-hidden">
<div
className="flex whitespace-nowrap"
style={{
animation: "marquee 25s linear infinite",
}}
>
<h1 className="text-[130px] font-semibold tracking-widest leading-tight mr-20">
BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG
</h1>
<h1 className="text-[130px] font-semibold tracking-widest leading-tight mr-20">
BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG
</h1>
</div>
<div
className="flex whitespace-nowrap mt-[-70px]"
style={{
animation: "marquee 40s linear infinite",
}}
>
<p className="text-[30px] opacity-60 tracking-[0.05em] mr-20">
Thoughts, experiments and notes from the Voyage universe. ·
</p>
<p className="text-[30px] opacity-60 tracking-[0.05em] mr-20">
Thoughts, experiments and notes from the Voyage universe. ·
</p>
</div>
</div>
</section>
<main className="mt-12">
<div className="grid grid-cols-3 gap-16 mt-[30]">
{posts.map((p) => (
<article
key={p.slug}
className="border border-black/10 p-4"
className="rounded-2xl bg-neutral-50 p-10"
>
<div className="text-xs opacity-70">
<div className="text-xs opacity-60">
{p.meta.date}
</div>
<h2 className="text-lg font-semibold">
<h2 className="mt-[20px] text-3xl font-semibold leading-tight">
<Link href={`/blog/${p.slug}`}>
{p.meta.title}
</Link>
</h2>
{p.meta.excerpt ? (
<p className="mt-2 opacity-80">
{p.meta.excerpt && (
<p className="mt-4 opacity-50">
{p.meta.excerpt}
</p>
) : null}
)}
</article>
))}
</div>