Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用 VuePress 重寫網站 #54

Open
AvalonC opened this issue Mar 20, 2024 · 15 comments
Open

用 VuePress 重寫網站 #54

AvalonC opened this issue Mar 20, 2024 · 15 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@AvalonC
Copy link

AvalonC commented Mar 20, 2024

I feel that the content of this website is very beneficial for Cantonese learners. This website is currently powered by Hugo. Considering that there are not too many files in the website, I would like to know if I can rebuild this website with VuePress so that can provide better UI and UX for visitors. Although the website's content follows the CC0-1.0 License, I think this issue is still required for an approval.

@laubonghaudoi
Copy link
Member

@AvalonC 非常歡迎。你想用乜技術嚟整?目前我哋團隊冇人識 Vue 所以最好係用返 React例如 NextJS或者更加適合靜態網站嘅Astro之類

@AvalonC
Copy link
Author

AvalonC commented Jun 18, 2024

我而家都已出demo
avalonc.github.io/navigator_jyutping
呢個係基於Vue嘅VuePress所製

@AvalonC
Copy link
Author

AvalonC commented Jun 18, 2024

而家冇i18n,demo冇問題嘅話,我都會加

@AvalonC
Copy link
Author

AvalonC commented Jun 18, 2024

VuePress Doc:https://theme-hope.vuejs.press/

@laubonghaudoi
Copy link
Member

laubonghaudoi commented Jun 18, 2024

我記得NextJS 同 Astro 係有 i18n嘅?https://nextjs.org/docs/pages/building-your-application/routing/internationalization https://docs.astro.build/en/guides/internationalization/

我睇咗你嘅 avalonc.github.io/navigator_jyutping 覺得好靚做得好好,不過好似剩係得繁中普通話版本,我哋要默認粵文嘅。另外一個問題係,目前個 jyutping.org/jyutping 係一個專門畀粵拼方案表嘅路徑,但係喺你嘅 demo 度佢放咗入去個 learning 嗰度。可唔可以將佢獨立成一個頁面,保持返原有嘅路徑?

跟住就係,啲代碼可唔可以開源?噉樣我哋都可以改。

@laubonghaudoi laubonghaudoi changed the title [Feature Request] Rebuild site with VuePress 用 VuePress 重寫網站 Jun 18, 2024
@laubonghaudoi laubonghaudoi added enhancement New feature or request help wanted Extra attention is needed labels Jun 18, 2024
@AvalonC
Copy link
Author

AvalonC commented Jun 23, 2024

VuePress都支持i18n,淨係我冇做;我而家返工咗,慢慢完善。
code喺呢個Repository㗎:https://github.com/avalonc/navigator_jyutping

@laubonghaudoi
Copy link
Member

我想確定清楚,你係想將呢個新版網站取代現有嘅 jyutping.org,定係單純作為自己另一個網站?如果係想取代現有嘅 jyutping.org 噉應該要幾多改動。目前你嘅版本入面基本上都係書面語,我哋要改成默認全粵文嘅。

@AvalonC
Copy link
Author

AvalonC commented Jun 24, 2024

取代,我發出呢個issue就係爲呢個目的㗎;
demo只有一個語文版本係爲評估網站嘅構造同埋樣式是否符合CanCLID嘅要求,結構同樣式冇問題後,再進行餘下嘅modification同improvement

@laubonghaudoi
Copy link
Member

結構樣式係冇問題嘅,只不過內容可能會有好多變動。我列一啲我已經可以睇到嘅問題出嚟:

  1. 網站默認要用粵文,而家得繁體官話
  2. jyutping.org/jyutping 路徑要指向個粵拼方案表格,而且個排版最好唔好同其他文章一樣,要獨立一個大版
  3. 10 周學粵拼嗰度要加埋牆內版視頻,我哋有好多牆內用户睇唔到 YoutTube 嘅
  4. i18n 加齊所有語言翻譯版本
  5. 《點解要用粵拼》同其他博文要加埋
  6. 首頁嘅圖案設計要改,而家嗰啲紙箱同齒輪圖標有啲唔明係乜。

@graphemecluster
Copy link
Member

呢啲細節喺 repo 入面開 issue 慢慢傾都未遲,喺呢度首要嘅係我哋係咪決定用佢呢個 repo 同模式,要點遷移法(transfer repo 所產生嘅擁有權、著作權變更),係逐少用定係一次過用晒呢啲 meta 啲嘅嘢

@laubonghaudoi
Copy link
Member

laubonghaudoi commented Jun 24, 2024

我哋已經確定咗係用佢呢個樣式,佢話咗係取代嘅所以到時直接轉移到CanCLID名下。另外上面嗰幾點改進唔係細節嚟嘅,全部都係 launch blocking,要滿足晒先可以傾 transfer ownership嘅事。

@graphemecluster
Copy link
Member

你唔 transfer 嚟改佢咪要畀權限所有 CanCLID 成員改嘢?

@laubonghaudoi
Copy link
Member

我哋開PR就得啦

@AvalonC
Copy link
Author

AvalonC commented Jun 29, 2024

唔好意思,我而家得閒

  1. 冇問題,出咗Cantonese translation就可以做default language
  2. ok
  3. 我諗緊upload至bilibili
  4. 我先更新i18n站點架構,後做translation
  5. ok
  6. 你哋可以撲料畀我,我做modification

今期任務:調整i18n,加全博文,視頻轉移,我啲任務完成後畀你new comment

@laubonghaudoi
Copy link
Member

laubonghaudoi commented Jun 29, 2024

好嘅唔該晒你!搞掂咗嘅話可以直接提我哋。加 Bilibili 版冇問題嘅。仲有你加 i18n 嗰陣可以將個語言代碼順手改埋佢。而家個網站係用 zh-yue-hant 嘅,其實直接 yue 就得,跟住 zh-cmn-hant 都係直接改成 cmn-hant 就得。

另外我唔記得咗講,仲有一樣嘢可能要諗下點整嘅,就係 SEO。目前 Google 揾粵拼出嚟嘅 jyutping.org 啲介紹唔係好完整,排位都比較低。我唔知 vuepress對 SEO 嘅支援點,但係我估應該會比 Hugo 更加好,都應該花啲時間執下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants