Files
expressjs.com/_includes/language-picker-mobile.html
shubham oulkar 1917b49b99 chore: refactor footer and header icons (#1962)
* refactor footer

* fix icons layout

* remove font awesome icons

* refactor header icons

* redeploy netlify preview

* use absolute path for a svg icons

* replace img elements with CSS background-image and mask-image for theme icons

* fix bugs and remove unused css classes

* apply thin scroller for tables (chrome)

* inherit colors for footer social icons

* simplify openjs icon

* use openjs white logo

* simplify theme icons

* fix theme icons

* fix background color

* fix bugs and refactor theme.js

* remove color flicker

* fix bugs and refactor theme.js

* refactor

* remove comments from svg

* legacy fix: alignment of icons
2025-07-22 08:47:38 -05:00

20 lines
542 B
HTML

<div id="mobile-menu">
<div id="language-picker-button" class="header-btn">
{% include icons/i18n.svg %}
</div>
</div>
<div id="language-picker-menu">
<div id="navbar">
<ul id="navmenu">
{% assign url_parts = page.url | split: '/' %}
{% assign url_remainder = url_parts | slice: 2, url_parts.size | join: '/' %}
{% for lang in site.data.languages %}
<li class="submenu">
<a href="/{{ lang.code }}/{{ url_remainder }}">{{ lang.name }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>