Refine blog copy and remove seeded posts
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user