forked from MapComplete/MapComplete
		
	Add send email icon, add default icons series
This commit is contained in:
		
							parent
							
								
									488fd16873
								
							
						
					
					
						commit
						dc5cd08a3a
					
				
					 8 changed files with 126 additions and 21 deletions
				
			
		|  | @ -100,8 +100,20 @@ export default class LayerConfig { | |||
|         } | ||||
| 
 | ||||
|         this.tagRenderings = trs(json.tagRenderings).concat(roamingRenderings); | ||||
|         this.titleIcons = trs(json.titleIcons ?? ["phonelink","wikipedialink","osmlink", "sharelink"]); | ||||
|          | ||||
| 
 | ||||
| 
 | ||||
|         const titleIcons = []; | ||||
|         const defaultIcons = ["phonelink", "emaillink", "wikipedialink", "osmlink", "sharelink"]; | ||||
|         for (const icon of (json.titleIcons ?? defaultIcons)) { | ||||
|             if (icon === "defaults") { | ||||
|                 titleIcons.push(...defaultIcons); | ||||
|             } else { | ||||
|                 titleIcons.push(icon); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         this.titleIcons = trs(titleIcons); | ||||
| 
 | ||||
| 
 | ||||
|         function tr(key, deflt) { | ||||
|             const v = json[key]; | ||||
|  |  | |||
							
								
								
									
										2
									
								
								State.ts
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								State.ts
									
										
									
									
									
								
							|  | @ -23,7 +23,7 @@ export default class State { | |||
|     // The singleton of the global state
 | ||||
|     public static state: State; | ||||
| 
 | ||||
|     public static vNumber = "0.2.2c"; | ||||
|     public static vNumber = "0.2.2d"; | ||||
| 
 | ||||
|     // The user journey states thresholds when a new feature gets unlocked
 | ||||
|     public static userJourney = { | ||||
|  |  | |||
							
								
								
									
										9
									
								
								Svg.ts
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								Svg.ts
									
										
									
									
									
								
							|  | @ -44,7 +44,7 @@ export default class Svg { | |||
|     public static checkmark_svg() { return new FixedUiElement(Svg.checkmark);} | ||||
|     public static checkmark_ui() { return new FixedUiElement(Svg.checkmark_img);} | ||||
| 
 | ||||
|     public static close = " <!-- Created with Inkscape (http://www.inkscape.org/) -->  <svg    xmlns:dc=\"http://purl.org/dc/elements/1.1/\"    xmlns:cc=\"http://creativecommons.org/ns#\"    xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"    xmlns:svg=\"http://www.w3.org/2000/svg\"    xmlns=\"http://www.w3.org/2000/svg\"    xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"    xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"    width=\"100\"    height=\"100\"    viewBox=\"0 0 26.458333 26.458334\"    version=\"1.1\"    id=\"svg8\"    sodipodi:docname=\"close.svg\"    inkscape:version=\"0.92.4 (5da689c313, 2019-01-14)\">   <defs      id=\"defs2\" />   <sodipodi:namedview      id=\"base\"      pagecolor=\"#ffffff\"      bordercolor=\"#666666\"      borderopacity=\"1.0\"      inkscape:pageopacity=\"0.0\"      inkscape:pageshadow=\"2\"      inkscape:zoom=\"2.8284271\"      inkscape:cx=\"-12.514944\"      inkscape:cy=\"118.94409\"      inkscape:document-units=\"px\"      inkscape:current-layer=\"layer1\"      showgrid=\"false\"      units=\"px\"      showguides=\"true\"      inkscape:guide-bbox=\"true\"      inkscape:window-width=\"1920\"      inkscape:window-height=\"1001\"      inkscape:window-x=\"0\"      inkscape:window-y=\"0\"      inkscape:window-maximized=\"1\">     <sodipodi:guide        position=\"13.229167,23.859748\"        orientation=\"1,0\"        id=\"guide815\"        inkscape:locked=\"false\" />     <sodipodi:guide        position=\"14.944824,13.229167\"        orientation=\"0,1\"        id=\"guide817\"        inkscape:locked=\"false\" />   </sodipodi:namedview>   <metadata      id=\"metadata5\">     <rdf:RDF>       <cc:Work          rdf:about=\"\">         <dc:format>image/svg+xml</dc:format>         <dc:type            rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />         <dc:title />       </cc:Work>     </rdf:RDF>   </metadata>   <g      inkscape:label=\"Layer 1\"      inkscape:groupmode=\"layer\"      id=\"layer1\"      transform=\"translate(0,-270.54165)\">     <g        id=\"g836\"        transform=\"matrix(1.7481308,0,0,1.7481308,-10.001295,-212.27744)\">       <path          inkscape:connector-curvature=\"0\"          id=\"path815\"          d=\"M 18.972892,289.3838 7.7469352,278.15784 v 0\"          style=\"fill: none !important;stroke:#000000;stroke-width:3.4395833;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1\" />       <path          inkscape:connector-curvature=\"0\"          id=\"path815-3\"          d=\"M 18.98982,278.10371 7.7638604,289.32967 v 0\"          style=\"fill: none !important;stroke:#000000;stroke-width:3.4395833;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1\" />     </g>   </g> </svg> " | ||||
|     public static close = "e <!-- Created with Inkscape (http://www.inkscape.org/) -->  <svg    xmlns:dc=\"http://purl.org/dc/elements/1.1/\"    xmlns:cc=\"http://creativecommons.org/ns#\"    xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"    xmlns:svg=\"http://www.w3.org/2000/svg\"    xmlns=\"http://www.w3.org/2000/svg\"    xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"    xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"    width=\"100\"    height=\"100\"    viewBox=\"0 0 26.458333 26.458334\"    version=\"1.1\"    id=\"svg8\"    sodipodi:docname=\"close.svg\"    inkscape:version=\"0.92.4 (5da689c313, 2019-01-14)\">   <defs      id=\"defs2\" />   <sodipodi:namedview      id=\"base\"      pagecolor=\"#ffffff\"      bordercolor=\"#666666\"      borderopacity=\"1.0\"      inkscape:pageopacity=\"0.0\"      inkscape:pageshadow=\"2\"      inkscape:zoom=\"2.8284271\"      inkscape:cx=\"-12.514944\"      inkscape:cy=\"118.94409\"      inkscape:document-units=\"px\"      inkscape:current-layer=\"layer1\"      showgrid=\"false\"      units=\"px\"      showguides=\"true\"      inkscape:guide-bbox=\"true\"      inkscape:window-width=\"1920\"      inkscape:window-height=\"1001\"      inkscape:window-x=\"0\"      inkscape:window-y=\"0\"      inkscape:window-maximized=\"1\">     <sodipodi:guide        position=\"13.229167,23.859748\"        orientation=\"1,0\"        id=\"guide815\"        inkscape:locked=\"false\" />     <sodipodi:guide        position=\"14.944824,13.229167\"        orientation=\"0,1\"        id=\"guide817\"        inkscape:locked=\"false\" />   </sodipodi:namedview>   <metadata      id=\"metadata5\">     <rdf:RDF>       <cc:Work          rdf:about=\"\">         <dc:format>image/svg+xml</dc:format>         <dc:type            rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />         <dc:title />       </cc:Work>     </rdf:RDF>   </metadata>   <g      inkscape:label=\"Layer 1\"      inkscape:groupmode=\"layer\"      id=\"layer1\"      transform=\"translate(0,-270.54165)\">     <g        id=\"g836\"        transform=\"matrix(1.7481308,0,0,1.7481308,-10.001295,-212.27744)\">       <path          inkscape:connector-curvature=\"0\"          id=\"path815\"          d=\"M 18.972892,289.3838 7.7469352,278.15784 v 0\"          style=\"fill: none !important;stroke:#000000;stroke-width:3.4395833;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1\" />       <path          inkscape:connector-curvature=\"0\"          id=\"path815-3\"          d=\"M 18.98982,278.10371 7.7638604,289.32967 v 0\"          style=\"fill: none !important;stroke:#000000;stroke-width:3.4395833;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1\" />     </g>   </g> </svg> " | ||||
|     public static close_img = Img.AsImageElement(Svg.close) | ||||
|     public static close_svg() { return new FixedUiElement(Svg.close);} | ||||
|     public static close_ui() { return new FixedUiElement(Svg.close_img);} | ||||
|  | @ -194,6 +194,11 @@ export default class Svg { | |||
|     public static search_svg() { return new FixedUiElement(Svg.search);} | ||||
|     public static search_ui() { return new FixedUiElement(Svg.search_img);} | ||||
| 
 | ||||
|     public static send_email = " <svg    xmlns:dc=\"http://purl.org/dc/elements/1.1/\"    xmlns:cc=\"http://creativecommons.org/ns#\"    xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"    xmlns:svg=\"http://www.w3.org/2000/svg\"    xmlns=\"http://www.w3.org/2000/svg\"    xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"    xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"    id=\"svg4\"    version=\"1.1\"    viewBox=\"0 0 114 114\"    height=\"114\"    width=\"114\"    sodipodi:docname=\"send_email.svg\"    inkscape:version=\"0.92.4 (5da689c313, 2019-01-14)\">   <sodipodi:namedview      pagecolor=\"#ffffff\"      bordercolor=\"#666666\"      borderopacity=\"1\"      objecttolerance=\"10\"      gridtolerance=\"10\"      guidetolerance=\"10\"      inkscape:pageopacity=\"0\"      inkscape:pageshadow=\"2\"      inkscape:window-width=\"1920\"      inkscape:window-height=\"1043\"      id=\"namedview10\"      showgrid=\"false\"      inkscape:zoom=\"8.2807017\"      inkscape:cx=\"88.036216\"      inkscape:cy=\"65.244666\"      inkscape:window-x=\"0\"      inkscape:window-y=\"0\"      inkscape:window-maximized=\"1\"      inkscape:current-layer=\"svg4\" />   <metadata      id=\"metadata10\">     <rdf:RDF>       <cc:Work          rdf:about=\"\">         <dc:format>image/svg+xml</dc:format>         <dc:type            rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />         <dc:title />       </cc:Work>     </rdf:RDF>   </metadata>   <defs      id=\"defs8\" />   <path      id=\"path817\"      d=\"M 3.8621242,4.4070108 30.859027,32.600653 c 0,0 10.017786,11.850409 21.207654,0 C 68.137354,15.581325 79.709909,3.9950038 79.709909,3.9950038\"      style=\"fill: none !important;stroke:#000000;stroke-width:6.67276907;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1\"      inkscape:connector-curvature=\"0\" />   <path      id=\"path823\"      d=\"M 3.5728144,4.2106267 79.709909,3.9950038 79.830672,61.118664\"      style=\"fill: none !important;stroke:#000000;stroke-width:6.57718801;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1\"      inkscape:connector-curvature=\"0\"      sodipodi:nodetypes=\"ccc\" />   <path      id=\"path823-3\"      d=\"M 80.022174,61.299435 3.5728144,61.696575 V 4.2106267\"      style=\"fill: none !important;stroke:#000000;stroke-width:6.57718801;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1\"      inkscape:connector-curvature=\"0\" />   <path      d=\"M 56.292497,77.917252 V 95.007654 H 88.45805 v 16.606216 l 24.81119,-24.785005 -24.81119,-25.099078 0.0066,16.194007 z\"      id=\"path4\"      inkscape:connector-curvature=\"0\"      sodipodi:nodetypes=\"cccccccc\"      style=\"stroke-width:0.09253246\" />   <g      inkscape:groupmode=\"layer\"      id=\"layer1\"      inkscape:label=\"bg\"      style=\"display:none\">     <circle        style=\"fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1\"        id=\"path828\"        cx=\"86.758408\"        cy=\"87.016083\"        r=\"35.352345\" />   </g>   <g      inkscape:groupmode=\"layer\"      id=\"layer2\"      inkscape:label=\"fg\" /> </svg> " | ||||
|     public static send_email_img = Img.AsImageElement(Svg.send_email) | ||||
|     public static send_email_svg() { return new FixedUiElement(Svg.send_email);} | ||||
|     public static send_email_ui() { return new FixedUiElement(Svg.send_email_img);} | ||||
| 
 | ||||
|     public static share = " <svg    xmlns:dc=\"http://purl.org/dc/elements/1.1/\"    xmlns:cc=\"http://creativecommons.org/ns#\"    xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"    xmlns:svg=\"http://www.w3.org/2000/svg\"    xmlns=\"http://www.w3.org/2000/svg\"    id=\"svg8\"    version=\"1.1\"    viewBox=\"0 0 20.06869 19.489862\"    height=\"73.662468\"    width=\"75.850166\">   <defs      id=\"defs2\" />   <metadata      id=\"metadata5\">     <rdf:RDF>       <cc:Work          rdf:about=\"\">         <dc:format>image/svg+xml</dc:format>         <dc:type            rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />         <dc:title></dc:title>       </cc:Work>     </rdf:RDF>   </metadata>   <g      transform=\"translate(-3.3314588,-273.65084)\"      id=\"layer1\">     <path        id=\"path819\"        d=\"m 19.212364,278.17517 -11.9689358,5.52059 11.9388628,5.50669\"        style=\"fill:none !important;stroke-width:2.43863511;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;stroke:#000000\" />     <circle        r=\"3.9119694\"        cy=\"283.69574\"        cx=\"7.2434282\"        id=\"path820\"        style=\"fill-opacity:1;stroke:none;stroke-width:0.53329796;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1\" />     <circle        r=\"3.9119689\"        cy=\"289.22873\"        cx=\"19.48818\"        id=\"path820-3\"        style=\"fill-opacity:1;stroke:none;stroke-width:0.53329796;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.97014926\" />     <circle        r=\"3.9119689\"        cy=\"277.56281\"        cx=\"19.48818\"        id=\"path820-3-6\"        style=\"fill-opacity:1;stroke:none;stroke-width:0.53329796;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1\" />   </g> </svg> " | ||||
|     public static share_img = Img.AsImageElement(Svg.share) | ||||
|     public static share_svg() { return new FixedUiElement(Svg.share);} | ||||
|  | @ -224,4 +229,4 @@ export default class Svg { | |||
|     public static wikipedia_svg() { return new FixedUiElement(Svg.wikipedia);} | ||||
|     public static wikipedia_ui() { return new FixedUiElement(Svg.wikipedia_img);} | ||||
| 
 | ||||
| public static All = {"add.svg": Svg.add,"addSmall.svg": Svg.addSmall,"ampersand.svg": Svg.ampersand,"arrow-left-smooth.svg": Svg.arrow_left_smooth,"arrow-right-smooth.svg": Svg.arrow_right_smooth,"bug.svg": Svg.bug,"camera-plus.svg": Svg.camera_plus,"checkmark.svg": Svg.checkmark,"close.svg": Svg.close,"compass.svg": Svg.compass,"crosshair-blue-center.svg": Svg.crosshair_blue_center,"crosshair-blue.svg": Svg.crosshair_blue,"crosshair.svg": Svg.crosshair,"delete_icon.svg": Svg.delete_icon,"direction.svg": Svg.direction,"direction_gradient.svg": Svg.direction_gradient,"down.svg": Svg.down,"envelope.svg": Svg.envelope,"floppy.svg": Svg.floppy,"gear.svg": Svg.gear,"help.svg": Svg.help,"home.svg": Svg.home,"home_white_bg.svg": Svg.home_white_bg,"josm_logo.svg": Svg.josm_logo,"layers.svg": Svg.layers,"layersAdd.svg": Svg.layersAdd,"logo.svg": Svg.logo,"logout.svg": Svg.logout,"mapillary.svg": Svg.mapillary,"no_checkmark.svg": Svg.no_checkmark,"or.svg": Svg.or,"osm-logo-us.svg": Svg.osm_logo_us,"osm-logo.svg": Svg.osm_logo,"pencil.svg": Svg.pencil,"phone.svg": Svg.phone,"pop-out.svg": Svg.pop_out,"reload.svg": Svg.reload,"search.svg": Svg.search,"share.svg": Svg.share,"star.svg": Svg.star,"statistics.svg": Svg.statistics,"up.svg": Svg.up,"wikimedia-commons-white.svg": Svg.wikimedia_commons_white,"wikipedia.svg": Svg.wikipedia};} | ||||
| public static All = {"add.svg": Svg.add,"addSmall.svg": Svg.addSmall,"ampersand.svg": Svg.ampersand,"arrow-left-smooth.svg": Svg.arrow_left_smooth,"arrow-right-smooth.svg": Svg.arrow_right_smooth,"bug.svg": Svg.bug,"camera-plus.svg": Svg.camera_plus,"checkmark.svg": Svg.checkmark,"close.svg": Svg.close,"compass.svg": Svg.compass,"crosshair-blue-center.svg": Svg.crosshair_blue_center,"crosshair-blue.svg": Svg.crosshair_blue,"crosshair.svg": Svg.crosshair,"delete_icon.svg": Svg.delete_icon,"direction.svg": Svg.direction,"direction_gradient.svg": Svg.direction_gradient,"down.svg": Svg.down,"envelope.svg": Svg.envelope,"floppy.svg": Svg.floppy,"gear.svg": Svg.gear,"help.svg": Svg.help,"home.svg": Svg.home,"home_white_bg.svg": Svg.home_white_bg,"josm_logo.svg": Svg.josm_logo,"layers.svg": Svg.layers,"layersAdd.svg": Svg.layersAdd,"logo.svg": Svg.logo,"logout.svg": Svg.logout,"mapillary.svg": Svg.mapillary,"no_checkmark.svg": Svg.no_checkmark,"or.svg": Svg.or,"osm-logo-us.svg": Svg.osm_logo_us,"osm-logo.svg": Svg.osm_logo,"pencil.svg": Svg.pencil,"phone.svg": Svg.phone,"pop-out.svg": Svg.pop_out,"reload.svg": Svg.reload,"search.svg": Svg.search,"send_email.svg": Svg.send_email,"share.svg": Svg.share,"star.svg": Svg.star,"statistics.svg": Svg.statistics,"up.svg": Svg.up,"wikimedia-commons-white.svg": Svg.wikimedia_commons_white,"wikipedia.svg": Svg.wikipedia};} | ||||
|  |  | |||
|  | @ -197,7 +197,7 @@ export default class SpecialVisualizations { | |||
|                     } | ||||
|                 ], | ||||
|                 constr: (tagSource: UIEventSource<any>, args) => { | ||||
|                     if (window.navigator.share || true) { | ||||
|                     if (window.navigator.share) { | ||||
|                         const title = State.state.layoutToUse.data.title.txt; | ||||
|                         let name = tagSource.data.name; | ||||
|                         if (name) { | ||||
|  |  | |||
|  | @ -94,9 +94,7 @@ | |||
|       "render": "<a href='https://fietsambassade.gent.be/' target='_blank'><img src='./assets/themes/cyclofix/fietsambassade_gent_logo_small.svg'/></a>", | ||||
|       "condition":  "operator=De Fietsambassade Gent" | ||||
|     }, | ||||
|     "wikipedialink", | ||||
|     "osmlink", | ||||
|     "sharelink" | ||||
|     "defaults" | ||||
|   ], | ||||
|   "tagRenderings": [ | ||||
|     "images", | ||||
|  |  | |||
|  | @ -195,10 +195,7 @@ | |||
|       }, | ||||
|       "render": "<img src='./assets/layers/bike_shop/bike_cleaning.svg'/>" | ||||
|     }, | ||||
|     "phonelink", | ||||
|     "wikipedialink", | ||||
|     "osmlink", | ||||
|     "sharelink" | ||||
|     "defaults" | ||||
|   ], | ||||
|   "description": { | ||||
|     "en": "A shop specifically selling bicycles or related items", | ||||
|  |  | |||
							
								
								
									
										89
									
								
								assets/svg/send_email.svg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								assets/svg/send_email.svg
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,89 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||||
| <svg | ||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" | ||||
|    xmlns:cc="http://creativecommons.org/ns#" | ||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||||
|    xmlns:svg="http://www.w3.org/2000/svg" | ||||
|    xmlns="http://www.w3.org/2000/svg" | ||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||||
|    id="svg4" | ||||
|    version="1.1" | ||||
|    viewBox="0 0 114 114" | ||||
|    height="114" | ||||
|    width="114" | ||||
|    sodipodi:docname="send_email.svg" | ||||
|    inkscape:version="0.92.4 (5da689c313, 2019-01-14)"> | ||||
|   <sodipodi:namedview | ||||
|      pagecolor="#ffffff" | ||||
|      bordercolor="#666666" | ||||
|      borderopacity="1" | ||||
|      objecttolerance="10" | ||||
|      gridtolerance="10" | ||||
|      guidetolerance="10" | ||||
|      inkscape:pageopacity="0" | ||||
|      inkscape:pageshadow="2" | ||||
|      inkscape:window-width="1920" | ||||
|      inkscape:window-height="1043" | ||||
|      id="namedview10" | ||||
|      showgrid="false" | ||||
|      inkscape:zoom="8.2807017" | ||||
|      inkscape:cx="88.036216" | ||||
|      inkscape:cy="65.244666" | ||||
|      inkscape:window-x="0" | ||||
|      inkscape:window-y="0" | ||||
|      inkscape:window-maximized="1" | ||||
|      inkscape:current-layer="svg4" /> | ||||
|   <metadata | ||||
|      id="metadata10"> | ||||
|     <rdf:RDF> | ||||
|       <cc:Work | ||||
|          rdf:about=""> | ||||
|         <dc:format>image/svg+xml</dc:format> | ||||
|         <dc:type | ||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||||
|         <dc:title /> | ||||
|       </cc:Work> | ||||
|     </rdf:RDF> | ||||
|   </metadata> | ||||
|   <defs | ||||
|      id="defs8" /> | ||||
|   <path | ||||
|      id="path817" | ||||
|      d="M 3.8621242,4.4070108 30.859027,32.600653 c 0,0 10.017786,11.850409 21.207654,0 C 68.137354,15.581325 79.709909,3.9950038 79.709909,3.9950038" | ||||
|      style="fill:none;stroke:#000000;stroke-width:6.67276907;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | ||||
|      inkscape:connector-curvature="0" /> | ||||
|   <path | ||||
|      id="path823" | ||||
|      d="M 3.5728144,4.2106267 79.709909,3.9950038 79.830672,61.118664" | ||||
|      style="fill:none;stroke:#000000;stroke-width:6.57718801;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | ||||
|      inkscape:connector-curvature="0" | ||||
|      sodipodi:nodetypes="ccc" /> | ||||
|   <path | ||||
|      id="path823-3" | ||||
|      d="M 80.022174,61.299435 3.5728144,61.696575 V 4.2106267" | ||||
|      style="fill:none;stroke:#000000;stroke-width:6.57718801;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | ||||
|      inkscape:connector-curvature="0" /> | ||||
|   <path | ||||
|      d="M 56.292497,77.917252 V 95.007654 H 88.45805 v 16.606216 l 24.81119,-24.785005 -24.81119,-25.099078 0.0066,16.194007 z" | ||||
|      id="path4" | ||||
|      inkscape:connector-curvature="0" | ||||
|      sodipodi:nodetypes="cccccccc" | ||||
|      style="stroke-width:0.09253246" /> | ||||
|   <g | ||||
|      inkscape:groupmode="layer" | ||||
|      id="layer1" | ||||
|      inkscape:label="bg" | ||||
|      style="display:none"> | ||||
|     <circle | ||||
|        style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" | ||||
|        id="path828" | ||||
|        cx="86.758408" | ||||
|        cy="87.016083" | ||||
|        r="35.352345" /> | ||||
|   </g> | ||||
|   <g | ||||
|      inkscape:groupmode="layer" | ||||
|      id="layer2" | ||||
|      inkscape:label="fg" /> | ||||
| </svg> | ||||
| After Width: | Height: | Size: 3.2 KiB | 
|  | @ -1,4 +1,16 @@ | |||
| { | ||||
|   "wikipedialink": { | ||||
|     "render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/svg/wikipedia.svg' alt='WP'/></a>", | ||||
|     "condition": "wikipedia~*" | ||||
|   }, | ||||
|   "phonelink": { | ||||
|     "render": "<a href='tel:{phone}'><img src='./assets/svg/phone.svg'/></a>", | ||||
|     "condition": "phone~*" | ||||
|   }, | ||||
|   "emaillink": { | ||||
|     "render": "<a href='mailto:{email}'><img src='./assets/svg/send_email.svg'/></a>", | ||||
|     "condition": "email~*" | ||||
|   }, | ||||
|   "osmlink": { | ||||
|     "render": "<a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>", | ||||
|     "mappings": [ | ||||
|  | @ -8,14 +20,6 @@ | |||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   "wikipedialink": { | ||||
|     "render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/svg/wikipedia.svg' alt='WP'/></a>", | ||||
|     "condition": "wikipedia~*" | ||||
|   }, | ||||
|   "phonelink": { | ||||
|     "render": "<a href='tel:{phone}'><img src='./assets/svg/phone.svg'/></a>", | ||||
|     "condition": "phone~*" | ||||
|   }, | ||||
|   "sharelink": { | ||||
|     "render": "{share_link()}" | ||||
|   } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue