Add menu-bar links

This commit is contained in:
Unisko PENG, 2023-03-29 10:23:35 +08:00
parent 46fcc478d0
commit 9e2ab10221
2 changed files with 246 additions and 231 deletions

View File

@ -113,9 +113,26 @@
</button>
</div>
<h1 class="menu-title">Yet another Chinese rust-lang book.</h1>
<h3 class="menu-title">Yet another Chinese rust-lang book.</h3>
<div class="right-buttons">
<a href="https://java.xfoss.com" title="Head First Java 中文版" aria-label="Head First Java 中文版">
☕·Head First Java 中文
</a>
<a href="https://ccna60d.xfoss.com" title="CCNA in 60 days" aria-label="CCNA 60 天">
🖧·60 天通过 CCNA
</a>
<a href="https://snippets.xfoss.com" title="代码片段与技术笔记code snippets and tech notes"
aria-label="代码片段与技术笔记code snippets and tech notes">
✨·代码片段与技术笔记
</a>
<a href="https://ts.xfoss.com" title="TypeScript 教程" aria-label="TypeScript 教程">
📜·TypeScript 教程
</a>
<a href="https://books.xfoss.com" title="捐赠donation" aria-label="捐赠donation">
🎁·捐赠donation
</a>
<a href="print.html" title="Print this book" aria-label="Print this book">
<i id="print-button" class="fa fa-print"></i>
</a>

View File

@ -140,11 +140,6 @@ html.classList.add("sidebar-" + sidebar);
<h3 class="menu-title">{{ book_title }}</h3>
<div class="right-buttons">
<a href="https://rust-lang.xfoss.com" title="Yet another Chinese rust-lang book"
aria-label="Yet another Chinese rust-lang book">
·Rust 官方书中文
</a>
<a href="https://java.xfoss.com" title="Head First Java 中文版" aria-label="Head First Java 中文版">
☕·Head First Java 中文
</a>
@ -158,6 +153,9 @@ html.classList.add("sidebar-" + sidebar);
<a href="https://ts.xfoss.com" title="TypeScript 教程" aria-label="TypeScript 教程">
📜·TypeScript 教程
</a>
<a href="https://books.xfoss.com" title="捐赠donation" aria-label="捐赠donation">
🎁·捐赠donation
</a>
{{#if print_enable}}
<a href="{{ path_to_root }}print.html" title="Print this book" aria-label="Print this book">