mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01:00
fix banner paths
This commit is contained in:
1 parent
cf31ad8f7a
commit
028f4230e5
2 files changed
+3
-3
No files matched your search
@@ -33,7 +33,7 @@ const strings = await api.strings(locale);
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100% - var(--space-5) / 2);
|
height: calc(100% - var(--space-5) / 2);
|
||||||
|
|
||||||
background-image: url(/assets/home-hero.webp);
|
background-image: url(/media/home-hero.webp);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: top;
|
background-position: top;
|
||||||
|
|
||||||
|
|||||||
@@ -74,14 +74,14 @@ const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
|||||||
<div
|
<div
|
||||||
class="tool-banner"
|
class="tool-banner"
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: `url(/assets/tools/${tool.id}.webp)`,
|
backgroundImage: `url(/media/tools/banners/${tool.id}.webp)`,
|
||||||
backgroundPosition: tool.banner_background_position ?? "top",
|
backgroundPosition: tool.banner_background_position ?? "top",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div
|
<div
|
||||||
class="pattern"
|
class="pattern"
|
||||||
style={{ backgroundImage: `url(/assets/patterns/${tool.id}.svg)` }}
|
style={{ backgroundImage: `url(/media/patterns/${tool.id}.svg)` }}
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user