Skip to content

Commit 3ff849e

Browse files
Added Links Object into the Drawer Component
1 parent ecdf64b commit 3ff849e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

quartz.layout.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ export const sharedPageComponents: SharedLayout = {
1616
Component.Darkmode()
1717
],
1818
head: Component.Head(),
19-
header: [
20-
21-
],
22-
afterBody: [
23-
],
19+
header: [],
20+
afterBody: [],
2421
footer: Component.Footer({
2522
links: {
2623
GitHub: "https://prathameshdhande22.github.io/Java-Tutorial/",
@@ -32,15 +29,20 @@ export const sharedPageComponents: SharedLayout = {
3229
// components for pages that display a single page (e.g. a single note)
3330
export const defaultContentPageLayout: PageLayout = {
3431
beforeBody: [
35-
3632
Component.Breadcrumbs(),
3733
Component.ArticleTitle(),
3834
Component.ContentMeta(),
3935
Component.TagList(),
4036
],
4137
left: [
4238
Component.MobileOnly(
43-
Component.Drawer()
39+
Component.Drawer({
40+
links: {
41+
Blogs: "/blogs",
42+
Github: "https://github.com/PrathameshDhande22/Java-Tutorial",
43+
"About Me": "https://github.com/PrathameshDhande22"
44+
}
45+
})
4446
),
4547
Component.Search(),
4648
Component.DesktopOnly(

0 commit comments

Comments
 (0)