fix: `siteConfig.banner.position` not working
This commit is contained in:
parent
2eff25dc12
commit
b0337a997e
|
@ -111,6 +111,8 @@ const siteLang = siteConfig.lang.replace('_', '-')
|
||||||
<div id="banner-wrapper" class="absolute w-full">
|
<div id="banner-wrapper" class="absolute w-full">
|
||||||
<ImageWrapper id="boxtest" alt="Banner image of the blog" class:list={["object-center object-cover h-full", {"hidden": !siteConfig.banner.enable}]}
|
<ImageWrapper id="boxtest" alt="Banner image of the blog" class:list={["object-center object-cover h-full", {"hidden": !siteConfig.banner.enable}]}
|
||||||
src={siteConfig.banner.src}
|
src={siteConfig.banner.src}
|
||||||
|
<ImageWrapper id="boxtest" alt="Banner image of the blog" class:list={["object-cover h-full", {"hidden": !siteConfig.banner.enable}]}
|
||||||
|
src={siteConfig.banner.src} position={siteConfig.banner.position}
|
||||||
>
|
>
|
||||||
</ImageWrapper>
|
</ImageWrapper>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue