Skip to content

Commit

Permalink
Replaced lang selector IDs w/ ghost anchors to increase top-padding o…
Browse files Browse the repository at this point in the history
…n back-to-top link clicks
  • Loading branch information
adamlui committed Oct 11, 2024
1 parent 46be1bd commit ac62f95
Show file tree
Hide file tree
Showing 42 changed files with 165 additions and 83 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ This library exists thanks to code, translations, issues & ideas from the follow
**[Releases](https://github.com/KudoAI/chatgpt.js/releases)** /
[Userguide](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Discuss](https://github.com/KudoAI/chatgpt.js/discussions) /
[Back to top ↑](#lang-selector)
[Back to top ↑](#top)

</div>
6 changes: 4 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ This library exists thanks to code, translations, issues & ideas from the follow
**[Releases](https://github.com/KudoAI/chatgpt.js/releases)** /
[Userguide](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Discuss](https://github.com/KudoAI/chatgpt.js/discussions) /
[Back to top ↑](#lang-selector)
[Back to top ↑](#top)

</div>
6 changes: 4 additions & 2 deletions docs/de/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ Diese Bibliothek existiert dank Code, Übersetzungen, Problemen und Ideen der fo
**[Veröffentlichungen](https://github.com/KudoAI/chatgpt.js/releases)** /
[Benutzerhandbuch](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Diskutieren](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">Zurück nach oben ↑</a>
<a href="#top">Zurück nach oben ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/es/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ Esta biblioteca existe gracias al código, las traducciones, los problemas y las
**[Lanzamientos](https://github.com/KudoAI/chatgpt.js/releases)** /
[Guía del usuario](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Conversar](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">Volver arriba ↑</a>
<a href="#top">Volver arriba ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/fr/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ Cette bibliothèque existe grâce au code, aux traductions, aux problèmes et au
**[Communiqués](https://github.com/KudoAI/chatgpt.js/releases)** /
[Guide de l'utilisateur](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Discuter](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">Retour au sommet ↑</a>
<a href="#top">Retour au sommet ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/hi/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
**[विज्ञप्ति](https://github.com/KudoAI/chatgpt.js/releases)** /
[यूजरगाइड](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[चर्चा करना](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">वापस शीर्ष पर ↑</a>
<a href="#top">वापस शीर्ष पर ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/it/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ Questa libreria esiste grazie al codice, alle traduzioni, alle issues e alle ide
**[Versioni](https://github.com/KudoAI/chatgpt.js/releases)** /
[Guida per l'utente](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Discutere](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">Torna all'inizio ↑</a>
<a href="#top">Torna all'inizio ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/ja/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ chatgpt.js で何かを作成して共有したい場合は、<a href="mailto:sh
**[リリース](https://github.com/KudoAI/chatgpt.js/releases)** /
[ユーザーガイド](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[議論](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">トップに戻る ↑</a>
<a href="#top">トップに戻る ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/ko/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -364,6 +366,6 @@ chatgpt.js 를 사용해 공유하고 싶은 프로젝트가 있다면, <a href=
**[릴리스](https://github.com/KudoAI/chatgpt.js/releases)** /
[사용자 가이드](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[토론](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">상단으로 ↑</a>
<a href="#top">상단으로 ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/ne/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
**[विज्ञप्ति](https://github.com/KudoAI/chatgpt.js/releases)** /
[यूजरगाइड](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[चर्चा](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">शीर्षमा जाऔं ↑</a>
<a href="#top">शीर्षमा जाऔं ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/nl/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ Deze bibliotheek bestaat dankzij code, vertalingen, problemen en ideeën van de
**[Uitgaven](https://github.com/KudoAI/chatgpt.js/releases)** /
[gebruikershandleiding](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Bespreken](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">Terug naar boven ↑</a>
<a href="#top">Terug naar boven ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/pt/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -360,6 +362,6 @@ Esta biblioteca existe graças ao código, traduções, problemas e ideias dos s
**[Lançamentos](https://github.com/KudoAI/chatgpt.js/releases)** /
[guia do usuário](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Discutir](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">De volta ao topo ↑</a>
<a href="#top">De volta ao topo ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/ru/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -355,6 +357,6 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
**[Релизы](https://github.com/KudoAI/chatgpt.js/releases)** /
[Руководство пользователя](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Обсуждать](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">Вернуться наверх ↑</a>
<a href="#top">Вернуться наверх ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/vi/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -367,6 +369,6 @@ Thư viện này tồn tại nhờ mã, bản dịch, vấn đề & ý tưởng
**[Phát hành](https://github.com/KudoAI/chatgpt.js/releases)** /
[Hướng dẫn sử dụng](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[Bàn luận](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">Trở lại đầu trang ↑</a>
<a href="#top">Trở lại đầu trang ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/zh-cn/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -359,6 +361,6 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
**[发布](https://github.com/KudoAI/chatgpt.js/releases)** /
[用户指南](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[讨论](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">返回顶部 ↑</a>
<a href="#top">返回顶部 ↑</a>

</div>
6 changes: 4 additions & 2 deletions docs/zh-tw/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div id="repo-cover" align="center">

<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
<picture>
Expand Down Expand Up @@ -359,6 +361,6 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
**[發布](https://github.com/KudoAI/chatgpt.js/releases)** /
[用戶指南](https://github.com/KudoAI/chatgpt.js/blob/v3.3.4/docs/USERGUIDE.md) /
[討論](https://github.com/KudoAI/chatgpt.js/discussions) /
<a href="#lang-selector">回到頂部 ↑</a>
<a href="#top">回到頂部 ↑</a>

</div>
6 changes: 4 additions & 2 deletions starters/chrome/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://media.chatgptjs.org/images/icons/earth-americas-white-icon32.svg?main">
Expand Down Expand Up @@ -90,4 +92,4 @@ These are some of the extensions featured by Google that use chatgpt.js:

#

<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Get Help</a> / <a href="#lang-selector">Back to top ↑</a>
<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Get Help</a> / <a href="#top">Back to top ↑</a>
6 changes: 4 additions & 2 deletions starters/chrome/docs/de/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://media.chatgptjs.org/images/icons/earth-americas-white-icon32.svg?main">
Expand Down Expand Up @@ -90,4 +92,4 @@ Dies sind einige der von Google angebotenen Erweiterungen, die chatgpt.js verwen

#

<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Hilfe bekommen</a> / <a href="#lang-selector">Zurück nach oben ↑</a>
<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Hilfe bekommen</a> / <a href="#top">Zurück nach oben ↑</a>
6 changes: 4 additions & 2 deletions starters/chrome/docs/es/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://media.chatgptjs.org/images/icons/earth-americas-white-icon32.svg?main">
Expand Down Expand Up @@ -90,4 +92,4 @@ Estas son algunas de las extensiones presentadas por Google que usan chatgpt.js:

#

<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Consigue ayuda</a> / <a href="#lang-selector">Volver arriba ↑</a>
<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Consigue ayuda</a> / <a href="#top">Volver arriba ↑</a>
6 changes: 4 additions & 2 deletions starters/chrome/docs/fr/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://media.chatgptjs.org/images/icons/earth-americas-white-icon32.svg?main">
Expand Down Expand Up @@ -90,4 +92,4 @@ Voici quelques-unes des extensions proposées par Google qui utilisent chatgpt.j

#

<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Obtenir de l'aide</a> / <a href="#lang-selector">Retour au sommet ↑</a>
<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Obtenir de l'aide</a> / <a href="#top">Retour au sommet ↑</a>
6 changes: 4 additions & 2 deletions starters/chrome/docs/hi/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://media.chatgptjs.org/images/icons/earth-americas-white-icon32.svg?main">
Expand Down Expand Up @@ -90,4 +92,4 @@

#

<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">मदद लें</a> / <a href="#lang-selector">वापस शीर्ष पर ↑</a>
<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">मदद लें</a> / <a href="#top">वापस शीर्ष पर ↑</a>
6 changes: 4 additions & 2 deletions starters/chrome/docs/it/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://media.chatgptjs.org/images/icons/earth-americas-white-icon32.svg?main">
Expand Down Expand Up @@ -90,4 +92,4 @@ Queste sono alcune delle estensioni presenti in Google che utilizzano chatgpt.js

#

<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Ottenere aiuto</a> / <a href="#lang-selector">Torna in cima ↑</a>
<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">Ottenere aiuto</a> / <a href="#top">Torna in cima ↑</a>
6 changes: 4 additions & 2 deletions starters/chrome/docs/ja/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://media.chatgptjs.org/images/icons/earth-americas-white-icon32.svg?main">
Expand Down Expand Up @@ -90,4 +92,4 @@

#

<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">助けを得ます</a> / <a href="#lang-selector">トップに戻る ↑</a>
<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">助けを得ます</a> / <a href="#top">トップに戻る ↑</a>
6 changes: 4 additions & 2 deletions starters/chrome/docs/ko/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div id="lang-selector" align="center">
<a id="top"></a>

<div align="center">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://media.chatgptjs.org/images/icons/earth-americas-white-icon32.svg?main">
Expand Down Expand Up @@ -90,4 +92,4 @@

#

<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">도움 받기</a> / <a href="#lang-selector">맨 위로 ↑</a>
<a href="https://github.com/KudoAI/chatgpt.js-chrome-starter/issues">도움 받기</a> / <a href="#top">맨 위로 ↑</a>
Loading

0 comments on commit ac62f95

Please sign in to comment.