Keep folders collapsed by default.
parent
a34506f98e
commit
79b715a64c
|
@ -1,11 +1,15 @@
|
||||||
import { PageLayout, SharedLayout } from "./quartz/cfg"
|
import { PageLayout, SharedLayout } from "./quartz/cfg"
|
||||||
import * as Component from "./quartz/components"
|
import * as Component from "./quartz/components"
|
||||||
|
|
||||||
|
const Explorer = Component.Explorer({
|
||||||
|
folderDefaultState: "collapsed",
|
||||||
|
})
|
||||||
|
|
||||||
// components shared across all pages
|
// components shared across all pages
|
||||||
export const sharedPageComponents: SharedLayout = {
|
export const sharedPageComponents: SharedLayout = {
|
||||||
head: Component.Head(),
|
head: Component.Head(),
|
||||||
header: [
|
header: [
|
||||||
Component.MobileOnly(Component.Explorer()),
|
Component.MobileOnly(Explorer),
|
||||||
],
|
],
|
||||||
footer: Component.Footer({
|
footer: Component.Footer({
|
||||||
links: {
|
links: {
|
||||||
|
@ -26,7 +30,7 @@ export const defaultContentPageLayout: PageLayout = {
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
Component.MobileOnly(Component.Spacer()),
|
||||||
Component.Search(),
|
Component.Search(),
|
||||||
Component.DesktopOnly(Component.Explorer()),
|
Component.DesktopOnly(Explorer),
|
||||||
],
|
],
|
||||||
right: [
|
right: [
|
||||||
Component.Graph(),
|
Component.Graph(),
|
||||||
|
@ -46,7 +50,7 @@ export const defaultListPageLayout: PageLayout = {
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
Component.MobileOnly(Component.Spacer()),
|
||||||
Component.Search(),
|
Component.Search(),
|
||||||
Component.DesktopOnly(Component.Explorer()),
|
Component.DesktopOnly(Explorer),
|
||||||
],
|
],
|
||||||
right: [],
|
right: [],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue