multilingual.twig
47 lines
| 1 | |
| 2 | {% for menuItem in menu %} |
| 3 | |
| 4 | <div class="info-wrap"> |
| 5 | <a href="{{ menuItem.button.url }}" class="info-content-wrap" aria-label="{{ menuItem.button.label }}"> |
| 6 | {% if menuItem.icon == 'otgs-ico-tag' %} |
| 7 | <span class="otgs-ico {{ menuItem.icon }}"> |
| 8 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><path fill="#33879E" fill-rule="evenodd" d="M11.333 6a2.667 2.667 0 1 1 5.334 0 2.667 2.667 0 0 1-5.334 0ZM14 7.333a1.333 1.333 0 1 1 0-2.666 1.333 1.333 0 0 1 0 2.666Z" clip-rule="evenodd"/><path fill="#33879E" fill-rule="evenodd" d="M19.233.1h-8.957a.667.667 0 0 0-.471.196L.572 9.529a.667.667 0 0 0 0 .942l8.957 8.957c.26.26.682.26.942 0l9.233-9.233a.667.667 0 0 0 .195-.471V.767a.667.667 0 0 0-.666-.666ZM1.986 10l8.566-8.566h8.014v8.014L10 18.014 1.986 10Z" clip-rule="evenodd"/></svg> |
| 9 | </span> |
| 10 | {% else %} |
| 11 | <span class="otgs-ico {{ menuItem.icon }}"></span> |
| 12 | {% endif %} |
| 13 | <span class="info-content"> |
| 14 | <h3 class="heading">{{ menuItem.title }}</h3> |
| 15 | <span>{{ menuItem.description | raw }}</span> |
| 16 | |
| 17 | <span class="button-primary" >{{ menuItem.button.label }}</span> |
| 18 | |
| 19 | </span> |
| 20 | </a> |
| 21 | </div> |
| 22 | |
| 23 | {% endfor %} |
| 24 | |
| 25 | <div id="translate_manually" class="translate-manually"> |
| 26 | <button |
| 27 | aria-expanded="false" |
| 28 | aria-controls="translate_manually_wrapper" |
| 29 | id="translate_manually_toggle" |
| 30 | > |
| 31 | <span>{{ translate_manually.toggle_text }}</span> |
| 32 | </button> |
| 33 | |
| 34 | <div |
| 35 | role="region" |
| 36 | aria-labelledby="translate_manually_toggle" |
| 37 | class="steps" |
| 38 | id="translate_manually_wrapper" |
| 39 | > |
| 40 | <ul> |
| 41 | <li>{{ translate_manually.products | raw }}</li> |
| 42 | <li>{{ translate_manually.product_categories | raw }}</li> |
| 43 | </ul> |
| 44 | </div> |
| 45 | </div> |
| 46 | |
| 47 |