更新相簿頁面瀏覽體驗 - #189
Merged
Merged
Conversation
Deploying website2022 with
|
| Latest commit: |
13f3d6e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1440b9bf.website2022.pages.dev |
| Branch Preview URL: | https://agent-optimize-gallery-pages.website2022.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
變更內容
原因與影響
原本每張相簿卡片同時渲染手機版及桌機版圖片,可能造成重複下載與多餘 DOM。這次調整可降低圖片載入負擔,並讓桌面及手機上的瀏覽、搜尋與放大操作更清楚一致。
驗證
yarn exec -- prettier --check src/pages/gallery_list.js src/templates/gallery.js src/css/gallery.css src/css/pagination.cssyarn build