Skip to content

Commit

Permalink
Quartz sync: Jul 29, 2024, 6:28 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
keithdperez committed Jul 29, 2024
1 parent 571eddb commit 2a4d5b5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions quartz.layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const sharedPageComponents: SharedLayout = {
afterBody: [],
footer: Component.Footer({
links: {
"Our Website": "https://thetablechurch.life",
"Website": "https://thetablechurch.life",
"Church Center": "https://thetablechurchlemont.churchcenter.com",
},
}),
Expand All @@ -25,9 +25,9 @@ export const defaultContentPageLayout: PageLayout = {
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
// Component.Search(),
Component.Search(),
Component.Darkmode(),
// Component.DesktopOnly(Component.Explorer()),
Component.DesktopOnly(Component.Explorer()),
],
right: [
Component.Graph(),
Expand All @@ -47,4 +47,8 @@ export const defaultListPageLayout: PageLayout = {
Component.DesktopOnly(Component.Explorer()),
],
right: [],
document.addEventListener("themechange", (e) => {
console.log("Theme changed to " + e.detail.theme) // either "light" or "dark"
// your logic here
})
}

0 comments on commit 2a4d5b5

Please sign in to comment.