Skip to content

Commit

Permalink
Merge pull request #396 from jovandeginste/rs-res
Browse files Browse the repository at this point in the history
Add resources for route segments
  • Loading branch information
jovandeginste authored Jan 12, 2025
2 parents 645015d + 4831b85 commit f0c903e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
2 changes: 2 additions & 0 deletions translations/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,5 @@ en:
Total weight: Total weight
kayaking: kayaking
Filter workouts: Filter workouts
Resources: Resources
"You can find inspiration here:": "You can find inspiration here:"
11 changes: 11 additions & 0 deletions views/route_segments/add.templ
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ templ Add() {
</form>
</div>
</div>
<div>
<div class="inner-form">
<h3>{ i18n.T(ctx, "Resources") }</h3>
<div>{ i18n.T(ctx, "You can find inspiration here:") }</div>
<ul>
<li><a href="https://runnermaps.nl/">RunnerMaps</a></li>
<li><a href="https://www.plotaroute.com/">plotaroute.com - Free Route Planner for Outdoor Pursuits</a></li>
<li><a href="https://www.komoot.com">Komoot | Find, plan and share your adventures</a></li>
</ul>
</div>
</div>
</div>
}
}
28 changes: 27 additions & 1 deletion views/route_segments/add_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f0c903e

Please sign in to comment.