refactor: Zen Logo now redirects to Home Page

This commit is contained in:
Jafeth Garro 2024-08-20 23:15:59 -06:00
parent 6d84f0333a
commit 14414ef4ee

View file

@ -9,9 +9,11 @@ const PageTitle: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzCompo
const iconPath = joinSegments(baseDir, "static/icon.png")
return (
<h2 class={classNames(displayClass, "page-title")}>
<img src={iconPath} alt="Zen Browser Logo" width="70px" />
<br/>
<a href={baseDir}>{title}</a>
<a href={baseDir}>
<img src={iconPath} alt="Zen Browser Logo" width="70px" />
<br />
{title}
</a>
</h2>
)
}