Commit Graph

4 Commits (705351554cf1a71dd85cc6c9407dd1f05017e5cd)

Author SHA1 Message Date
DeltaX cc511f24b8 [zh] Sync community page.
Sync X icon.
Sync en comments.
2023-12-11 23:03:30 +08:00
Neko Ayaka 3aeff30a8e
Improve readabilities by restricting X (Twitter) widget width and height in /community page
1. Limit embedded X (Twitter) widget iframe with
   - 600px of width with data-width attribute,
   - 800px of height with data-height attribute.
2. Adjusted the styles of the container of X (Twitter) widget for better UI/UX with centered elements.

Signed-off-by: Neko Ayaka <neko@ayaka.moe>
2023-11-01 11:15:16 +08:00
Neko Ayaka c5d69dcd9c
[zh] Sync outdated style and structure of /community page
1. The `/community/_index` page is outdated by comparing to the English version.
2. Not well-formatted and organized, and the style is not consistent with the English version.
3. Tweak some of the translation of `/community/_index` page.

Signed-off-by: Neko Ayaka <neko@ayaka.moe>
2023-10-30 21:27:46 +08:00
Qiming Teng c52818c03d Switch language name 'zh' to 'zh-cn'
This is the first step to rename 'zh' to 'zh-cn'. There are several reasons why we rename the language name.

- The upstream docsy theme changed the language name, leading to many warnings during site build;
  The side-effect is that the i18n strings are no longer working.
- We believe renaming the language is the right thing to do, because this move can make room for other variants of Chinese language, such as 'zh-tw', 'zh-sg' etc.

There would be several follow-ups to this PR, such as fixing the intra-site links, adding redirects etc.

We will lock up changes to zh/zh-cn pages for the moment, until this one gets in.

This PR is based on commit cdad0a7342.
2022-06-10 22:33:41 +08:00