zenno/doc/lanecalc: lint fixes

This commit is contained in:
2026-06-14 10:45:39 -04:00
parent 4bce196c09
commit b217691c8a
+18 -12
View File
@@ -1,5 +1,5 @@
<script lang="ts"> <script lang="ts">
import { resolve } from '$app/paths'; import { asset, resolve } from '$app/paths';
import Skill from '$lib/Skill.svelte'; import Skill from '$lib/Skill.svelte';
import Sec from '../Sec.svelte'; import Sec from '../Sec.svelte';
import * as skill from '$lib/data/skill'; import * as skill from '$lib/data/skill';
@@ -165,12 +165,12 @@
The top section of lane calc is the course setup section. Set the race location, course at the location, and ground condition The top section of lane calc is the course setup section. Set the race location, course at the location, and ground condition
here. here.
</p> </p>
<a href={courseSetupHoriz}> <a href={asset(courseSetupHoriz)}>
<picture> <picture>
<source srcset={courseSetupHoriz} media="(orientation: landscape)" width="882" height="111" /> <source srcset={asset(courseSetupHoriz)} media="(orientation: landscape)" width="882" height="111" />
<img <img
class="mx-auto" class="mx-auto"
src={courseSetupVert} src={asset(courseSetupVert)}
width="412" width="412"
height="214" height="214"
alt="Lanecalc's course setup section with English labels" alt="Lanecalc's course setup section with English labels"
@@ -188,10 +188,16 @@
<Sec h={2} id="uma">Uma Setup</Sec> <Sec h={2} id="uma">Uma Setup</Sec>
<p>The next section is the setup for the Uma.</p> <p>The next section is the setup for the Uma.</p>
<a href={umaSetupHoriz}> <a href={asset(umaSetupHoriz)}>
<picture> <picture>
<source srcset={umaSetupHoriz} media="(orientation: landscape)" width="878" height="218" /> <source srcset={asset(umaSetupHoriz)} media="(orientation: landscape)" width="878" height="218" />
<img class="mx-auto" src={umaSetupVert} width="412" height="456" alt="Lanecalc's Uma setup section with English labels" /> <img
class="mx-auto"
src={asset(umaSetupVert)}
width="412"
height="456"
alt="Lanecalc's Uma setup section with English labels"
/>
</picture> </picture>
</a> </a>
<div class="mb-4 grid grid-cols-1 text-center text-xl md:grid-cols-3"> <div class="mb-4 grid grid-cols-1 text-center text-xl md:grid-cols-3">
@@ -220,9 +226,9 @@
<Sec h={2} id="chart">Results Chart</Sec> <Sec h={2} id="chart">Results Chart</Sec>
<p>Once the course and Uma are configured, click the green 計算 button. After a moment, the results appear.</p> <p>Once the course and Uma are configured, click the green 計算 button. After a moment, the results appear.</p>
<a href={resultsChart}> <a href={asset(resultsChart)}>
<picture> <picture>
<img class="mx-auto" src={resultsChart} width="800" height="600" alt="Lanecalc results chart" /> <img class="mx-auto" src={asset(resultsChart)} width="800" height="600" alt="Lanecalc results chart" />
</picture> </picture>
</a> </a>
<p class="mt-4"> <p class="mt-4">
@@ -260,10 +266,10 @@
skill={skills.ignitedWIT} skill={skills.ignitedWIT}
/>. />.
</p> </p>
<a href={resultsHoriz}> <a href={asset(resultsHoriz)}>
<picture> <picture>
<source srcset={resultsHoriz} media="(orientation: landscape)" width="700" height="176" /> <source srcset={asset(resultsHoriz)} media="(orientation: landscape)" width="700" height="176" />
<img class="mx-auto" src={resultsVert} width="380" height="703" alt="Lanecalc results summary" /> <img class="mx-auto" src={asset(resultsVert)} width="380" height="703" alt="Lanecalc results summary" />
</picture> </picture>
</a> </a>
<div class="mb-4 grid grid-cols-1 text-center text-xl md:grid-cols-3"> <div class="mb-4 grid grid-cols-1 text-center text-xl md:grid-cols-3">