Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualHotBar authored Jul 30, 2024
1 parent f2fe193 commit bc957ac
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

<head>
<meta charset="UTF-8">
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/favicon.ico">
<link rel="shortcut icon" href="//p1.hotpe.top/i/p/1/66a91b7c805a2.png" />
<link rel="icon" type="image/svg+xml" href="//p1.hotpe.top/i/p/1/66a91b7c805a2.png" />
<link rel="apple-touch-icon" href="//p1.hotpe.top/i/p/1/66a91b7c805a2.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="author" content="VirtualHotBar">
Expand All @@ -17,15 +17,39 @@
<meta property="og:description" content="WinNew是一个获取原版Windows镜像的网站, 镜像来自于Windows更新服务器,提供直链下载。原汁原味,纯净无修改!">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="VirtualHotBar">

<title>WinNew - 关于</title>

<script>
document.addEventListener("DOMContentLoaded", function() {
const cdnBasePath = '//p1.hotpe.top/gh/VirtualHotBar/WinNew_Web@dist';
const elements = document.querySelectorAll('script[src], link[href]');

elements.forEach(function(el) {
let currentSrc = el.src || el.href;
if (currentSrc.includes('static/js/') || currentSrc.includes('static/css/')) {
el.src = el.src.replace('/static/js/', `${cdnBasePath}/static/js/`);
el.href = el.href.replace('/static/css/', `${cdnBasePath}/static/css/`);
}
});
});
</script>

<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "ne634b895w");
</script>

<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
<script>LA.init({id:"KMXcXkix0m3qBlgg",ck:"KMXcXkix0m3qBlgg"})</script>

<title>WinNew - 关于</title>
</head>

<body style="margin:0;display:block;">
<div id="root" style="width: 100%;"></div>
<script type="module" src="../src/App.tsx"></script>
</body>
</html>
</html>

0 comments on commit bc957ac

Please sign in to comment.