主题初始化

This commit is contained in:
tangly1024
2022-03-30 11:17:32 +08:00
parent 753a44226b
commit bbc0bbe7a8
2 changed files with 2 additions and 2 deletions

View File

@@ -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">

View File

@@ -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>