Fix paths
This commit is contained in:
parent
64651b4993
commit
b045d42af0
2 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { Collapse, Nav, NavItem, Navbar, NavbarBrand } from '@sveltestrap/sveltestrap';
|
||||
import { base } from '$app/paths';
|
||||
|
||||
import { locale, locales } from 'svelte-i18n';
|
||||
|
||||
|
@ -40,8 +41,8 @@
|
|||
|
||||
<Navbar expand="md">
|
||||
<NavbarBrand>
|
||||
<img src="/assets/logo-dark.svg" alt="OrangeClock" class="darkModeLogo" />
|
||||
<img src="/assets/logo.svg" alt="OrangeClock" class="lightModeLogo" />
|
||||
<img src="{base}/assets/logo-dark.svg" alt="OrangeClock" class="darkModeLogo" />
|
||||
<img src="{base}/assets/logo.svg" alt="OrangeClock" class="lightModeLogo" />
|
||||
</NavbarBrand>
|
||||
<Collapse navbar expand="md">
|
||||
<Nav class="me-auto" navbar>
|
||||
|
|
|
@ -68,10 +68,10 @@
|
|||
<CardTitle>Wemos S2/S3 mini</CardTitle>
|
||||
</CardHeader>
|
||||
<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>
|
||||
</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>
|
||||
</esp-web-install-button>
|
||||
</CardBody>
|
||||
|
@ -83,7 +83,7 @@
|
|||
<CardTitle>OrangeClock PCB</CardTitle>
|
||||
</CardHeader>
|
||||
<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>
|
||||
</esp-web-install-button>
|
||||
</CardBody>
|
||||
|
|
Loading…
Reference in a new issue