Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzeTT committed May 23, 2024
1 parent c639a0c commit 1057b6d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 38 deletions.
71 changes: 37 additions & 34 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/sticker_logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>大贴纸 - 在线生成收藏物料</title>
<!-- Google tag (gtag.js) -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-ZNVB76LBFR"></script>

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/images/big-sticker_logo.webp" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>大贴纸 - 在线生成收藏物料</title>
<!-- Google tag (gtag.js) -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-ZNVB76LBFR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ZNVB76LBFR');
</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", "jd2me6das9");
</script>
<script>
window.addEventListener("load", (event) => {
const id = localStorage.getItem("id")
if (id) {
window.clarity("identify", id).then((v)=>{
console.log(v)
localStorage.setItem("userId", v.userId)
// localStorage.setItem("sessionId", v.sessionId)
})
} else {
console.log('noid');
}
});
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
<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", "jd2me6das9");
</script>
<script>
window.addEventListener("load", (event) => {
const id = localStorage.getItem("id")
if (id) {
window.clarity("identify", id).then((v) => {
console.log(v)
localStorage.setItem("userId", v.userId)
// localStorage.setItem("sessionId", v.sessionId)
})
} else {
console.log('noid');
}
});
</script>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
4 changes: 2 additions & 2 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function Footer() {
return (
<div>
<div flex='~ items-center justify-center' py-4 bg='white'>
<div className='text-sm op-50' onClick={()=>{
<div className='text-sm op-50' onClick={() => {
Modal.info({
title: '调试信息',
okText: '上传问题',
Expand All @@ -23,7 +23,7 @@ export default function Footer() {
</div>
)
});
}}>© 2023 YuzeTT</div>
}}>© 2024 YuzeTT</div>
<div text='sm' op10 mx-2>|</div>
<a href='https://hsott.cn' className='decoration-none text-blue-500 op50 hover:op100 transition'>hsott.cn</a>
<div text='sm' op10 mx-2>|</div>
Expand Down
8 changes: 6 additions & 2 deletions src/pages/user.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,14 @@ export default function User() {
</DrawerContent>
</Drawer>

<div>
本站已不再出售VIP,您可以通过 <a href="/coffee" text-blue-600 underline>赞助本站</a> 来支持我哦!
</div>

{/* <div className='card overflow-hidden pb-2'>
<iframe src="https://afdian.net/leaflet?slug=sticker" width="100%" scrolling="no" height="200" frameborder="0" className=''></iframe>
</div> */}
<div className='card'>
{/* <div className='card'>
<div>
<div grid grid-cols-1>
<div bg-white p-4 rounded-xl relative>
Expand Down Expand Up @@ -339,7 +343,7 @@ export default function User() {
</div>
</div>
</div>
</div>
</div> */}
</div>
</>
)
Expand Down

0 comments on commit 1057b6d

Please sign in to comment.