Fix paths

This commit is contained in:
Djuri Baars 2024-03-30 15:47:55 +01:00
parent 64651b4993
commit b045d42af0
2 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,6 @@
<script lang="ts"> <script lang="ts">
import { Collapse, Nav, NavItem, Navbar, NavbarBrand } from '@sveltestrap/sveltestrap'; import { Collapse, Nav, NavItem, Navbar, NavbarBrand } from '@sveltestrap/sveltestrap';
import { base } from '$app/paths';
import { locale, locales } from 'svelte-i18n'; import { locale, locales } from 'svelte-i18n';
@ -40,8 +41,8 @@
<Navbar expand="md"> <Navbar expand="md">
<NavbarBrand> <NavbarBrand>
<img src="/assets/logo-dark.svg" alt="OrangeClock" class="darkModeLogo" /> <img src="{base}/assets/logo-dark.svg" alt="OrangeClock" class="darkModeLogo" />
<img src="/assets/logo.svg" alt="OrangeClock" class="lightModeLogo" /> <img src="{base}/assets/logo.svg" alt="OrangeClock" class="lightModeLogo" />
</NavbarBrand> </NavbarBrand>
<Collapse navbar expand="md"> <Collapse navbar expand="md">
<Nav class="me-auto" navbar> <Nav class="me-auto" navbar>

View file

@ -68,10 +68,10 @@
<CardTitle>Wemos S2/S3 mini</CardTitle> <CardTitle>Wemos S2/S3 mini</CardTitle>
</CardHeader> </CardHeader>
<CardBody> <CardBody>
<esp-web-install-button manifest="/manifests/epd2_13.json"> <esp-web-install-button manifest="{base}/manifests/epd2_13.json">
<span slot="activate"><Button color="primary">2.13 inch</Button></span> <span slot="activate"><Button color="primary">2.13 inch</Button></span>
</esp-web-install-button> </esp-web-install-button>
<esp-web-install-button manifest="/manifests/epd2_9.json"> <esp-web-install-button manifest="{base}/manifests/epd2_9.json">
<span slot="activate"><Button color="secondary">2.9 inch</Button></span> <span slot="activate"><Button color="secondary">2.9 inch</Button></span>
</esp-web-install-button> </esp-web-install-button>
</CardBody> </CardBody>
@ -83,7 +83,7 @@
<CardTitle>OrangeClock PCB</CardTitle> <CardTitle>OrangeClock PCB</CardTitle>
</CardHeader> </CardHeader>
<CardBody> <CardBody>
<esp-web-install-button manifest="/manifests/oc_pcb.json"> <esp-web-install-button manifest="{base}/manifests/oc_pcb.json">
<span slot="activate"><Button color="secondary">2.9 inch</Button></span> <span slot="activate"><Button color="secondary">2.9 inch</Button></span>
</esp-web-install-button> </esp-web-install-button>
</CardBody> </CardBody>