From 6d6665eb52d87818df94774e506cf201a8208116 Mon Sep 17 00:00:00 2001
From: schererleander <leander@schererleander.de>
Date: Wed, 25 Jun 2025 02:02:45 +0200
Subject: svg attributes to camelCase

---
 src/pages/Post.tsx | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

(limited to 'src/pages/Post.tsx')

diff --git a/src/pages/Post.tsx b/src/pages/Post.tsx
index 5c0f0ca..67f8959 100644
--- a/src/pages/Post.tsx
+++ b/src/pages/Post.tsx
@@ -1,6 +1,4 @@
 import { useParams, Link } from "react-router-dom";
-import CodeSnippet from "../components/CodeSnippet";
-import LinkWithIcon from "../components/LinkWithIcon";
 import NotFoundPage from "./404Page";
 
 interface PostFile {
@@ -29,7 +27,7 @@ export default function Post() {
 
   return (
     <article className="prose prose-zinc dark:prose-invert mx-auto px-4 py-10">
-      <Link to="/blog" className="no-underline">
+      <Link to="/blog" className="no-underline hover:underline">
         ← Back
       </Link>
 
@@ -46,20 +44,7 @@ export default function Post() {
         {new Date(meta.date).toLocaleDateString("de-DE")}
       </p>
 
-      {/* The Markdown, already a React component */}
-      <Content
-        components={{
-          code({ children }: any) {
-            return (
-              <CodeSnippet
-                code={String(children).replace(/\n$/, "")}
-                initialLines={5}
-              />
-            );
-          },
-          a: LinkWithIcon,
-        }}
-      />
+      <Content />
     </article>
   );
 }
\ No newline at end of file
-- 
cgit v1.3.1

