From 458c24c20d17060f08e04e17a1a195e5fcc8fb6f Mon Sep 17 00:00:00 2001 From: Jafeth Garro <45522320+IAmJafeth@users.noreply.github.com> Date: Fri, 23 Aug 2024 15:13:17 -0600 Subject: [PATCH] refactor: Updated Favicon and Title Logo to Blue version, moved to SVG instead of PNG --- quartz/components/Head.tsx | 4 ++-- quartz/components/PageTitle.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/quartz/components/Head.tsx b/quartz/components/Head.tsx index 46ba5e0..fdf6407 100644 --- a/quartz/components/Head.tsx +++ b/quartz/components/Head.tsx @@ -15,8 +15,8 @@ export default (() => { const path = url.pathname as FullSlug const baseDir = fileData.slug === "404" ? path : pathToRoot(fileData.slug!) - const iconPath = joinSegments(baseDir, "static/icon.png") - const ogImagePath = `https://${cfg.baseUrl}/static/og-image.png` + const iconPath = joinSegments(baseDir, "static/icon.svg") + const ogImagePath = `https://${cfg.baseUrl}/static/og-image.svg` return (
diff --git a/quartz/components/PageTitle.tsx b/quartz/components/PageTitle.tsx index 65b58e2..8ac3caa 100644 --- a/quartz/components/PageTitle.tsx +++ b/quartz/components/PageTitle.tsx @@ -6,7 +6,7 @@ import { i18n } from "../i18n" const PageTitle: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzComponentProps) => { const title = cfg?.pageTitle ?? i18n(cfg.locale).propertyDefaults.title const baseDir = pathToRoot(fileData.slug!) - const iconPath = joinSegments(baseDir, "static/icon.png") + const iconPath = joinSegments(baseDir, "static/icon.svg") return (