Skip to content

Commit 57ebdb2

Browse files
committed
fix logo + discord link
1 parent b40d1a1 commit 57ebdb2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

quartz/quartz.layout.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const sharedPageComponents: SharedLayout = {
99
links: {
1010
Synonym: "https://synonym.to",
1111
GitHub: "https://github.com/pubky/pubky-knowledge-base",
12-
"Discord Community": "https://discord.com/invite/DxTBJXvJxn",
12+
Discord: "https://discord.com/invite/DxTBJXvJxn",
1313
},
1414
}),
1515
}

quartz/quartz/components/PageTitle.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ const PageTitle: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzCompo
88
const baseDir = pathToRoot(fileData.slug!)
99
return (
1010
<>
11-
<a style={{ position: "absolute", top: "-100px" }} href="/">
12-
<img src="static/pubky-core-logo.svg" width={209} height={44} />
11+
<a href="/">
12+
<img style={{ margin: 0 }} src="static/pubky-core-logo.svg" width={209} height={44} />
1313
</a>
14-
<h2 class={classNames(displayClass, "page-title")}>
14+
{/** <h2 class={classNames(displayClass, "page-title")}>
1515
<a href={baseDir}>
1616
{title === "Pubky Knowledge Base" && (
1717
<>
@@ -21,7 +21,7 @@ const PageTitle: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzCompo
2121
</>
2222
)}
2323
</a>
24-
</h2>
24+
</h2> */}
2525
</>
2626
)
2727
}

0 commit comments

Comments
 (0)