Skip to content

Commit

Permalink
update pv uv
Browse files Browse the repository at this point in the history
  • Loading branch information
Sianao committed Dec 13, 2024
1 parent 291af66 commit 2b55479
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 48 deletions.
3 changes: 2 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ export default function Home() {
<Hero />
<Features></Features>
<AppAppBar></AppAppBar>
<Footer></Footer>
<WalineComment></WalineComment>
<Footer></Footer>

</AppTheme>
</>

Expand Down
59 changes: 16 additions & 43 deletions src/theme/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default function Footer() {
textAlign: { sm: 'center', md: 'left' },
}}
>

<Box
sx={{
display: 'flex',
Expand All @@ -60,13 +61,6 @@ export default function Footer() {
}}
>
<Box sx={{ width: { xs: '100%', sm: '60%' } }}>
{/*<SitemarkIcon />*/}
{/* <Typography variant="body2" gutterBottom sx={{ fontWeight: 600, mt: 2 }}>
Join the newsletter
</Typography>
<Typography variant="body2" sx={{ color: 'text.secondary', mb: 2 }}>
Subscribe for weekly updates. No spams ever!
</Typography> */}
<InputLabel htmlFor="email-newsletter">Email</InputLabel>
<Stack direction="row" spacing={1} useFlexGap>
<TextField
Expand Down Expand Up @@ -95,6 +89,16 @@ export default function Footer() {
</Button>
</Stack>
</Box>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<Box color="text.secondary" sx={{
gap: 2,
display: 'flex',
borderColor: 'divider',
}}>
<div>本站总访问量: <a id="busuanzi_value_site_pv"></a> </div>
<div>本站总访客数: <a id="busuanzi_value_site_uv"></a></div>

</Box>
</Box>
<Box
sx={{
Expand All @@ -103,24 +107,6 @@ export default function Footer() {
gap: 1,
}}
>
{/* <Typography variant="body2" sx={{ fontWeight: 'medium' }}>
Product
</Typography>
<Link color="text.secondary" variant="body2" href="#">
Features
</Link>
<Link color="text.secondary" variant="body2" href="#">
Testimonials
</Link>
<Link color="text.secondary" variant="body2" href="#">
Highlights
</Link>
<Link color="text.secondary" variant="body2" href="#">
Pricing
</Link>
<Link color="text.secondary" variant="body2" href="#">
FAQs
</Link> */}
</Box>
<Box
sx={{
Expand Down Expand Up @@ -158,6 +144,7 @@ export default function Footer() {
<Link color="text.secondary" variant="body2" href="#">
Privacy
</Link>

<Link color="text.secondary" variant="body2" href="#">
Contact
</Link>
Expand All @@ -184,6 +171,9 @@ export default function Footer() {
Terms of Service
</Link>
<Copyright />
<div className="bwaline-pageview-count" color="text.secondary" >

</div>
</div>
<Stack
direction="row"
Expand All @@ -200,24 +190,7 @@ export default function Footer() {
>
<FacebookIcon />
</IconButton>
{/* <IconButton
color="inherit"
size="small"
href="https://x.com/MaterialUI"
aria-label="X"
sx={{ alignSelf: 'center' }}
>
<TwitterIcon />
</IconButton> */}
{/* <IconButton
color="inherit"
size="small"
href="https://www.linkedin.com/company/mui/"
aria-label="LinkedIn"
sx={{ alignSelf: 'center' }}
>
<LinkedInIcon /> */}
{/* </IconButton> */}

</Stack>
</Box>
</Container>
Expand Down
6 changes: 2 additions & 4 deletions src/theme/comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const WalineComment = () => {

return (
<Container>

<Box
id="waline"
sx={{
Expand All @@ -49,9 +49,7 @@ const WalineComment = () => {
borderRadius: 2,
boxShadow: theme.shadows[2],
}}

/>

/>
</Container>
);
};
Expand Down

0 comments on commit 2b55479

Please sign in to comment.