New translations files-and-stats.mdx (French)

[ci skip]
This commit is contained in:
vcoppe committed 2026-10-31 18:47:01 +01:00
1 parent 1cdfb3c1c4
commit 532bc08d38
1 file changed
+7 -7
+7 -7
View File
@@ -7,11 +7,11 @@ title: Fichiers et statistiques
import DocsNote from '$lib/components/docs/DocsNote.svelte'; import DocsNote from '$lib/components/docs/DocsNote.svelte';
import ElevationProfile from '$lib/components/elevation-profile/ElevationProfile.svelte'; import ElevationProfile from '$lib/components/elevation-profile/ElevationProfile.svelte';
import GPXStatistics from '$lib/components/GPXStatistics.svelte'; import GPXStatistics from '$lib/components/GPXStatistics.svelte';
import { exampleStatistics } from '$lib/data/example'; import { exampleGPXFile } from '$lib/assets/example';
import { writable } from 'svelte/store'; import { writable } from 'svelte/store';
let statistics = writable(exampleStatistics); let gpxStatistics = writable(exampleGPXFile.getStatistics());
let slicedStatistics = writable(undefined); let slicedGPXStatistics = writable(undefined);
let hoveredPoint = writable(null); let hoveredPoint = writable(null);
let additionalDatasets = writable(['speed', 'atemp']); let additionalDatasets = writable(['speed', 'atemp']);
let elevationFill = writable(undefined); let elevationFill = writable(undefined);
@@ -83,8 +83,8 @@ Vous pouvez également utiliser la molette de la souris pour zoomer ou dézoomer
<div class="h-48 w-full"> <div class="h-48 w-full">
<ElevationProfile <ElevationProfile
{statistics} {gpxStatistics}
{slicedStatistics} {slicedGPXStatistics}
{hoveredPoint} {hoveredPoint}
{additionalDatasets} {additionalDatasets}
{elevationFill} {elevationFill}
@@ -92,8 +92,8 @@ Vous pouvez également utiliser la molette de la souris pour zoomer ou dézoomer
</div> </div>
<div class="flex flex-col items-center w-full"> <div class="flex flex-col items-center w-full">
<GPXStatistics <GPXStatistics
{statistics} {gpxStatistics}
{slicedStatistics} {slicedGPXStatistics}
orientation={'horizontal'} orientation={'horizontal'}
/> />
</div> </div>