Refine blog copy and remove seeded posts
Build Check / build (pull_request) Successful in 32s
Build Check / push-image (pull_request) Has been skipped
Build Check / deploy-coolify (pull_request) Has been skipped

This commit is contained in:
2026-07-17 22:14:59 +00:00
parent 912e5edb81
commit 76b1c79104
3 changed files with 21 additions and 108 deletions
+18
View File
@@ -27,6 +27,24 @@ export function MarkdownContent({ content }: { content: string }) {
blockquote: ({ children }) => (
<blockquote className="border-l-2 border-white/20 pl-4 italic text-gray-400">{children}</blockquote>
),
img: ({ src, alt }) => (
// Markdown images should feel deliberate in the article layout.
<img
src={src || ""}
alt={alt || ""}
className="my-6 w-full rounded-2xl border border-white/10 bg-black/40 object-cover"
/>
),
table: ({ children }) => (
<div className="my-6 overflow-x-auto rounded-2xl border border-white/10">
<table className="min-w-full border-collapse text-left text-sm">{children}</table>
</div>
),
thead: ({ children }) => <thead className="bg-white/6 text-white">{children}</thead>,
tbody: ({ children }) => <tbody className="divide-y divide-white/10">{children}</tbody>,
tr: ({ children }) => <tr className="divide-x divide-white/10">{children}</tr>,
th: ({ children }) => <th className="px-4 py-3 font-semibold">{children}</th>,
td: ({ children }) => <td className="px-4 py-3 align-top text-gray-300">{children}</td>,
code: ({ className, children }) => {
const inline = !className;
if (inline) {