Skip to content
Snippets Groups Projects
Commit 47e636ea authored by Hayley Corson-Dosch's avatar Hayley Corson-Dosch
Browse files

switch to svgs for icons - use placeholders for now

parent 02805f06
No related branches found
No related tags found
1 merge request!88Findex global maps tabs
src/assets/images/noun-canal-29572-4E6D6E.png

3.91 KiB

src/assets/images/ppt-climate-and-weather-002D5E.png

10.2 KiB

src/assets/images/ppt-fishing-pressure-835192.png

7.05 KiB

src/assets/images/ppt-invasive-species-B74F49.png

5.27 KiB

<?xml version="1.0" encoding="UTF-8"?>
<svg width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<path d="m0 21.109v62h28l-19.602-62z" fill="#4d6c6e"/>
<path d="m72 83.109h28v-62h-8.3984z" fill="#4d6c6e"/>
<path d="m50 82.465c4.1602 0 6.9336-3 11.094-3 2.0703 0 4.293 0.96094 6.0195 1.7031l2.3906-8.1133c-2.8242-0.81641-5.207-2.5898-8.4062-2.5898-4.1602 0-6.9336 3-11.094 3h-0.003906c-4.1602 0-6.9336-3-11.094-3-3.1992 0-5.5859 1.7695-8.4062 2.5898l2.3906 8.1133c1.7227-0.74219 3.9492-1.7031 6.0156-1.7031 4.1602 0 6.9336 3 11.094 3z" fill="#4d6c6e"/>
<path d="m50 38.328c4.1289 0 6.8828-3 11.012-3 4.1328 0 6.8828 3 11.016 3 3.4102 0 5.8906-2.0234 8.9727-2.7344l-3.0898 10.43c-1.0156 0.34766-4.707 1.3086-5.8867 1.3086-4.1289 0-6.8828-3-11.012-3-4.1289 0-6.8828 3-11.012 3s-6.8828-3-11.012-3c-4.1289 0-6.8828 3-11.016 3-1.1758 0-4.8672-0.96094-5.8828-1.3086l-3.0898-10.43c3.082 0.71484 5.5625 2.7344 8.9727 2.7344 4.1289 0 6.8828-3 11.016-3 4.1289 0 6.8828 3 11.012 3z" fill="#4d6c6e"/>
<path d="m50 55.898c4.1602 0 6.9297-3 11.09-3s6.9336 3 11.09 3c1.0078 0 1.9336-0.17578 2.8203-0.4375l-2.8203 9.4375c-4.1562 0-6.9297-3-11.09-3-4.1562 0-6.9297 3-11.09 3-4.1562 0-6.9297-3-11.09-3s-6.9297 3-11.09 3l-2.8203-9.4375c0.88672 0.26562 1.8125 0.4375 2.8203 0.4375 4.1602 0 6.9297-3 11.09-3s6.9297 3 11.09 3z" fill="#4d6c6e"/>
</svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<path d="m54.91 61.273c0.34375 1.1289 0.22266 2.3203-0.32812 3.2656-0.49219 0.84766-1.2812 1.4336-2.2227 1.6484-0.26172 0.058594-0.52344 0.089844-0.78516 0.089844-1.7617 0-3.4727-1.2891-4.0391-3.168-0.50781-1.6562 0.27734-4.1289 0.85547-5.9297 0.078125-0.24609 0.15234-0.47656 0.21094-0.67969 0.10156-0.33594 0.36719-0.59766 0.70703-0.69141 0.33984-0.097656 0.70312-0.011719 0.96484 0.22266 0.16797 0.14844 0.36328 0.32031 0.57031 0.5 1.8789 1.6367 3.6055 3.2305 4.0664 4.7422zm7.2422-27.168c1.4453 1.5859 3.4219 3.7578 5.3398 4.207 0.39062 0.089844 0.78125 0.13281 1.1719 0.13281 2.0742 0 3.9922-1.2461 4.5703-3.1211 0.32031-1.0469 0.19531-2.1562-0.35938-3.1172-0.61719-1.0703-1.7148-1.8555-3.0078-2.1562-1.7422-0.40625-4.2734 0.38281-6.9336 1.2969-0.30078 0.10156-0.57812 0.19922-0.82422 0.28125-0.37891 0.12109-0.66406 0.43359-0.76562 0.81641-0.097656 0.38281 0.007812 0.79297 0.27734 1.082 0.16016 0.17188 0.33594 0.36719 0.53125 0.57812zm19.137 26.566c0.25781 0 0.51563-0.027344 0.76563-0.085937 0.92578-0.21094 1.6992-0.78516 2.1836-1.6133 0.53906-0.92578 0.65625-2.0938 0.32031-3.1992-0.44922-1.4805-2.1328-3.0352-3.9688-4.6328-0.21484-0.18359-0.40625-0.35547-0.57422-0.50391-0.25781-0.23047-0.61328-0.3125-0.94531-0.21875-0.33203 0.09375-0.59375 0.35156-0.69141 0.67969-0.0625 0.19922-0.13281 0.42969-0.21094 0.67578-0.5625 1.7617-1.3281 4.1797-0.83984 5.8047 0.5625 1.832 2.2422 3.0938 3.9609 3.0938zm-26.551-23.766c-1.9414-0.80078-4.0625-1.418-6.3359-1.8438 0.10938 1.5664 0.28125 3.0625 0.51172 4.4492 0.074219 0.45312 0.15625 0.89453 0.24609 1.3203 10.809 4.7344 11.711 21.777 12.164 30.395 0.097656 1.9258 0.17578 3.9609 0.22266 6.0664 0.66406 0.26562 1.332 0.62891 2.0625 1.1055 0.61328 0.40234 1.3984 0.60156 2.3398 0.60156 1.2109 0 1.7773-0.23047 2.8555-0.93359 1.4141-0.91797 3.1367-1.3828 5.1211-1.3828 0.09375 0 0.19141 0 0.28125 0.003906-0.035156-1.875-0.12109-3.6953-0.25-5.418-1.3711-18.371-7.6562-29.613-19.219-34.363zm-19.918 7.6797c0.26172 0.89062 0.53906 1.6602 0.82813 2.332 1.4219 3.3086 3.0781 4.0898 4.3203 4.1016h9.9414c1.4141-0.011719 2.6523-0.96484 3.6914-2.8281-0.53125-0.82812-1.1211-1.5977-1.7812-2.2852-0.82812 1.9414-1.5977 2.5-1.9375 2.5117-0.52734 0-1.6758-1.2109-2.6562-4.5508-0.10156-0.34766-0.19922-0.70703-0.29297-1.0781-0.22656-0.89062-0.42188-1.8438-0.58984-2.8477-0.27344-1.6406-0.46875-3.4219-0.57812-5.2812-0.050781-0.85938-0.085937-1.7383-0.097656-2.6328-0.007813-0.34375-0.007813-0.69141-0.007813-1.0391 0-4.8828 0.55469-9.4531 1.5664-12.871 0.98438-3.3398 2.1289-4.5508 2.6562-4.5508h0.007813c0.53125 0.003906 1.6758 1.2227 2.6602 4.5625 1.0078 3.4219 1.5586 7.9844 1.5586 12.859 0 0.96094-0.023437 1.918-0.066406 2.8711 0.57422 0.19531 1.1367 0.41016 1.6875 0.63672 0.29297 0.11719 0.57812 0.24219 0.86328 0.375 0.078125-1.2812 0.12109-2.5859 0.12109-3.8828 0-5.1172-0.59375-9.9414-1.668-13.594-1.5586-5.2969-3.6562-6.4219-5.1406-6.4336h-9.9492c-1.2344 0.007812-2.8906 0.78906-4.3125 4.1016-0.28906 0.66797-0.56641 1.4414-0.82812 2.332-0.027344 0.089844-0.050781 0.17969-0.078125 0.27344l-14.543 0.003906v26.645h14.547c0.027343 0.089844 0.050781 0.17969 0.078124 0.26953zm58.758 28.77c-0.98828-0.64062-2.2344-0.96875-3.7031-0.96875-1.4727 0-2.7227 0.32422-3.707 0.96875l-0.51172 0.33594c-1.0508 0.67578-2.3125 1.0195-3.7539 1.0195-1.4453 0-2.707-0.34375-3.7539-1.0156-0.55469-0.35937-1.0078-0.62891-1.4766-0.82422 0.074219 1.3555 0.125 2.7578 0.14844 4.1914 0.89844 0.26953 1.7617 0.70312 2.7461 1.3438 0.60547 0.39453 1.3945 0.59375 2.3359 0.59375 1.2109 0 1.7734-0.23047 2.8438-0.93359 1.4258-0.91797 3.1445-1.3828 5.1211-1.3828 1.9805 0 3.707 0.46484 5.1211 1.3789l0.011719 0.003906v-3.793zm-3.707 5.9336c-1.4688 0-2.7148 0.32422-3.707 0.96094-1.3711 0.89453-2.4102 1.3516-4.2617 1.3516-1.4531 0-2.7188-0.34375-3.7578-1.0156-1.5273-0.99219-2.5156-1.2969-4.2188-1.2969-1.4727 0-2.7227 0.32422-3.7031 0.96094-1.3828 0.89453-2.4219 1.3516-4.2695 1.3516-1.4531 0-2.7188-0.34375-3.7578-1.0156-1.5273-0.99219-2.5156-1.2969-4.2188-1.2969-1.4727 0-2.7188 0.32422-3.7031 0.96094-1.3828 0.89453-2.4219 1.3516-4.2695 1.3516-1.4531 0-2.7188-0.34375-3.7578-1.0156-1.5273-0.99219-2.5117-1.2969-4.2188-1.2969-1.4727 0-2.7188 0.32422-3.7031 0.96094-1.3789 0.89453-2.4219 1.3516-4.2695 1.3516-1.457 0-2.7188-0.34375-3.7539-1.0195-1.5273-0.99219-2.5156-1.293-4.2227-1.293-1.4727 0-2.7227 0.32422-3.7031 0.96094-0.73828 0.48047-1.3555 0.85156-2.1758 1.082v4.0938c0.22656-0.12109 0.46484-0.26953 0.75781-0.46094 1.4102-0.91797 3.1328-1.3867 5.1211-1.3867 2.2031 0 3.6836 0.45312 5.6406 1.7227 0.61328 0.39453 1.3984 0.59375 2.3359 0.59375 0.93359 0 1.7188-0.19922 2.3359-0.59766 1.957-1.2695 3.4336-1.7188 5.6367-1.7188 2.2109 0 3.6836 0.45312 5.6406 1.7227 0.61328 0.39453 1.3984 0.59375 2.3359 0.59375 0.93359 0 1.7188-0.19922 2.3359-0.59766 1.957-1.2695 3.4336-1.7188 5.6367-1.7188 2.207 0 3.6836 0.45312 5.6367 1.7227 0.61328 0.39453 1.4023 0.59375 2.3359 0.59375 0.93359 0 1.7188-0.19922 2.3359-0.59766 1.9492-1.2695 3.4258-1.7188 5.6367-1.7188 2.207 0 3.6836 0.45312 5.6367 1.7227 0.61328 0.39453 1.3984 0.59375 2.3359 0.59375 0.93359 0 1.7188-0.19922 2.3359-0.59766 1.9492-1.2695 3.4258-1.7188 5.6328-1.7188 1.9844 0 3.7109 0.46875 5.1289 1.3867l0.007812 0.003906v-3.7969l-1.4219-0.92188c-0.98438-0.63672-2.2344-0.96094-3.707-0.96094zm0 6.8945c-1.6992 0-2.6836 0.30469-4.2188 1.3008-1.0508 0.67578-2.3125 1.0156-3.75 1.0156-1.4453 0-2.707-0.34375-3.7539-1.0117-1.5391-1.0039-2.5234-1.3047-4.2227-1.3047-1.7031 0-2.6914 0.30469-4.2266 1.3008-1.0508 0.67578-2.3125 1.0156-3.75 1.0156-1.4414 0-2.707-0.34375-3.75-1.0117-1.5391-1.0039-2.5234-1.3047-4.2266-1.3047-1.6992 0-2.6836 0.30469-4.2266 1.3008-1.0508 0.67578-2.3086 1.0156-3.75 1.0156s-2.707-0.34375-3.75-1.0117c-1.5391-1.0039-2.5234-1.3047-4.2266-1.3047-1.6992 0-2.6836 0.30469-4.2266 1.3008-1.0508 0.67578-2.3086 1.0156-3.75 1.0156-1.4453 0-2.7109-0.34375-3.75-1.0156-1.543-1-2.5273-1.3047-4.2266-1.3047-1.4766 0-2.7227 0.32422-3.6992 0.96484-0.73828 0.48047-1.3555 0.84766-2.1797 1.0859v4.0898c0.22266-0.11719 0.46484-0.26953 0.75781-0.46094 1.4141-0.91797 3.1367-1.3789 5.1211-1.3789 2.2109 0 3.6875 0.44922 5.6406 1.7148 0.60938 0.39844 1.3906 0.59766 2.3359 0.59766 0.9375 0 1.7227-0.19922 2.332-0.59766 1.9531-1.2695 3.4297-1.7148 5.6406-1.7148 2.2148 0 3.6875 0.44922 5.6445 1.7148 0.60547 0.39844 1.3906 0.59766 2.332 0.59766 0.9375 0 1.7227-0.19922 2.332-0.59766 1.957-1.2695 3.4336-1.7148 5.6445-1.7148 1.9805 0 3.6992 0.46484 5.1172 1.3789l0.52344 0.33984c0.60547 0.39453 1.3945 0.59375 2.3359 0.59375 0.9375 0 1.7227-0.19922 2.332-0.59766 1.9492-1.2656 3.4258-1.7148 5.6445-1.7148 2.2148 0 3.6875 0.44922 5.6367 1.7188 0.60938 0.39453 1.3945 0.59375 2.3359 0.59375 0.9375 0 1.7227-0.19922 2.332-0.59766 1.9492-1.2656 3.4258-1.7148 5.6406-1.7148 1.9805 0 3.6992 0.46484 5.1172 1.3789l0.015625 0.003906v-3.7891l-1.4219-0.92188c-0.98438-0.64453-2.2344-0.96875-3.707-0.96875zm-84.871 6.7734h12.594v-85.914h-12.594zm21.074-16.273c2.2109 0 3.6875 0.44922 5.6406 1.7188 0.60938 0.39844 1.3906 0.59766 2.3359 0.59766 1.2188 0 1.7578-0.22266 2.8516-0.93359 1.4141-0.91797 3.1406-1.3828 5.1211-1.3828 2.2148 0 3.6875 0.44922 5.6406 1.7188 0.60938 0.39844 1.3945 0.59766 2.3359 0.59766 1.2227 0 1.7578-0.22266 2.8555-0.93359 1.4141-0.91797 3.1367-1.3828 5.1211-1.3828 0.33203 0 0.65234 0.011718 0.95313 0.03125-0.035157-1.4766-0.089844-2.9102-0.15234-4.293-0.25781-0.023437-0.52344-0.035156-0.80078-0.035156-1.4766 0-2.7188 0.32422-3.6992 0.96484-1.3945 0.89844-2.4375 1.3555-4.2734 1.3555-1.4453 0-2.707-0.34375-3.75-1.0156-1.5391-1-2.5273-1.3047-4.2266-1.3047-1.4727 0-2.7188 0.32422-3.6992 0.96484l-0.52734 0.33984c-1.0469 0.67188-2.3086 1.0156-3.7461 1.0156-1.4453 0-2.7109-0.34375-3.75-1.0156-1.5391-1-2.5273-1.3047-4.2266-1.3047-1.4766 0-2.7227 0.32422-3.6992 0.96484-0.73828 0.48047-1.3555 0.84766-2.1797 1.082v4.0898c0.22266-0.12109 0.46484-0.26953 0.75781-0.46484 1.4102-0.91016 3.1328-1.375 5.1172-1.375z" fill="#79552a"/>
</svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="128pt" height="128pt" version="1.1" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg">
<svg width="128pt" height="128pt" version="1.1" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg" fill="#4E6D6E">
<path d="m67.859 83.73c9.2812-2.2383 17.391-7.5391 23.191-14.758 4.1562 5.1758 9.4961 9.3555 15.613 12.125-2.4102-5.3203-3.75-11.211-3.75-17.43 0-6.2148 1.3516-12.109 3.75-17.426-6.1211 2.7695-11.461 6.9492-15.613 12.113-2.5352-3.1484-5.5117-5.9414-8.8086-8.2461 0.75391-2.4805 1.7148-4.8516 2.8555-7.0898-4.6836-2.4336-12.859-6.2344-18.18-7.3281-3.2383 1.8516-6.2383 4.1445-8.9102 6.8008-15.668 0-29.34 8.5352-36.668 21.168 7.3281 12.648 21 21.184 36.668 21.184 3.9414 3.9297 9.0352 6.5664 14.566 7.4688-2.0391-2.4766-3.6562-5.3594-4.7109-8.5859" fill-rule="evenodd"/>
</svg>
......@@ -342,7 +342,7 @@ export default {
tabTitle: "Climate and Weather",
tabContentTitle: "Climate and Weather",
tabContentTitleID: "climate-and-weather",
tabIcon: "ppt-climate-and-weather-002D5E",
tabIcon: "noun-drain-7131918-7A562B",
tabText: "Climate and Weather text.",
tabMapImageAlt: "Climate and Weather alt.",
tabLegendImageAlt: "Legend",
......@@ -351,27 +351,27 @@ export default {
{
subThreat: "Change in water temperature",
subThreatText: "Change in water temperature text",
subThreatIcon: "ppt-climate-and-weather-002D5E"
subThreatIcon: "noun-drain-7131918-7A562B"
},
{
subThreat: "Drought",
subThreatText: "Drought text",
subThreatIcon: "ppt-climate-and-weather-002D5E"
subThreatIcon: "noun-drain-7131918-7A562B"
},
{
subThreat: "Change in flooding",
subThreatText: "Change in flooding text",
subThreatIcon: "ppt-climate-and-weather-002D5E"
subThreatIcon: "noun-drain-7131918-7A562B"
},
{
subThreat: "Change in wind patterns",
subThreatText: "Change in wind patterns text",
subThreatIcon: "ppt-climate-and-weather-002D5E"
subThreatIcon: "noun-drain-7131918-7A562B"
},
{
subThreat: "Change in ice cover",
subThreatText: "Change in ice cover text",
subThreatIcon: "ppt-climate-and-weather-002D5E"
subThreatIcon: "noun-drain-7131918-7A562B"
}
]
},
......@@ -379,7 +379,7 @@ export default {
tabTitle: "Invasive species",
tabContentTitle: "Invasive species",
tabContentTitleID: "invasive-species",
tabIcon: "ppt-invasive-species-B74F49",
tabIcon: "noun-drain-7131918-7A562B",
tabText: "Invasive species text.",
tabMapImageAlt: "Invasive species alt.",
tabLegendImageAlt: "Legend",
......@@ -390,7 +390,7 @@ export default {
tabTitle: "Fishing pressure",
tabContentTitle: "Fishing pressure",
tabContentTitleID: "fishing-pressure",
tabIcon: "ppt-fishing-pressure-835192",
tabIcon: "noun-drain-7131918-7A562B",
tabText: "Fishing pressure text.",
tabMapImageAlt: "Fishing pressure alt.",
tabLegendImageAlt: "Legend",
......
......@@ -105,7 +105,7 @@
switchToPrimaryCategory(currentCategory.value, currentCategorySubThreatPrefix.value)
}
function getPrefixImageURL(filename) {
return `src/assets/images/${filename}.png`
return `src/assets/svgs/${filename}.svg`
}
function getPrefixImageHTML(filename) {
const imgURL = getPrefixImageURL(filename)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment