|
1 | 1 | {% case type %}
|
2 |
| - {% when "midsize" %} |
3 |
| - <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="20" role="img" aria-label="project type: {{ type }}"><title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="128" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="51" height="20" fill="#{{ color }}"/><rect width="128" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="1015" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="410">{{ type }}</text><text x="1015" y="140" transform="scale(.1)" fill="#fff" textLength="410">{{ type }}</text></g></svg> |
4 |
| - {% when "club" %} |
5 |
| - <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="170" height="20" role="img" aria-label="project type: {{ type }}"><title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="110" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="33" height="20" fill="#{{ color }}"/><rect width="110" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="925" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="230">{{ type }}</text><text x="925" y="140" transform="scale(.1)" fill="#fff" textLength="230">{{ type }}</text></g></svg> |
6 |
| - {% when "toy" %} |
7 |
| - <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="104" height="20" role="img" aria-label="project type: {{ type }}"><title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="104" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="27" height="20" fill="#{{ color }}"/><rect width="104" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="895" y="140" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="170">{{ type }}</text><text x="895" y="140" transform="scale(.1)" fill="#fff" textLength="170">{{ type }}</text></g></svg> |
8 |
| - {% when "stadium" %} |
9 |
| - <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="132" height="20" role="img" aria-label="project type: {{ type }}"><title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="132" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="55" height="20" fill="#{{ color }}"/><rect width="132" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="1035" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="450">{{ type }}</text><text x="1035" y="140" transform="scale(.1)" fill="#fff" textLength="450">{{ type }}</text></g></svg> |
10 |
| - {% when "federation" %} |
11 |
| - <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="144" height="20" role="img" aria-label="project type: {{ type }}"><title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="144" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="67" height="20" fill="#{{ color }}"/><rect width="144" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="1015" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="570">{{ type }}</text><text x="1095" y="140" transform="scale(.1)" fill="#fff" textLength="570">{{ type }}</text></g></svg> |
| 2 | + {% when 'midsize' %} |
| 3 | + <svg |
| 4 | + xmlns="http://www.w3.org/2000/svg" |
| 5 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
| 6 | + width="128" |
| 7 | + height="20" |
| 8 | + role="img" |
| 9 | + aria-label="project type: {{ type }}" |
| 10 | + > |
| 11 | + <title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="128" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="51" height="20" fill="#{{ color }}"/><rect width="128" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="1015" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="410">{{ type }}</text><text x="1015" y="140" transform="scale(.1)" fill="#fff" textLength="410">{{ type }}</text></g> |
| 12 | + </svg> |
| 13 | + {% when 'club' %} |
| 14 | + <svg |
| 15 | + xmlns="http://www.w3.org/2000/svg" |
| 16 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
| 17 | + width="170" |
| 18 | + height="20" |
| 19 | + role="img" |
| 20 | + aria-label="project type: {{ type }}" |
| 21 | + > |
| 22 | + <title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="110" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="33" height="20" fill="#{{ color }}"/><rect width="110" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="925" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="230">{{ type }}</text><text x="925" y="140" transform="scale(.1)" fill="#fff" textLength="230">{{ type }}</text></g> |
| 23 | + </svg> |
| 24 | + {% when 'toy' %} |
| 25 | + <svg |
| 26 | + xmlns="http://www.w3.org/2000/svg" |
| 27 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
| 28 | + width="104" |
| 29 | + height="20" |
| 30 | + role="img" |
| 31 | + aria-label="project type: {{ type }}" |
| 32 | + > |
| 33 | + <title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="104" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="27" height="20" fill="#{{ color }}"/><rect width="104" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="895" y="140" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="170">{{ type }}</text><text x="895" y="140" transform="scale(.1)" fill="#fff" textLength="170">{{ type }}</text></g> |
| 34 | + </svg> |
| 35 | + {% when 'stadium' %} |
| 36 | + <svg |
| 37 | + xmlns="http://www.w3.org/2000/svg" |
| 38 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
| 39 | + width="132" |
| 40 | + height="20" |
| 41 | + role="img" |
| 42 | + aria-label="project type: {{ type }}" |
| 43 | + > |
| 44 | + <title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="132" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="55" height="20" fill="#{{ color }}"/><rect width="132" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="1035" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="450">{{ type }}</text><text x="1035" y="140" transform="scale(.1)" fill="#fff" textLength="450">{{ type }}</text></g> |
| 45 | + </svg> |
| 46 | + {% when 'federation' %} |
| 47 | + <svg |
| 48 | + xmlns="http://www.w3.org/2000/svg" |
| 49 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
| 50 | + width="144" |
| 51 | + height="20" |
| 52 | + role="img" |
| 53 | + aria-label="project type: {{ type }}" |
| 54 | + > |
| 55 | + <title>project type: {{ type }}</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="144" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="67" height="20" fill="#{{ color }}"/><rect width="144" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">project type</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">project type</text><text aria-hidden="true" x="1015" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="570">{{ type }}</text><text x="1095" y="140" transform="scale(.1)" fill="#fff" textLength="570">{{ type }}</text></g> |
| 56 | + </svg> |
12 | 57 | {% else %}
|
13 |
| - <img src="{{ link }}" alt="Project Type"/> |
| 58 | + <img src="{{ link }}" alt="Project Type"> |
14 | 59 | {% endcase %}
|
0 commit comments