feat(hikes): inline cantonal Wappen next to region label
26 public-domain coats of arms fetched once from Wikimedia Commons via scripts/download-cantons.ts and committed under static/cantons/. $lib/data/cantons.ts maps Swisstopo's free-form name (German default, French/Italian alternates for Romandie / Ticino) to the ISO code + emblem URL. Card shows an 18×22 emblem, detail page a 24×30 one — both with a drop-shadow so they read against the dark hero gradient. Unknown canton names fall back to plain text without the emblem. The downloaded SVGs are written verbatim — earlier draft prepended a provenance HTML comment but that breaks the leading `<?xml … ?>` and browsers refuse to render the image. Provenance lives in the script's CANTONS table instead.
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="2298" width="1900" version="1.1" xmlns:cc="http://creativecommons.org/ns#">
|
||||
<title>Wappen Schaffhausen</title>
|
||||
<path d="m949.4 7.069h939.6v1381c0 497-420 899-939 899-518.7 0-939.1-402-939.1-899l-0.02-1381 938.5 0.069z" fill="#ffd72e"/>
|
||||
<path d="m949.4 7.069h939.6v1381c0 497-420 899-939 899-518.7 0-939.1-402-939.1-899l-0.02-1381 938.5 0.069z" stroke="#000" stroke-width="14.14" fill="none"/>
|
||||
<path d="m166.5 747.7s60.5 14.3 93.1 2.5c19.4-7 21.1-43.5 15.7-42-14.6 4.3-91.4-8-117.7-14.8-7.5-1.9 8.9 54.3 8.9 54.3z" stroke="#000" stroke-miterlimit="10" stroke-width="12.43" fill="none"/>
|
||||
<path d="m294 742.6s-141.5-3.1-150.5-6.7c-9.1-3.6 16.9 60.1 53.2 75.1 20.9 8.6 58.5-36 100.2-39.4 10.3-0.8-2.9-29-2.9-29" fill="#ffd72e"/>
|
||||
<path d="m253.4 698.5c-2.4 2.5-4.1 35-4.1 35l31.8 45.3s25.5-8.5 24.7-3c3.1 15.2-12.9 27 10 33 22.8 6.1 22.7-32 90.6-29.6 67.8 2.5 90.5 10 107.9 35.7 22 32.5 36.2 126 41.8 139.5 4.2 10.1 16.1 40.9 33.7 48.6 18.4 7 41.4-27.7 41.4-28.7 0-7.8-7.9-16.4-7.9-23.2 0-6.9 9.8-25.1 17.1-36.8 9.5-15.3-29.6-103.7-32.2-113.8-0.3-17.4-7-33.8-7-33.8s-11.3-20.8-16.6-26.1c-5.4-5.2-6.4-11.2-12.8-13.2-4.7-1.6-61.8-12.4-100.8-13-11.3-0.2-94.5-14.5-103.8-8.1-32.1-10.1-81.7-44-113.8-7.8"/>
|
||||
<path d="m1003 1482c1 6 19 140 19 144s-28.3 44-66.3 41c-24.8-3-38.7-50-33-98 5.6-48 68.4-90 80.3-87z" stroke="#000" stroke-width="13.99" fill="none"/>
|
||||
<path d="m1108 1618c-27-43-83-129-83-129s-52.7 10-48.6 98c4.2 88 106.6 81 131.6 31" fill="#ffd72e"/>
|
||||
<g stroke="#000" fill="none">
|
||||
<path d="m1108 1618c-27-43-83-129-83-129s-52.7 10-48.6 98c4.2 88 106.6 81 131.6 31z" stroke-width="13.99"/>
|
||||
<path d="m294 742.6s-141.5-3.1-150.5-6.7c-9.1-3.6 16.9 60.1 53.2 75.1 20.9 8.6 58.5-36 100.2-39.4 10.3-0.8-2.9-29-2.9-29z" stroke-miterlimit="10" stroke-width="12.43"/>
|
||||
<path d="m225.9 1104-33.3 100s-84.5 1-76.4-5c8-7 51.9-77 60.6-80s49.1-15 49.1-15z" stroke-miterlimit="10" stroke-width="13.99"/>
|
||||
</g>
|
||||
<path d="m222.5 1096s58.3 9 54.7 8 3.1 83 0.7 87c-2.3 5-71.3 54-112 38-6-2 56.6-133 56.6-133" fill="#ffd72e"/>
|
||||
<path d="m222.5 1096s58.3 9 54.7 8 3.1 83 0.7 87c-2.3 5-71.3 54-112 38-6-2 56.6-133 56.6-133z" stroke="#000" stroke-miterlimit="10" stroke-width="13.99" fill="none"/>
|
||||
<path d="m454.5 1900s41.7-3 48.9 7-60.1 73-60.1 73-69.2 5-73.3-2 84.5-78 84.5-78z" stroke="#000" stroke-width="13.99" fill="none"/>
|
||||
<path d="m508.2 1888 30.4 11s7.9 83-2.6 95c-10.7 13-72.2 40-124.6 17-12.3-6 96.8-123 96.8-123" fill="#ffd72e"/>
|
||||
<path d="m508.2 1888 30.4 11s7.9 83-2.6 95c-10.7 13-72.2 40-124.6 17-12.3-6 96.8-123 96.8-123zm989.8-10c14-10 29-22 53-23l-4 114s-72 34-74 29 14-110 25-120z" stroke="#000" stroke-width="13.99" fill="none"/>
|
||||
<path d="m1550 1824s-39 173-35 179c3 5 99-42 104-76 4-33-26-110-26-110l-43 7z" fill="#ffd72e"/>
|
||||
<path d="m1550 1824s-39 173-35 179c3 5 99-42 104-76 4-33-26-110-26-110l-43 7z" stroke="#000" stroke-width="13.99" fill="none"/>
|
||||
<path d="m1037 1460c-11 14-28 21-30 17 6-38-10.6-85-40.2-122 35.2 5 83.2 90 70.2 105m-471.4-324c4.9 7-6.2 30 7.1 49 9.8 14 34.8 8 41.1 17 10.6 14 36.9 86 104.6 30 17 38 257.1 113 237 107-94.6-23-88.1 9-106.6 2-18.5-8-66.7-35-82.2 22-39-10-57.2-7-83.9 45-5.4 3-70.6 15-53.8 84-40 23-29.5 58 6.5 97-4.7 38-14.7 68 51.2 76 3.8 6 11.5 33 67.2 30 10.5 18-1.8 26-1.8 26s-150.6 108-216.6 111c-26.7 2-25.4 4-32.3 10s-25.7 51-25.7 51-7.5 12 3.1 17c10.4 6 36.9 16 55.3 17 5.6 1 13.6-2 16.9-14 3.4-13 28.7-23 32.3 14 0.4 4 22.4-1 24.3-4 16.2-26 28.8-65 99.5-94 58.3-23 166-61 174.3-66 8.2-6 12.3-38 5-49-7.4-10-26.2-35-26.2-35s68.3-24 74.2-26c-50.6-78 20.3-179 89.9-163-2 2-21 23 15 48-25 52 40 64 40 64s2 34 9 39 7 6 61 2c16-1 46 57 102 0 12 30 80 43 92-1 67 36 91-34 86-46 9 0 9-1 12-8 32 17 37 50 52 93 16 49 33 104 33 104s3 23-1 26c-10 6-19 31-10 57 61 31 92 4 92-1 1-5 4-21 9-25s29-15 29-21c-1-6-8-15-18-26-11-5-18-20-27-25-16-9-68-177-74-202-5-25 16-89-19-96-31-6-44 29-64 11-5-6 13-11-2-34-3-4-15-18-38-13 8-49-51-54-51-54s9-24-28-82c97 7 87-28 103-32 8-2 78 21 86-30 10 0 60 7 71-46 53 12 62-48 62-48s71-13 37-67c27-22 30-63-22-69 2-57.5-43-61.3-72-31.2-2-4.6-48-38.2-77 33.2-63-9-55 50-55 50s-51-13-47 62c-23 3-20 20-20 20s10 104-79 122c-33-55-130-83-197-119-45-23-75-50-70-59 28-53 17-65 17-65s48-22.9 40-54.1c47-14.5 33-52.6 42-62.9 8-10.3 49-5.3 30-59.9-4-9.3-55-27.1-74-54.3-4 0-7 0.5-7 0.5s-2-38.2-18-39.5-39 26.8-58 25.9c-10-0.4-39.6-1.7-47.6-3-8.1-1.2-37.3 22.7-37.3 22.7s-65-15.2-83.5 21.8c-47.7-22.6-71.5 18.5-71.5 18.5s-60.7-18.9-71.2 53c-69.1 12.1-64.9 47.7-63.4 63.6 1.4 16 8.6 16.2 3.4 32.5-24.9 6.5-49.6 36.2-49.6 36.2s-8.9 4-38.3-20c-35-27.9-51.6-41.3-59.7-50.5-8.2-9.2-30.3-14.3-64.5 0.9-14.8 6.5-12.8 12.6-54.2 39.1-49.1 31.5-102.7 69.5-136.5 64.5-20.5-3-58.5 29-58.9 56-0.3 26 98.2 23 99.3 12 1.2-11 8.8-16 8.8-16s23.8 48 52.6 12 52.4-55 52.4-55 37.6-42 73.8-26 61.4 63 93.5 97"/>
|
||||
<path d="m815.3 300.2c-15.9-161.7 369.7-165.2 268.7 183.2" stroke="#000" stroke-width="13.8" fill="none"/>
|
||||
<path d="m1145 616.5c10 7.9 72-130.1 84-142.9 12-12.7 19-30.4 19-50.1 0-31.2-18-57.8-43-67.6 9-14.2 14-31.4 14-50.1 1-48.9-34-88.9-78-89.3-2-0.1-4 0.1-6 0.3 16-20.4 20-48.4 7-70.7-16-29.1-54-37.3-84-18.4-2 1.1-4 2.4-5 3.6-1-8.9-4-17.5-9-25.1-17-27.26-54.8-32.45-83.7-11.75-3.3 2.3-6.2 4.86-8.9 7.55-18-25.25-54.3-29.77-82.5-9.59-8.2 5.79-14.7 13.09-19.5 21.19-17.6-9.6-38.8-9.4-55.6 2.6-23.1 16.5-29.6 49.3-16.4 76.2-14.5-0.9-28.7 4-39.1 15-20.9 21.7-19.2 59 3.6 83.4 1.4 1.4 2.9 2.8 4.3 4.1-0.8 0.8-1.6 1.5-2.4 2.3-19.8 20.7-19.7 54.8 0.3 76.1 14.6 15.5 35.6 19.9 53.6 13.2-6.5 18.6-3.4 39.6 9.8 53.7 18.8 19.9 50.6 18.8 71.1-2.7 3.6-3.8 6.6-8 9.1-12.5 17.2 21.7 46.6 25.8 66.2 9.2 18.1-15.4 21.4-43.1 9-64.9 52.1-42.2-20.6-112.6-64.3-69.6 22.1 10.3 25.1 36.6 6.2 45.9-9 4.3-19.1 7.2-27.2 4.5-34.3-11.2-29.6-57.8-25.8-70.1 15-48.9 86.4-58.5 133.2-38.8 24 10 122 49 42 264.6" stroke="#000" stroke-width="14" fill="none"/>
|
||||
<path d="m1650 765.4c23-15 37-42.6 33-72-3-25.9-19-46.7-40-57.2 6-12.2 8-25.9 7-40.2-5-39-39-66.7-79-64 4-8.2 6-17.1 5-26.4-4-29.2-33-49.4-65-45.2-17 2.2-32 11-41 23.2-11-32-44-52.8-79-48.1-23 2.9-42 15.5-54 33-17-11.4-40-17-64-13.8-48 6.3-82 42.4-77 80.8 1 12.3 6 23.4 14 32.4l-71 48.5 66 94.7s95-73.4 176-69.4c91 4.4 136 45.8 132 121.7-4 66.1-72 65.6-85 32.9-14-32.6 16-49.2 16-49.2-41-40.5-82-7.9-88 19.2-14-3.4-28-0.8-39 8.7-20 16.7-22 48.4-5 70.8 4 4.2 7 7.9 11 10.8-11 18.3-10 44.3 5 63.7 18 23.7 49 28.9 70 11.6 0-0.4 1-0.9 1-1.3 2 4.7 5 9.2 8 13.4 18 23.7 50 28 72 9.6 8-7.2 14-17 16-27.5 2 1.4 3 2.9 4 4.3 25 24.3 64 22.5 87-3.9 16-17.9 21-42.5 14-64.2 4 0 7-0.1 10-0.5 37-4.9 64-33.1 60-63.1-2-13.6-9-25.2-20-33.3" fill="#ffd72e"/>
|
||||
<path d="m1650 765.4c23-15 37-42.6 33-72-3-25.9-19-46.7-40-57.2 6-12.2 8-25.9 7-40.2-5-39-39-66.7-79-64 4-8.2 6-17.1 5-26.4-4-29.2-33-49.4-65-45.2-17 2.2-32 11-41 23.2-11-32-44-52.8-79-48.1-23 2.9-42 15.5-54 33-17-11.4-40-17-64-13.8-48 6.3-82 42.4-77 80.8 1 12.3 6 23.4 14 32.4l-71 48.5 66 94.7s95-73.4 176-69.4c91 4.4 136 45.8 132 121.7-4 66.1-72 65.6-85 32.9-14-32.6 16-49.2 16-49.2-41-40.5-82-7.9-88 19.2-14-3.4-28-0.8-39 8.7-20 16.7-22 48.4-5 70.8 4 4.2 7 7.9 11 10.8-11 18.3-10 44.3 5 63.7 18 23.7 49 28.9 70 11.6 0-0.4 1-0.9 1-1.3 2 4.7 5 9.2 8 13.4 18 23.7 50 28 72 9.6 8-7.2 14-17 16-27.5 2 1.4 3 2.9 4 4.3 25 24.3 64 22.5 87-3.9 16-17.9 21-42.5 14-64.2 4 0 7-0.1 10-0.5 37-4.9 64-33.1 60-63.1-2-13.6-9-25.2-20-33.3zm-251 40.3c44 104.1 211 27.3 131-126.5-52-100.2-214-95.1-287-25.6" stroke="#000" stroke-width="14.06" fill="none"/>
|
||||
<g fill="#ffd72e">
|
||||
<path d="m1141 605.6c11 13.7 35 10.8 54-6.2 20-17 27-41.9 16-55.6s-36-10.9-55 6.2c-19 17-26 41.9-15 55.6"/>
|
||||
<path d="m1059 523.5c11 14.3 36 12.1 55-5 20-17 26-42.5 15-56.7-11-14.3-36-12.1-56 4.9-19 17.1-25 42.6-14 56.8"/>
|
||||
<path d="m1204 682.9c12 14.2 37 11.7 56-5.7 20-17.4 27-43 16-57.2-12-14.3-37-11.7-56 5.6-20 17.4-27 43.1-16 57.3"/>
|
||||
</g>
|
||||
<path d="m1141 605.6c11 13.7 35 10.8 54-6.2 20-17 27-41.9 16-55.6s-36-10.9-55 6.2c-19 17-26 41.9-15 55.6zm-82-82.1c11 14.3 36 12.1 55-5 20-17 26-42.5 15-56.7-11-14.3-36-12.1-56 4.9-19 17.1-25 42.6-14 56.8zm145 159.4c12 14.2 37 11.7 56-5.7 20-17.4 27-43 16-57.2-12-14.3-37-11.7-56 5.6-20 17.4-27 43.1-16 57.3z" stroke="#000" stroke-width="11.73" fill="none"/>
|
||||
<path d="m1008 498.9c25-52.7 14-108.2 14-108.2s83 39.3 46 151c-4-3.7-39-31.1-60-42.8" fill="#ffd72e"/>
|
||||
<path d="m1209 717.1c55-32.6 134-17.9 134-17.9s-59-89.1-159-22c4 3.4 17 18.8 25 39.9" fill="#ffd72e"/>
|
||||
<path d="m1008 498.9c25-52.7 14-108.2 14-108.2s83 39.3 46 151c-4-3.7-39-31.1-60-42.8z" stroke="#000" stroke-width="14.06" fill="none"/>
|
||||
<path d="m1209 717.1c55-32.6 134-17.9 134-17.9s-59-89.1-159-22c4 3.4 17 18.8 25 39.9z" stroke="#000" stroke-width="13.8" fill="none"/>
|
||||
<g>
|
||||
<path d="m868.3 698c-10.2 8.6-159.1 60.8-196.1 11.8-39.8-52.5 13.1-111.3 20.9-107.1 7.7 4.2 10.2 67.4 49.8 79.1 39.5 11.7 113.4 4.6 113.4 4.6l12 11.6z" fill="#050102"/>
|
||||
<path d="m1051 617.1c19 22.8 58 19.2 89-8s41-67.8 23-90.6-58-19.3-88 7.9c-31 27.3-42 67.9-24 90.7" fill="#ffd72e"/>
|
||||
<path d="m1128 673c15 19.1 50 14.4 78-10.3 29-24.8 39-60.2 24-79.3-15-19-50-14.4-78 10.4-28 24.7-39 60.2-24 79.2" fill="#ffd72e"/>
|
||||
</g>
|
||||
<path d="m1051 617.1c19 22.8 58 19.2 89-8s41-67.8 23-90.6-58-19.3-88 7.9c-31 27.3-42 67.9-24 90.7zm77 55.9c15 19.1 50 14.4 78-10.3 29-24.8 39-60.2 24-79.3-15-19-50-14.4-78 10.4-28 24.7-39 60.2-24 79.2z" stroke="#000" stroke-width="14.06" fill="none"/>
|
||||
<path d="m987.3 523.8c111.7 62.3 177.7 173.7 194.7 213.5 14-6.9 19-17.5 32-23.3-44-93.6-126-183-203-222.9-7 11.7-14.9 21.6-23.7 32.7" fill="#ffd72e"/>
|
||||
<path d="m987.3 523.8c111.7 62.3 177.7 173.7 194.7 213.5 14-6.9 19-17.5 32-23.3-44-93.6-126-183-203-222.9-7 11.7-14.9 21.6-23.7 32.7z" stroke="#000" stroke-width="14.06" fill="none"/>
|
||||
<path d="m1086 576.2c44 42.8 88 102.3 102 148-2 2.7 7-2 3-0.1 17 6.4 20 10.6 38 26.3 9 8.2 17 14.7 22 29.4 3 10.4 3 21 3 31.6 2 35.1-8 68.1-23 77.1-20 12.4-21-13.9-32-32.3-21-36.5-80-60.7-97-90.1-4-7.6-12-44.3-12-44.3s-52 36-83 39.7c-31.7 3.7-47.8-20.7-107-19.3-20.7 18.4-41.4 25.5-58.8 33-18.1 7.9-27.6-23.9-52.4-40.1 9.4-7.4 77.5 5.7 79.5-37.1-10.2 8.6-159.1 60.8-196.1 11.8-39.8-52.5 13.1-111.3 20.9-107.1 7.7 4.2 10.2 67.4 49.8 79.1 39.5 11.7 113.4 4.6 113.4 4.6s-2.5-1.5-4.4-3c-1.4 5.1-98.1-2.7-98.1-2.7s-13.1-25.7-3.9-40.5c3.8-4.7 4.2-4.7 4.2-4.7l9.6-19.8s5.7-7.9 13.9-4.5 25.8 2.8 25.8 2.8 79.7-65 106.1-54.1c2.4-21.2 36.7-73.4 87.2-48.9 3.1-1.9 0.1 2 2.5 3.1 6.8 0.2 47.8 24.4 86.8 62.1"/>
|
||||
<path d="m671.8 654.9c-0.9 4.2-1.3 8.3-1.4 12.2 0 12.2 3.9 23.7 11.8 34.2 28 37.3 141.8 4.2 179-9.2-34.2 10.6-98.7 7.3-123.7 1.3-29.1-6.3-46.7-47.5-50.2-70.2v-0.1c-5.7 7-12.6 18.2-15.5 31.8" fill="#e7423f"/>
|
||||
<g fill="#ffd72e">
|
||||
<path d="m999.8 598.2c-2-1.8-19.6-13.8-27.5-13-2.4-2.3-13.3-8.8-7.4-11.4 3.1-1.4 9-2.1 10.2-2.1 1.3 0 14.4 2.2 17.2 2.3 12.7 1.8 37.7 20.6 32.7 53.7-1 6.7-20-24.8-25.2-29.5"/>
|
||||
<path d="m804.4 633.3 7.7-2.3 6.6 3.5-0.1 3.5-3.3 6.9-5.5 5.7-8.8 5.7h-5.5l-3.2-2.3-2.2-4.7 3.3-5.7 11-10.3z"/>
|
||||
<circle cx="986" cy="605.4" r="18.8"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user