From b81f3e17b1b2e3709f1bbc862dd95068f493ac11 Mon Sep 17 00:00:00 2001 From: Heli-o Date: Sun, 13 Oct 2024 09:42:59 +0200 Subject: [PATCH] Moved mobile explorer to footer --- quartz.layout.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/quartz.layout.ts b/quartz.layout.ts index a8ad0cb..599c966 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -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({