moved explorer to beforebody

This commit is contained in:
Heli-o 2024-10-13 09:45:07 +02:00
parent b81f3e17b1
commit 7c5aae9f94

View file

@ -5,20 +5,20 @@ import * as Component from "./quartz/components"
export const sharedPageComponents: SharedLayout = {
head: Component.Head(),
header: [Component.DesktopOnly(Component.PageImage()), Component.Homebar()],
footer: [Component.MobileOnly(Component.Explorer()),
Component.Footer({
footer: Component.Footer({
links: {
"Main social profile": "https://derg.social/@ulysia",
},
rings: {
Fediring: "https://fediring.net/",
},
})],
}),
}
// components for pages that display a single page (e.g. a single note)
export const defaultContentPageLayout: PageLayout = {
beforeBody: [
Component.MobileOnly(Component.Explorer()),
Component.Breadcrumbs(),
Component.ArticleTitle(),
Component.ContentMeta(),
@ -40,7 +40,7 @@ export const defaultContentPageLayout: PageLayout = {
// components for pages that display lists of pages (e.g. tags or folders)
export const defaultListPageLayout: PageLayout = {
beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
beforeBody: [Component.MobileOnly(Component.Explorer()), Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),