diff --git a/docs/faq.mdx b/docs/faq.mdx index 406b427..b065eb5 100644 --- a/docs/faq.mdx +++ b/docs/faq.mdx @@ -4,7 +4,17 @@ sidebar_position: 1 # Frequently Asked Question -## How to Download Trail GPX +## How to Download GPX from Garmin Connect + +1) Click trail name at the top left corner of trail map preview. + +![Garmin Connect embedded course](/img/garmin-connect-embedded-course.png) + +2) On course detail click on three dots to show context menu and then click "Download GPX file". + +![Garmin Connect course detail](/img/garmin-connect-course-detail.png) + +## How to Download GPX from Mapy.cz 1) Click "Show on map" button at the bottom left corner of trail map preview. diff --git a/docs/trails/prague/barre.mdx b/docs/trails/prague/barre.mdx index db56f0e..2be7c95 100644 --- a/docs/trails/prague/barre.mdx +++ b/docs/trails/prague/barre.mdx @@ -15,6 +15,12 @@ title: "Barre" ## Map +### Garmin Connect + + + +### Mapy.cz +
diff --git a/docs/trails/prague/hokun.mdx b/docs/trails/prague/hokun.mdx index 1f2d29d..2377a12 100644 --- a/docs/trails/prague/hokun.mdx +++ b/docs/trails/prague/hokun.mdx @@ -15,6 +15,12 @@ title: "Hokun" ## Map +### Garmin Connect + + + +### Mapy.cz + ## Transportation diff --git a/docs/trails/prague/kokomo.mdx b/docs/trails/prague/kokomo.mdx index cc7686f..eff7d68 100644 --- a/docs/trails/prague/kokomo.mdx +++ b/docs/trails/prague/kokomo.mdx @@ -15,6 +15,12 @@ title: "Kokomo" ## Map +### Garmin Connect + + + +### Mapy.cz + ## Transportation diff --git a/docs/trails/prague/laadchee.mdx b/docs/trails/prague/laadchee.mdx index 13fd486..f04bf6d 100644 --- a/docs/trails/prague/laadchee.mdx +++ b/docs/trails/prague/laadchee.mdx @@ -15,6 +15,12 @@ title: "Laadchee" ## Map +### Garmin Connect + + + +### Mapy.cz + ## Transportation diff --git a/docs/trails/prague/rockyt.mdx b/docs/trails/prague/rockyt.mdx index 7f280ce..c83591e 100644 --- a/docs/trails/prague/rockyt.mdx +++ b/docs/trails/prague/rockyt.mdx @@ -15,6 +15,12 @@ title: "Rockyt" ## Map +### Garmin Connect + + + +### Mapy.cz + ## Transportation diff --git a/docs/trails/prague/semmering.mdx b/docs/trails/prague/semmering.mdx index 1a055b4..74e8317 100644 --- a/docs/trails/prague/semmering.mdx +++ b/docs/trails/prague/semmering.mdx @@ -15,6 +15,12 @@ title: "Semmering" ## Map +### Garmin Connect + + + +### Mapy.cz + ## Transportation diff --git a/docs/trails/prague/shark-a.mdx b/docs/trails/prague/shark-a.mdx index 2d2f57c..40a1be5 100644 --- a/docs/trails/prague/shark-a.mdx +++ b/docs/trails/prague/shark-a.mdx @@ -15,6 +15,12 @@ title: "Shark-A" ## Map +### Garmin Connect + + + +### Mapy.cz + ## Transportation diff --git a/docs/trails/prague/shuss.mdx b/docs/trails/prague/shuss.mdx index ff58a0f..3606d3c 100644 --- a/docs/trails/prague/shuss.mdx +++ b/docs/trails/prague/shuss.mdx @@ -15,6 +15,12 @@ title: "Shuss" ## Map +### Garmin Connect + + + +### Mapy.cz + ## Transportation diff --git a/src/components/GarminEmbeddedCourse/index.tsx b/src/components/GarminEmbeddedCourse/index.tsx new file mode 100644 index 0000000..7f6fd6e --- /dev/null +++ b/src/components/GarminEmbeddedCourse/index.tsx @@ -0,0 +1,19 @@ +import React, {type ReactNode} from 'react'; + +export interface Props { + id: string; +} + +export default function GarminEmbeddedCourse({ + id, +}: Props): JSX.Element { + const url = `https://connect.garmin.com/modern/course/embed/${id}`; + return ( +
+