Use icons from mapcomplete-data repository

This commit is contained in:
Pieter Vander Vennet 2023-02-08 02:08:17 +01:00
parent 37a6a59506
commit 071e5bf03a

View file

@ -32,9 +32,7 @@
<div class="flex link-underline items-center my-4"> <div class="flex link-underline items-center my-4">
<img <img
class="w-8 h-8 m-2" class="w-8 h-8 m-2"
src={"https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/img/" + src={`https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/community_index/${resource.type}.svg`}
resource.type +
".svg"}
/> />
<div class="flex flex-col"> <div class="flex flex-col">
<a href={resource.resolved.url} target="_blank" rel="noreferrer nofollow" class="font-bold"> <a href={resource.resolved.url} target="_blank" rel="noreferrer nofollow" class="font-bold">