Skip to content

Kerchunk blog post #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/blog/kerchunk/kerchunk_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 19 additions & 3 deletions src/components/BlogPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,25 @@ export const BlogPost = () => {
<div className="container mx-auto px-4 py-8">
<article className="prose prose-lg dark:prose-invert max-w-4xl mx-auto">
<h1 className="text-4xl font-bold mb-4">{post.title}</h1>
<div className="flex items-center justify-between text-sm text-muted-foreground mb-8">
<span>{post.date}</span>
<span>{post.readTime}</span>
<div className="flex flex-col gap-4 mb-8">
<div className="flex items-center justify-between text-sm text-muted-foreground">
<span>{post.date}</span>
<span>{post.readTime}</span>
</div>
{post.keywords?.length > 0 && (
<div className="flex flex-wrap gap-2">
{post.keywords
.filter(keyword => keyword && keyword.trim())
.map((keyword, index) => (
<span
key={index}
className="px-3 py-1 text-sm rounded-full bg-secondary text-secondary-foreground"
>
{keyword.trim()}
</span>
))}
</div>
)}
</div>
<img
src={post.image}
Expand Down
Loading
Loading