changed pageimage to be desktop only

This commit is contained in:
Heli-o 2024-04-06 00:47:01 +02:00
parent a85e00bbd5
commit 0ee647ebae
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ export const defaultContentPageLayout: PageLayout = {
Component.TagList(),
],
left: [
Component.PageImage(),
Component.DesktopOnly(Component.PageImage()),
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),

View file

@ -7,7 +7,7 @@ const PageImage: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzCompo
const title = cfg?.pageTitle ?? i18n(cfg.locale).propertyDefaults.title
const baseDir = pathToRoot(fileData.slug!)
return (
<a href={baseDir}><img src="https://f003.backblazeb2.com/file/nexie-net/profileimage.webp" style="width:100px; height:100px"/></a>
<a href={baseDir}><img width="100px" height="100px" src="https://assets.nexie.net/profileimage.webp" style="width:100px; height:100px"/></a>
)
}