mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-21 19:41:33 +00:00
* 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
20 lines
542 B
HTML
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> |