2024-04-05 00:03:11 +00:00
|
|
|
import { PageLayout, SharedLayout } from "./quartz/cfg"
|
|
|
|
import * as Component from "./quartz/components"
|
|
|
|
|
|
|
|
// components shared across all pages
|
|
|
|
export const sharedPageComponents: SharedLayout = {
|
|
|
|
head: Component.Head(),
|
2024-04-20 15:26:09 +00:00
|
|
|
header: [Component.DesktopOnly(Component.PageImage()), Component.Homebar()],
|
2024-10-14 06:26:05 +00:00
|
|
|
footer: Component.CustomFooter({
|
2024-04-20 15:26:09 +00:00
|
|
|
links: {
|
|
|
|
"Main social profile": "https://derg.social/@ulysia",
|
|
|
|
},
|
|
|
|
rings: {
|
|
|
|
Fediring: "https://fediring.net/",
|
|
|
|
},
|
2024-10-13 07:45:07 +00:00
|
|
|
}),
|
2024-04-05 00:03:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// components for pages that display a single page (e.g. a single note)
|
|
|
|
export const defaultContentPageLayout: PageLayout = {
|
|
|
|
beforeBody: [
|
2024-10-13 07:45:07 +00:00
|
|
|
Component.MobileOnly(Component.Explorer()),
|
2024-04-05 00:03:11 +00:00
|
|
|
Component.Breadcrumbs(),
|
|
|
|
Component.ArticleTitle(),
|
|
|
|
Component.ContentMeta(),
|
|
|
|
Component.TagList(),
|
|
|
|
],
|
|
|
|
left: [
|
|
|
|
Component.PageTitle(),
|
|
|
|
Component.MobileOnly(Component.Spacer()),
|
|
|
|
Component.Search(),
|
|
|
|
Component.Darkmode(),
|
2024-10-13 07:42:59 +00:00
|
|
|
Component.DesktopOnly(Component.Explorer()),
|
|
|
|
],
|
2024-04-05 00:03:11 +00:00
|
|
|
right: [
|
|
|
|
Component.Graph(),
|
|
|
|
Component.DesktopOnly(Component.TableOfContents()),
|
|
|
|
Component.Backlinks(),
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
// components for pages that display lists of pages (e.g. tags or folders)
|
|
|
|
export const defaultListPageLayout: PageLayout = {
|
2024-10-13 07:45:07 +00:00
|
|
|
beforeBody: [Component.MobileOnly(Component.Explorer()), Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
|
2024-04-05 00:03:11 +00:00
|
|
|
left: [
|
|
|
|
Component.PageTitle(),
|
|
|
|
Component.MobileOnly(Component.Spacer()),
|
|
|
|
Component.Search(),
|
|
|
|
Component.Darkmode(),
|
2024-10-13 07:42:59 +00:00
|
|
|
Component.DesktopOnly(Component.Explorer()),
|
2024-04-05 00:03:11 +00:00
|
|
|
],
|
2024-04-07 11:41:49 +00:00
|
|
|
right: [
|
|
|
|
Component.Graph({
|
|
|
|
localGraph: {
|
|
|
|
depth: -1,
|
|
|
|
},
|
2024-04-07 14:38:00 +00:00
|
|
|
globalGraph: {
|
|
|
|
depth: -1,
|
|
|
|
}
|
2024-04-07 11:41:49 +00:00
|
|
|
}),
|
|
|
|
Component.DesktopOnly(Component.TableOfContents()),
|
|
|
|
Component.Backlinks(),
|
|
|
|
],
|
2024-04-05 00:03:11 +00:00
|
|
|
}
|