refactor: Updated Favicon and Title Logo to Blue version, moved to SVG instead of PNG

This commit is contained in:
Jafeth Garro 2024-08-23 15:13:17 -06:00
parent e727884948
commit 458c24c20d
2 changed files with 3 additions and 3 deletions

View file

@ -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 (
<head>

View file

@ -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 (
<h2 class={classNames(displayClass, "page-title")}>
<a href={baseDir}>