mirror of
https://github.com/zen-browser/docs.git
synced 2025-07-08 09:20:01 +02:00
refactor: Zen Logo now redirects to Home Page
This commit is contained in:
parent
6d84f0333a
commit
14414ef4ee
1 changed files with 5 additions and 3 deletions
|
@ -9,9 +9,11 @@ const PageTitle: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzCompo
|
||||||
const iconPath = joinSegments(baseDir, "static/icon.png")
|
const iconPath = joinSegments(baseDir, "static/icon.png")
|
||||||
return (
|
return (
|
||||||
<h2 class={classNames(displayClass, "page-title")}>
|
<h2 class={classNames(displayClass, "page-title")}>
|
||||||
|
<a href={baseDir}>
|
||||||
<img src={iconPath} alt="Zen Browser Logo" width="70px" />
|
<img src={iconPath} alt="Zen Browser Logo" width="70px" />
|
||||||
<br />
|
<br />
|
||||||
<a href={baseDir}>{title}</a>
|
{title}
|
||||||
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue