Copy environment

Languages

<nav class="languages  ">
    <ul class="list  languages__list">
        <li class="list__item languages__item"> <a href="#" class="link  languages__link is-current">
    eng
</a>
        </li>
        <li class="list__item languages__item"> <a href="#" class="link  languages__link">
    est
</a>
        </li>
    </ul>
</nav>
{
  "language": "en-US",
  "data": {
    "items": [
      {
        "link": "#",
        "title": "eng",
        "current": "true"
      },
      {
        "link": "#",
        "title": "est"
      }
    ]
  }
}

Dark

<nav class="languages  ">
    <ul class="list  languages__list">
        <li class="list__item languages__item"> <a href="#" class="link  languages__link is-current">
    eng
</a>
        </li>
        <li class="list__item languages__item"> <a href="#" class="link  languages__link">
    est
</a>
        </li>
    </ul>
</nav>
{
  "language": "en-US",
  "data": {
    "items": [
      {
        "link": "#",
        "title": "eng",
        "current": "true"
      },
      {
        "link": "#",
        "title": "est"
      }
    ]
  }
}
  • Handle: @languages--dark
  • Tags:
  • Variants (2): default, dark
  • Preview:
  • Filesystem Path: src/patterns/components/languages/languages.twig
  • References (2): @link, @list