mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
不蒜子统计抽离,首页列数增加
This commit is contained in:
@@ -6,12 +6,22 @@ const Footer = ({ fullWidth = true }) => {
|
||||
const y = d.getFullYear()
|
||||
return (
|
||||
<footer
|
||||
className='flex-shrink-0 m-auto w-full text-gray-500 dark:text-gray-400 text-sm text-gray-400 p-6'
|
||||
className='flex-shrink-0 m-auto w-full mx-auto text-gray-500 dark:text-gray-400 text-sm text-gray-400 p-6'
|
||||
>
|
||||
<span className='fa fa-shield leading-6'> <a href='https://beian.miit.gov.cn/' className='ml-1'>闽ICP备20010331号</a></span>
|
||||
<br />
|
||||
<span className='fa fa-copyright leading-6'> {` ${y}`} {BLOG.author} </span>
|
||||
<br />
|
||||
<span className='fa fa-shield leading-6'> <a href='https://beian.miit.gov.cn/' className='ml-1'>闽ICP备20010331号</a></span>
|
||||
<br />
|
||||
<span className='fa fa-copyright leading-6'> {` ${y}`} {BLOG.author} </span>
|
||||
<br />
|
||||
<span id='busuanzi_container_site_pv' className=''>
|
||||
<a id='busuanzi_container_site_pv' target='_blank' className='fa fa-eye' rel='noreferrer'
|
||||
href='https://www.cnzz.com/stat/website.php?web_id=1279970751'> <span
|
||||
id='busuanzi_value_site_pv' className='px-1'>99999</span> pv</a>
|
||||
</span>
|
||||
<span id='busuanzi_container_site_uv' className='pl-2'>
|
||||
<a className='fa fa-user' rel='noreferrer' target='_blank'
|
||||
href='http://tongji.baidu.com/web/10000363165/overview/index?siteId=16809429'>
|
||||
<span id='busuanzi_value_site_uv' className='px-1'>99999</span> uv</a>
|
||||
</span>
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -49,7 +49,6 @@ const SideBarEmbed = ({ tags, currentTag, post }) => {
|
||||
{/* 站点信息 */}
|
||||
<section className='my-3 xl:block'>
|
||||
<hr className='dark:border-gray-600'/>
|
||||
<Footer />
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -49,16 +49,6 @@ const SideBarResponsive = ({ tags, currentTag, post }) => {
|
||||
{/* 站点信息 */}
|
||||
<section className='my-3 hidden xl:block'>
|
||||
<hr className='dark:border-gray-600'/>
|
||||
<div className='mx-6 dark:text-gray-400 text-gray-500 mt-2'>
|
||||
<span id='busuanzi_container_site_pv' className='hidden'>
|
||||
<a id='busuanzi_container_site_pv' href='https://www.cnzz.com/stat/website.php?web_id=1279970751' target='_blank'
|
||||
className='fa fa-user' rel='noreferrer'> pv <span id='busuanzi_value_site_pv'></span></a>
|
||||
</span>
|
||||
<span id='busuanzi_container_site_uv' className='hidden'><span className='s'> | </span>
|
||||
<a href='http://tongji.baidu.com/web/10000363165/overview/index?siteId=16809429' target='_blank' className='fa fa-eye' rel='noreferrer'> uv <span id='busuanzi_value_site_uv'></span></a>
|
||||
</span>
|
||||
</div>
|
||||
<Footer />
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -8,6 +8,7 @@ import CommonHead from '@/components/CommonHead'
|
||||
import TopNav from '@/components/TopNav'
|
||||
import Tags from '@/components/Tags'
|
||||
import SideBarResponsive from '@/components/SideBarResponsive'
|
||||
import Footer from '@/components/Footer'
|
||||
|
||||
const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
|
||||
const meta = {
|
||||
@@ -76,7 +77,7 @@ const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
|
||||
|
||||
<div className=''>
|
||||
{/* 文章列表 */}
|
||||
<div className='grid xl:grid-cols-3 lg:grid-cols-2 grid-cols-1 gap-3'>
|
||||
<div className='grid xl:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-3'>
|
||||
{!postsToShow.length && (
|
||||
<p className='text-gray-500 dark:text-gray-300'>No posts found.</p>
|
||||
)}
|
||||
@@ -87,6 +88,9 @@ const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
|
||||
|
||||
<Pagination page={page} showNext={showNext} />
|
||||
</div>
|
||||
<div className='w-full border-t '>
|
||||
<Footer/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user