Feature/legal compliance cookie privacy - #9
Open
InesLiao0000 wants to merge 14 commits into
Open
Conversation
Defect 2: Improve accessibility labels and image alternatives
Fix DOM XSS risk in product rendering
defect3: add missing user feedback with toast notifications
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.
实现内容:
新增 Cookie Banner
首次访问页面底部弹出。
有 Accept cookies、Reject non-essential、Privacy Policy 三个按钮。
用户选择会保存到 localStorage,下次不会重复弹出。
新增独立页面:
privacy-policy.html
在首页 footer 加了:
Privacy Policy 链接
新增相关样式:
Cookie Banner 样式
Privacy Policy 页面样式
移动端响应式适配