feat(MiniGraph): Add cose layout & fullscreen functionality, fix content error

This commit is contained in:
Daniel LaForce 2025-04-26 19:19:21 -06:00
parent 1853271bd6
commit d4f75d324e
2 changed files with 891 additions and 230 deletions

File diff suppressed because it is too large Load Diff

View File

@ -164,6 +164,7 @@ const { Content } = await post.render();
<h3>Author</h3>
<div class="author-card">
<div class="author-name">{post.data.author}</div>
{/* Add more author details if needed */}
</div>
</div>
)}
@ -174,8 +175,8 @@ const { Content } = await post.render();
title={post.data.title}
tags={post.data.tags || []}
category={post.data.category || "Uncategorized"}
relatedPosts={combinedRelatedPosts}
allPosts={allPosts}
content={""} {/* Pass empty string for content */}
/>
</div>
@ -329,7 +330,7 @@ const { Content } = await post.render();
}
.knowledge-graph-section {
padding: 1rem;
padding: 1rem; /* Adjusted padding */
}
.tags {
@ -380,6 +381,7 @@ const { Content } = await post.render();
/* Author Card */
.author-card {
/* Simplified author card for this example */
display: flex;
flex-direction: column;
align-items: center;