Moved mobile explorer to footer

This commit is contained in:
Heli-o 2024-10-13 09:42:59 +02:00
parent 03e659de4a
commit b81f3e17b1

View file

@ -5,14 +5,15 @@ import * as Component from "./quartz/components"
export const sharedPageComponents: SharedLayout = {
head: Component.Head(),
header: [Component.DesktopOnly(Component.PageImage()), Component.Homebar()],
footer: Component.Footer({
footer: [Component.MobileOnly(Component.Explorer()),
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)
@ -28,9 +29,8 @@ export const defaultContentPageLayout: PageLayout = {
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
// Component.DesktopOnly(Component.Explorer()),
Component.Explorer(),
],
Component.DesktopOnly(Component.Explorer()),
],
right: [
Component.Graph(),
Component.DesktopOnly(Component.TableOfContents()),
@ -46,8 +46,7 @@ export const defaultListPageLayout: PageLayout = {
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
// Component.DesktopOnly(Component.Explorer()),
Component.Explorer(),
Component.DesktopOnly(Component.Explorer()),
],
right: [
Component.Graph({