mirror of
https://github.com/zen-browser/docs.git
synced 2025-07-07 17:05:34 +02:00
refactor: Updated Favicon and Title Logo to Blue version, moved to SVG instead of PNG
This commit is contained in:
parent
e727884948
commit
458c24c20d
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue