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 = { 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.Footer({ footer: [Component.MobileOnly(Component.Explorer()),
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)
@ -28,8 +29,7 @@ export const defaultContentPageLayout: PageLayout = {
Component.MobileOnly(Component.Spacer()), Component.MobileOnly(Component.Spacer()),
Component.Search(), Component.Search(),
Component.Darkmode(), Component.Darkmode(),
// Component.DesktopOnly(Component.Explorer()), Component.DesktopOnly(Component.Explorer()),
Component.Explorer(),
], ],
right: [ right: [
Component.Graph(), Component.Graph(),
@ -46,8 +46,7 @@ export const defaultListPageLayout: PageLayout = {
Component.MobileOnly(Component.Spacer()), Component.MobileOnly(Component.Spacer()),
Component.Search(), Component.Search(),
Component.Darkmode(), Component.Darkmode(),
// Component.DesktopOnly(Component.Explorer()), Component.DesktopOnly(Component.Explorer()),
Component.Explorer(),
], ],
right: [ right: [
Component.Graph({ Component.Graph({