style: update footer layout and visibility
- Adjust footer padding for improved spacing - Change visitor and view statistics display to a more concise format - Maintain consistent font sizes for better readability These changes enhance the visual presentation of the footer while maintaining the functionality of hidden visitor statistics.
This commit is contained in:
parent
b0bdb72f8e
commit
8cacf2a9ff
@ -74,55 +74,25 @@
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- 页脚 -->
|
<!-- 页脚 -->
|
||||||
<footer class="footer footer-center p-6 bg-base-200 text-base-content">
|
<footer class="footer footer-center p-8 bg-base-200 text-base-content">
|
||||||
<div class="container mx-auto flex flex-col gap-2">
|
<div class="container mx-auto flex flex-col gap-2">
|
||||||
<!-- 站点统计 -->
|
<div id="busuanzi_container" class="text-sm opacity-70 hidden">
|
||||||
<div id="busuanzi_container" class="hidden">
|
<div class="space-x-2">
|
||||||
<div class="text-xs opacity-70 flex flex-wrap justify-center gap-x-4 gap-y-1">
|
<span>Page Views: <span id="busuanzi_value_page_pv"></span></span>
|
||||||
<!-- 页面统计 -->
|
<span>|</span>
|
||||||
<div class="flex items-center gap-3">
|
<span>Page Visitors: <span id="busuanzi_value_page_uv"></span></span>
|
||||||
<span class="text-primary/70 font-medium">PAGE:</span>
|
<span>|</span>
|
||||||
<span class="flex items-center gap-2">
|
<span>Total Views: <span id="busuanzi_value_site_pv"></span></span>
|
||||||
<span class="flex items-center gap-1">
|
<span>|</span>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-3 w-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
<span>Total Visitors: <span id="busuanzi_value_site_uv"></span></span>
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
|
|
||||||
</svg>
|
|
||||||
<span id="busuanzi_value_page_pv"></span>
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center gap-1">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-3 w-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0z" />
|
|
||||||
</svg>
|
|
||||||
<span id="busuanzi_value_page_uv"></span>
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- 总站统计 -->
|
|
||||||
<div class="flex items-center gap-3">
|
|
||||||
<span class="text-secondary/70 font-medium">TOTAL:</span>
|
|
||||||
<span class="flex items-center gap-2">
|
|
||||||
<span class="flex items-center gap-1">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-3 w-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2z" />
|
|
||||||
</svg>
|
|
||||||
<span id="busuanzi_value_site_pv"></span>
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center gap-1">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-3 w-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1z" />
|
|
||||||
</svg>
|
|
||||||
<span id="busuanzi_value_site_uv"></span>
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="font-display opacity-80 text-sm">
|
<p class="font-display opacity-80">
|
||||||
Copyright © 2024 - All rights reserved by AI Weather Art
|
Copyright © 2024 - All rights reserved by AI Weather Art
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user