mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-01-14 22:18:43 +00:00
Reworked layout
This commit is contained in:
parent
7ef7344fa2
commit
a7f550d69f
@ -15,19 +15,20 @@ export const sharedPageComponents: SharedLayout = {
|
|||||||
// 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.MobileOnly(Component.Search()),
|
||||||
Component.Breadcrumbs()
|
Component.Breadcrumbs(),
|
||||||
],
|
],
|
||||||
left: [
|
left: [
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
Component.MobileOnly(Component.Spacer()),
|
||||||
Component.MobileOnly(Component.Darkmode()),
|
Component.MobileOnly(Component.Darkmode()),
|
||||||
Component.Search(),
|
Component.DesktopOnly(Component.Explorer({folderDefaultState: "open"}))
|
||||||
Component.DesktopOnly(Component.Explorer())
|
|
||||||
],
|
],
|
||||||
right: [
|
right: [
|
||||||
Component.DesktopOnly(Component.Darkmode()),
|
Component.DesktopOnly(Component.Darkmode()),
|
||||||
|
Component.DesktopOnly(Component.Search()),
|
||||||
Component.DesktopOnly(Component.TableOfContents()),
|
Component.DesktopOnly(Component.TableOfContents()),
|
||||||
|
Component.MobileOnly(Component.Explorer({folderDefaultState: "open"}))
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,7 +38,7 @@ export const defaultListPageLayout: PageLayout = {
|
|||||||
left: [
|
left: [
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
Component.MobileOnly(Component.Spacer()),
|
||||||
Component.Search(),
|
// Component.Search(),
|
||||||
Component.Darkmode(),
|
Component.Darkmode(),
|
||||||
Component.DesktopOnly(Component.Explorer()),
|
Component.DesktopOnly(Component.Explorer()),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user