mirror of
https://github.com/minio/docs.git
synced 2025-04-25 17:22:39 +03:00
Fixes https://github.com/minio/docs/issues/842 Also made some changes to the dark-mode/read-mode icons to maintain the consistency with KES docs UI. **Preview:** <img width="627" alt="Screenshot 2023-06-15 at 14 19 32" src="https://github.com/minio/docs/assets/13393018/708d8991-c6af-406f-a474-65449c38c06c"> <img width="627" alt="Screenshot 2023-06-15 at 14 19 36" src="https://github.com/minio/docs/assets/13393018/63f9db43-1408-4e96-81ad-9ecb7c39b9f0"> **Updating the list:** Edit the `docs` array in `default.conf.py@268`.
73 lines
3.2 KiB
HTML
73 lines
3.2 KiB
HTML
<header class="header inactive">
|
|
<div class="container">
|
|
<div class="header__top">
|
|
<a href="/" class="header__logo">
|
|
<svg viewBox="0 0 162.612 24.465">
|
|
<path d="M52.751.414h9.108v23.63h-9.108zM41.711.74l-18.488 9.92a.919.919 0 0 1-.856 0L3.879.74A2.808 2.808 0 0 0 2.558.414h-.023A2.4 2.4 0 0 0 0 2.641v21.376h9.1V13.842a.918.918 0 0 1 1.385-.682l10.361 5.568a3.634 3.634 0 0 0 3.336.028l10.933-5.634a.917.917 0 0 1 1.371.69v10.205h9.1V2.641A2.4 2.4 0 0 0 43.055.414h-.023a2.808 2.808 0 0 0-1.321.326zm65.564-.326h-9.237v10.755a.913.913 0 0 1-1.338.706L72.762.675a2.824 2.824 0 0 0-1.191-.261h-.016a2.4 2.4 0 0 0-2.535 2.227v21.377h9.163V13.275a.914.914 0 0 1 1.337-.707l24.032 11.2a2.813 2.813 0 0 0 1.188.26 2.4 2.4 0 0 0 2.535-2.227zm7.161 23.63V.414h4.191v23.63zm28.856.421c-11.274 0-19.272-4.7-19.272-12.232C124.02 4.741 132.066 0 143.292 0s19.32 4.7 19.32 12.233-7.902 12.232-19.32 12.232zm0-21.333c-8.383 0-14.84 3.217-14.84 9.1 0 5.926 6.457 9.1 14.84 9.1s14.887-3.174 14.887-9.1c0-5.883-6.504-9.1-14.887-9.1z" />
|
|
</svg>
|
|
</a>
|
|
|
|
<div class="header__docs">
|
|
<div class="header__docs__current">
|
|
{{ docs[0].name }}
|
|
|
|
{%- include "icons/chevron-down.html" %}
|
|
</div>
|
|
<nav class="header__docs__menu">
|
|
{% for doc in docs %}
|
|
{% set current_name = doc.name if doc.current == True %}
|
|
<a target="{% if doc.external == True %}_blank{% endif %}" class="{% if doc.current == True %}current{% endif %}" href="{{ doc.url }}">
|
|
{{ doc.name }}
|
|
</a>
|
|
{% endfor %}
|
|
</nav>
|
|
</div>
|
|
|
|
<nav class="nav hidden-rm">
|
|
<a target="_blank" rel="noreferrer" href="https://subnet.min.io/" class="nav__link">
|
|
<span>Customer Login</span>
|
|
</a>
|
|
</nav>
|
|
|
|
<div class="header__actions">
|
|
<button data-aside-toggle="nav" type="button" class="icon visible-rm">
|
|
{%- include "icons/menu.html" %}
|
|
Menu
|
|
</button>
|
|
|
|
<button id="dark-mode-toggle" type="button" class="icon icon--switch">
|
|
{%- include "icons/moon.html" %}
|
|
{%- include "icons/sun.html" %}
|
|
Dark Mode
|
|
</button>
|
|
|
|
<button id="read-mode-toggle" type="button" class="icon icon--switch">
|
|
{%- include "icons/book.html" %}
|
|
{%- include "icons/book-active.html" %}
|
|
Reading Mode
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
{%- include "top-navigation.html" %}
|
|
|
|
<h2 class="header__title hidden-rm">Documentation</h2>
|
|
|
|
{%- if pagename != "search" %}
|
|
<div id="search">
|
|
<div class="search__inner">
|
|
<div id="search-box"></div>
|
|
|
|
<div class="search__dropdown">
|
|
<div id="search-filters"></div>
|
|
<div id="search-clear"></div>
|
|
<div id="search-results"></div>
|
|
<div id="search-powered-by"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{%- endif %}
|
|
</div>
|
|
|
|
{%- include "platform-navigation.html" %}
|
|
</header> |