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