fix banner paths

This commit is contained in:
tresabhi committed 2026-06-13 20:02:27 -05:00
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>