From 0895e875684f17cb2ae42ae886a13bfb9e2d95f9 Mon Sep 17 00:00:00 2001 From: jyje Date: Sun, 18 Feb 2024 22:20:15 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quartz.config.ts | 24 ++++++------ quartz.layout.ts | 7 +++- quartz/components/Footer.tsx | 18 ++++++++- quartz/components/Head.tsx | 1 + quartz/components/scripts/popover.inline.ts | 40 ++++++-------------- quartz/components/styles/explorer.scss | 4 +- quartz/components/styles/footer.scss | 2 +- quartz/components/styles/recentNotes.scss | 2 +- quartz/i18n/locales/de-DE.ts | 1 + quartz/i18n/locales/definition.ts | 1 + quartz/i18n/locales/en-US.ts | 1 + quartz/i18n/locales/es-ES.ts | 1 + quartz/i18n/locales/fr-FR.ts | 1 + quartz/i18n/locales/ja-JP.ts | 1 + quartz/i18n/locales/nl-NL.ts | 1 + quartz/i18n/locales/ro-RO.ts | 1 + quartz/i18n/locales/uk-UA.ts | 1 + quartz/static/icon.png | Bin 17368 -> 952 bytes quartz/static/og-image.png | Bin 39281 -> 2864 bytes 19 files changed, 59 insertions(+), 48 deletions(-) diff --git a/quartz.config.ts b/quartz.config.ts index 8c479ac78..00cec1ae6 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -3,33 +3,33 @@ import * as Plugin from "./quartz/plugins" const config: QuartzConfig = { configuration: { - pageTitle: "🪴 Quartz 4.0", + pageTitle: "📜 docs.jyje.online", enableSPA: true, enablePopovers: true, analytics: { provider: "plausible", }, locale: "en-US", - baseUrl: "quartz.jzhao.xyz", + baseUrl: "docs.jyje.online", ignorePatterns: ["private", "templates", ".obsidian"], defaultDateType: "created", theme: { cdnCaching: true, typography: { - header: "Schibsted Grotesk", - body: "Source Sans Pro", - code: "IBM Plex Mono", + header: "Noto Sans KR", // Schibsted Grotesk + body: "Noto Sans KR", // Source Sans Pro + code: "Noto Sans Mono", // IBM Plex Mono }, colors: { lightMode: { - light: "#faf8f8", + light: "#ffffff", lightgray: "#e5e5e5", gray: "#b8b8b8", darkgray: "#4e4e4e", dark: "#2b2b2b", - secondary: "#284b63", - tertiary: "#84a59d", - highlight: "rgba(143, 159, 169, 0.15)", + secondary: "#680c2c", + tertiary: "#da185c", + highlight: "rgba(104, 12, 44, 0.15)", }, darkMode: { light: "#161618", @@ -37,9 +37,9 @@ const config: QuartzConfig = { gray: "#646464", darkgray: "#d4d4d4", dark: "#ebebec", - secondary: "#7b97aa", - tertiary: "#84a59d", - highlight: "rgba(143, 159, 169, 0.15)", + secondary: "#f2bac2", + tertiary: "#da185c", + highlight: "rgba(180, 20, 76, 0.15)", }, }, }, diff --git a/quartz.layout.ts b/quartz.layout.ts index b5a1639eb..99bbfa92f 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -7,8 +7,11 @@ export const sharedPageComponents: SharedLayout = { header: [], footer: Component.Footer({ links: { - GitHub: "https://github.com/jackyzha0/quartz", - "Discord Community": "https://discord.gg/cRFFHYye7t", + Repository: "https://github.com/jyje/docs", + License: "https://github.com/jyje/docs/blob/main/LICENSE.txt", + Bio: "https://jyje.online", + LinkedIn: "https://www.linkedin.com/in/jyje", + GitHub: "https://github.com/jyje", }, }), } diff --git a/quartz/components/Footer.tsx b/quartz/components/Footer.tsx index 076c37874..99c1781a2 100644 --- a/quartz/components/Footer.tsx +++ b/quartz/components/Footer.tsx @@ -9,14 +9,30 @@ interface Options { export default ((opts?: Options) => { const Footer: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => { + const beginYear = 2022 const year = new Date().getFullYear() const links = opts?.links ?? [] return (