mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
NEXT主题,分类标签调整
This commit is contained in:
@@ -9,8 +9,6 @@ import Catalog from './Catalog'
|
||||
|
||||
function AsideLeft (props) {
|
||||
const { tags, currentTag, categories, currentCategory, post } = props
|
||||
console.log(post)
|
||||
|
||||
return <div className='w-72 bg-white min-h-screen px-10 py-14 hidden lg:block'>
|
||||
<Logo />
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ const SideAreaRight = (props) => {
|
||||
{CONFIG_NEXT.RIGHT_CATEGORY_LIST && router.asPath !== '/category' && categories && (
|
||||
<Card>
|
||||
<div className='text-sm px-2 flex flex-nowrap justify-between font-light'>
|
||||
<div className='pb-1 text-gray-600 dark:text-gray-300'><i className='mr-2 fas fa-th-list' />{locale.COMMON.CATEGORY}</div>
|
||||
<div className='pb-2 text-gray-600 dark:text-gray-300'><i className='mr-2 fas fa-th-list' />{locale.COMMON.CATEGORY}</div>
|
||||
<Link href={'/category'} passHref>
|
||||
<a className='text-gray-400 hover:text-black dark:text-gray-400 dark:hover:text-white hover:underline cursor-pointer'>
|
||||
{locale.COMMON.MORE} <i className='fas fa-angle-right' />
|
||||
|
||||
@@ -8,14 +8,14 @@ const CONFIG_NEXT = {
|
||||
|
||||
POST_LIST_TYPE: 'page', // ['page','scroll] 文章列表样式:页码分页、单页滚动加载
|
||||
POST_LIST_COVER: false, // 文章列表显示封面图
|
||||
POST_LIST_PREVIEW: true, // 显示文章预览
|
||||
POST_LIST_PREVIEW: false, // 显示文章预览
|
||||
POST_LIST_SUMMARY: false, // 显示用户自定义摘要,有预览时优先只展示预览
|
||||
|
||||
// 右侧组件
|
||||
RIGHT_BAR: false, // 是否显示右侧栏
|
||||
RIGHT_BAR: true, // 是否显示右侧栏
|
||||
RIGHT_LATEST_POSTS: false, // 右侧栏最新文章
|
||||
RIGHT_CATEGORY_LIST: false, // 右侧边栏文章分类列表
|
||||
RIGHT_TAG_LIST: false, // 右侧边栏标签分类列表
|
||||
RIGHT_CATEGORY_LIST: true, // 右侧边栏文章分类列表
|
||||
RIGHT_TAG_LIST: true, // 右侧边栏标签分类列表
|
||||
RIGHT_AD: false, // 右侧广告
|
||||
|
||||
// 菜单
|
||||
|
||||
Reference in New Issue
Block a user