mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
主题初始化
This commit is contained in:
@@ -29,7 +29,7 @@ const LayoutBase = props => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className='dark:text-gray-300'>
|
||||
<CommonHead meta={meta} />
|
||||
{/* 导航菜单 */}
|
||||
<div className="w-full flex justify-center my-2">
|
||||
|
||||
@@ -18,7 +18,7 @@ export const LayoutIndex = props => {
|
||||
return (
|
||||
<LayoutBase {...props}>
|
||||
{posts.map(p => (
|
||||
<div key={p.id} className='border my-12'>
|
||||
<div key={p.id} className='border p-4 my-12'>
|
||||
<Link href={`/article/${p.slug}`}>
|
||||
<a className='underline cursor-pointer'>{p.title}</a>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user