Display ICP License

pull/40/head
ChrisKim 2022-11-28 19:46:48 +08:00
parent bb67f7f2a7
commit 25e5229498
No known key found for this signature in database
GPG Key ID: 9D08101BC21C3016
2 changed files with 6 additions and 0 deletions

View File

@ -33,4 +33,7 @@ window.Config = {
url: 'https://abo.xyz/' url: 'https://abo.xyz/'
}, },
], ],
// 页脚ICP备案信息(留空不显示)
IcpLicense: '',
}; };

View File

@ -13,6 +13,8 @@ function App() {
return []; return [];
}, []); }, []);
const { IcpLicense } = window.Config;
return ( return (
<> <>
<Header /> <Header />
@ -23,6 +25,7 @@ function App() {
))} ))}
</div> </div>
<div id='footer'> <div id='footer'>
<p><Link to='https://beian.miit.gov.cn/' text={IcpLicense} /></p>
<p>基于 <Link to='https://uptimerobot.com/' text='UptimeRobot' /> 接口制作检测频率 5 分钟</p> <p>基于 <Link to='https://uptimerobot.com/' text='UptimeRobot' /> 接口制作检测频率 5 分钟</p>
<p>&copy; 2020 <Link to='https://status.org.cn/' text='STATUS.ORG.CN' />, Version {Package.version}</p> <p>&copy; 2020 <Link to='https://status.org.cn/' text='STATUS.ORG.CN' />, Version {Package.version}</p>
</div> </div>