Skip to content

feat: add ICP and gongan beian icons#275

Open
mufengyian wants to merge 1 commit into
halo-dev:mainfrom
mufengyian:pr-beian
Open

feat: add ICP and gongan beian icons#275
mufengyian wants to merge 1 commit into
halo-dev:mainfrom
mufengyian:pr-beian

Conversation

@mufengyian

Copy link
Copy Markdown

Summary

Add ICP and gongan beian icons to the footer, replacing the old text-only display.

Changes

  • Added icp.webp and gongan.png to public/assets/images/, removed the old gongan_beian.png.
  • Updated src/partials/footer.html — Both footer styles now display the ICP icon alongside the ICP beian number, and the gongan icon alongside the gongan number.
  • Updated settings.yaml — Removed icp_link and gongan_link fields. The ICP link is hardcoded to beian.miit.gov.cn. The gongan link is automatically constructed from the gongan text via JavaScript.
  • Added client-side script to extract the gongan registration number from the user-provided text and append it as a query parameter to the MPS URL.
增加 ICP 备案和公安备案图标展示,公安备案号自动提取编号并链接至 MPS 查询页面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant