Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

[U] optimize style selection logic #1

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Conversation

Linzh7
Copy link

@Linzh7 Linzh7 commented Feb 7, 2024

  1. I optimized style selection logic. The code is slightly cleaner now.
  2. The zh-hans and zh-hant sites of Uniguide were not well supported. Now it should work.

Further work:
Maybe we can add an extra .Site attribute to give a unique value for each site regardless of site language and title. Nonetheless, it may not be an issue worth considering currently.

@sauricat sauricat merged commit 77a78fe into one-among-us:master Feb 8, 2024
artefaritaKuniklo added a commit that referenced this pull request Mar 19, 2024
* [+] Add navigation bar

* [F] Fix typo

* [U] Update License

* [F] Fix padding

* [U] Update uniguide url

* [F] Fix mobile display

* [S] better navigation bar

* [R] Revert "[S] better navigation bar"

This reverts commit cbd9154.

* [U] Update logo

* [F] Fix padding

* [U] Add toggle button for dark/light mode

* [F] Fix dark mode toggle button

* [U] optimize style selection logic (#1)

* [U] optimize logic of confirming current site

* [U] support different languages of Uniguide

* [U] alter navbar style

---------

Co-authored-by: sauricat <[email protected]>
Co-authored-by: Elihuso Quigley <[email protected]>
Co-authored-by: Linzh <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants