Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

45 Commits

Folders and files

Repository files navigation

NCTU 動畫社 網站

就是個網站而已。

Contributed By 冠位非洲人 Claude Opus 4.6
Powered By かなりあ

本機開發

本專案使用 Node.js + Express 作為本機靜態檔案伺服器,方便在開發時預覽頁面與 hot-reload。

npm install
npm run dev   # Start server.js, preview at http://localhost:3000

執行 npm test 可驗證迎新頁靜態資訊、主題切換及本機導覽路由。

網站直接使用原圖,不需要製作縮圖。首頁第一張大圖立即載入,其餘社課、活動剪影、幹部頭像與迎新海報使用 loading="lazy"、decoding="async",讓瀏覽器在接近圖片時下載,並安排非同步解碼。放大檢視仍使用原圖,點擊時立即載入。

新增圖片時可沿用 index.html 內的社課範本,保留載入設定,並將 width、height 改為原圖實際像素尺寸(可在檔案內容/詳細資料查看)。這兩個數值用來預留比例,畫面上的大小仍由 CSS 決定。只要加入原圖與 HTML,不需要增加其他圖片檔案。捲完整頁後,總下載量仍與原圖合計大小相近。

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages