Skip to content

Commit

Permalink
chore: update police beian
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Dec 15, 2023
1 parent 166e0f9 commit 6d01972
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ const { themes } = require('prism-react-renderer');

const path = require('path')
const beian = '闽ICP备2020017848号-2'
const beian1 = '闽公网安备35021102000847号'

const announcementBarContent = `<a href="https://github.com/kuizuo/js-deobfuscator" target="_blank">JS 混淆代码还原, 感兴趣可以看看</a>`
const announcementBarContent = ``


export default async function createConfigAsync() {
Expand All @@ -18,10 +19,10 @@ export default async function createConfigAsync() {
tagline: '道阻且长,行则将至',
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
themeConfig: {
announcementBar: {
id: 'announcementBar-3',
content: announcementBarContent,
},
// announcementBar: {
// id: 'announcementBar-3',
// content: announcementBarContent,
// },
metadata: [
{
name: 'keywords',
Expand Down Expand Up @@ -123,7 +124,11 @@ export default async function createConfigAsync() {
],
},
],
copyright: `<p><a href="http://beian.miit.gov.cn/" >${beian}</a></p><p>Copyright © 2020 - PRESENT 愧怍 Built with Docusaurus.</p>`,
copyright: `
<p style="margin-bottom: 0;"><a href="http://beian.miit.gov.cn/">${beian}</a></p>
<p style="display: inline-flex; align-items: center;"><img style="height:20px;margin-right: 0.5rem;" src="/img/police.png" /><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=${beian1.match(/\d+/)?.[0]}" >${beian1}</a></p>
<p>Copyright © 2020 - PRESENT 愧怍 Built with Docusaurus.</p>
`,
},
algolia: {
appId: 'GV6YN1ODMO',
Expand Down
Binary file added static/img/police.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 6d01972

@vercel
Copy link

@vercel vercel bot commented on 6d01972 Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-kuizuo1.vercel.app
kuizuo.cn
blog-git-main-kuizuo1.vercel.app
blog-kuizuo.vercel.app

Please sign in to comment.