Skip to content

Commit

Permalink
html 구조 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
shinwonse committed Jun 6, 2024
1 parent 95b217c commit 38ad44f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/(about)/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const educations = [

function AboutPage() {
return (
<main>
<main className={cn('px-6')}>
<section className={cn('flex flex-col items-center py-12')}>
<h1 className={cn('mb-1 text-base sm:text-3xl')}>
안녕하세요!{' '}
Expand Down
6 changes: 3 additions & 3 deletions src/app/(post)/posts/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ async function Post({ params: { slug } }: Props) {
await Promise.resolve(getPost(slug));

return (
<div>
<div className={cn('mb-4 flex w-full flex-col border-b py-2')}>
<main className={cn('mb-4 flex w-full flex-col px-6 py-2')}>
<div className={cn('mb-2 border-b')}>
<div className={cn('mb-4 flex flex-row gap-1')}>
{category.map((item: Category) => (
<Chip key={item.id} color={item.color} label={item.name} />
Expand All @@ -62,7 +62,7 @@ async function Post({ params: { slug } }: Props) {
</p>
</div>
<div dangerouslySetInnerHTML={{ __html: content }} id="post" />
</div>
</main>
);
}

Expand Down

0 comments on commit 38ad44f

Please sign in to comment.